Sfoglia il codice sorgente

Corrected Hell Inferno Dark damage behavior
* Follow up to dc2c51c.
* Fixes #2623.
* Resolved the Dark damage not being flagged properly.
Thanks to @Sweet520 and @hartonox!

aleos89 7 anni fa
parent
commit
6fdb605932
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/map/battle.cpp

+ 1 - 1
src/map/battle.cpp

@@ -5672,7 +5672,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
 				s_ele = ELE_HOLY;
 			break;
 		case WL_HELLINFERNO:
-			if (ad.miscflag&ELE_DARK)
+			if (mflag&ELE_DARK)
 				s_ele = ELE_DARK;
 			break;
 		case SO_PSYCHIC_WAVE: