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
|
// determine reflection
|
||||||
m_canReflect = false;
|
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++)
|
for(int j=0;j<3;j++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user