[Core] Fix spell 19714 is buff instead of debuff. May fix also other spells that use same aura. (c2628)
This commit is contained in:
parent
c6d699e8ef
commit
606bcfc495
@ -738,6 +738,7 @@ bool IsPositiveEffect(SpellEntry const* spellproto, SpellEffectIndex effIndex)
|
|||||||
{ return false; }
|
{ return false; }
|
||||||
break;
|
break;
|
||||||
case SPELL_AURA_MOD_DAMAGE_TAKEN: // dependent from bas point sign (positive -> negative)
|
case SPELL_AURA_MOD_DAMAGE_TAKEN: // dependent from bas point sign (positive -> negative)
|
||||||
|
case SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN:
|
||||||
if (spellproto->CalculateSimpleValue(effIndex) < 0)
|
if (spellproto->CalculateSimpleValue(effIndex) < 0)
|
||||||
{ return true; }
|
{ return true; }
|
||||||
// let check by target modes (for Amplify Magic cases/etc)
|
// let check by target modes (for Amplify Magic cases/etc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user