mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Do not allow to reflect AoE spells.
--HG-- branch : trunk
This commit is contained in:
@@ -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