Sfoglia il codice sorgente

Soul Breaker's magic portion should not be affected by element.
Fixes #734. Thanks to @MrAntares.

Jittapan Pluemsumran 9 anni fa
parent
commit
d4824c36c5
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      src/common/mmo.h
  2. 1 1
      src/map/battle.c

+ 1 - 1
src/common/mmo.h

@@ -21,7 +21,7 @@
 // see conf/battle/client.conf for other version
 
 #ifndef PACKETVER
-	#define PACKETVER 20130807
+	#define PACKETVER 20160316
 	//#define PACKETVER 20120410
 #endif
 

+ 1 - 1
src/map/battle.c

@@ -6203,7 +6203,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
 			}
 		}
 
-		if (!(nk&NK_NO_ELEFIX))
+		if (!(nk&NK_NO_ELEFIX) && skill_id != ASC_BREAKER) // Soul Breaker's magic portion is non-elemental. [Secret]
 			ad.damage = battle_attr_fix(src, target, ad.damage, s_ele, tstatus->def_ele, tstatus->ele_lv);
 
 		//Apply the physical part of the skill's damage. [Skotlex]