From 7a06136a741fb9f7eee1f19708a7995c855816dd Mon Sep 17 00:00:00 2001 From: krz Date: Mon, 1 Jun 2009 15:10:45 +0200 Subject: Do not allow to reflect AoE spells. --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 2cb78e093eb..b43a57f9334 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -379,7 +379,7 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi // determine reflection m_canReflect = false; - if(m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && (m_spellInfo->AttributesEx2 & 0x4)==0) + if(m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && !IsAreaOfEffectSpell(m_spellInfo) && (m_spellInfo->AttributesEx2 & 0x4)==0) { for(int j=0;j<3;j++) { -- cgit v1.2.3