Core/Spells: Generic fix for auras with effect SPELL_EFFECT_APPLY_AREA_AURA_ENEMY

Author Vincent-Michael
This commit is contained in:
Faq
2012-08-05 16:13:49 +03:00
parent 0b98656b28
commit 2e3e62875b

View File

@@ -2210,7 +2210,6 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
case 54836: // Wrath of the Plaguebringer
case 61987: // Avenging Wrath Marker
case 61988: // Divine Shield exclude aura
case 62532: // Conservator's Grip
return false;
case 30877: // Tag Murloc
case 61716: // Rabbit Costume
@@ -2300,6 +2299,8 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
case SPELL_EFFECT_HEAL_PCT:
case SPELL_EFFECT_ENERGIZE_PCT:
return true;
case SPELL_EFFECT_APPLY_AREA_AURA_ENEMY:
return false;
// non-positive aura use
case SPELL_EFFECT_APPLY_AURA: