Core/Spells: remove SetEffectDamage helper since SetEffectValue serves the exact same purpose

This commit is contained in:
Ovahlord committed 2019-02-13 01:31:46 +01:00
1 parent bdb8b921dd
commit f2503cd7e1
3 files changed
+1 -12

No files matched your search

+1 -1
View File
@@ -963,7 +963,7 @@ class spell_warr_victory_rush : public SpellScript
if (Player* modOwner = caster->GetSpellModOwner())
modOwner->ApplySpellMod(m_scriptSpellId, SPELLMOD_EFFECT3, damage);
SetEffectDamage(damage);
SetEffectValue(damage);
}
caster->RemoveAurasDueToSpell(SPELL_WARRIOR_VICTORIOUS);