mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-20 23:01:36 -04:00
Do not allow to reflect AoE spells.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user