Core/Spells: Generic fix for auras with effect SPELL_EFFECT_APPLY_AREA_AURA_ENEMY
Author Vincent-Michael
This commit is contained in:
@@ -2210,7 +2210,6 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
|
|||||||
case 54836: // Wrath of the Plaguebringer
|
case 54836: // Wrath of the Plaguebringer
|
||||||
case 61987: // Avenging Wrath Marker
|
case 61987: // Avenging Wrath Marker
|
||||||
case 61988: // Divine Shield exclude aura
|
case 61988: // Divine Shield exclude aura
|
||||||
case 62532: // Conservator's Grip
|
|
||||||
return false;
|
return false;
|
||||||
case 30877: // Tag Murloc
|
case 30877: // Tag Murloc
|
||||||
case 61716: // Rabbit Costume
|
case 61716: // Rabbit Costume
|
||||||
@@ -2300,6 +2299,8 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
|
|||||||
case SPELL_EFFECT_HEAL_PCT:
|
case SPELL_EFFECT_HEAL_PCT:
|
||||||
case SPELL_EFFECT_ENERGIZE_PCT:
|
case SPELL_EFFECT_ENERGIZE_PCT:
|
||||||
return true;
|
return true;
|
||||||
|
case SPELL_EFFECT_APPLY_AREA_AURA_ENEMY:
|
||||||
|
return false;
|
||||||
|
|
||||||
// non-positive aura use
|
// non-positive aura use
|
||||||
case SPELL_EFFECT_APPLY_AURA:
|
case SPELL_EFFECT_APPLY_AURA:
|
||||||
|
|||||||
Reference in New Issue
Block a user