From 6fdb605932dfe96b06b6a2d0366487c96885433e Mon Sep 17 00:00:00 2001 From: aleos89 Date: Tue, 21 Nov 2017 09:36:52 -0500 Subject: [PATCH] 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! --- src/map/battle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/battle.cpp b/src/map/battle.cpp index 7c52b76b60..5e54e37de6 100644 --- a/src/map/battle.cpp +++ b/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: