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!
This commit is contained in:
aleos89 2017-11-21 09:36:52 -05:00
parent ead1ed9100
commit 6fdb605932

View File

@ -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: