[Core] Fix spell 19714 is buff instead of debuff. May fix also other spells that use same aura. (c2628)

This commit is contained in:
cyberium 2015-03-26 11:15:03 +00:00 committed by Antz
parent c6d699e8ef
commit 606bcfc495

View File

@ -738,6 +738,7 @@ bool IsPositiveEffect(SpellEntry const* spellproto, SpellEffectIndex effIndex)
{ return false; }
break;
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)
{ return true; }
// let check by target modes (for Amplify Magic cases/etc)