From 8c4f8822d7f60b3caa63835d173819f28562ca3b Mon Sep 17 00:00:00 2001 From: malufett Date: Thu, 12 Mar 2015 23:02:27 +0800 Subject: Fixed Bug#8546 -http://hercules.ws/board/tracker/issue-8546-reflect-kaite-magic-rod-bug-fix-please/?gopid=24609#entry24609 Signed-off-by: malufett --- src/map/skill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/skill.c b/src/map/skill.c index 88ca45ae5..19b3cb691 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2213,7 +2213,8 @@ int skill_attack(int attack_type, struct block_list* src, struct block_list *dsr } } - if( dmg.flag&BF_MAGIC && ( (battle_config.eq_single_target_reflectable && (flag&0xFFF) == 1) ) ) { + if( dmg.flag&BF_MAGIC + && (skill_id != NPC_EARTHQUAKE || (battle_config.eq_single_target_reflectable && (flag & 0xFFF) == 1)) ) { /* Need more info cause NPC_EARTHQUAKE is ground type */ // Earthquake on multiple targets is not counted as a target skill. [Inkfish] if( (dmg.damage || dmg.damage2) && (type = skill->magic_reflect(src, bl, src==dsrc)) ) { //Magic reflection, switch caster/target -- cgit v1.2.3-60-g2f50