Core/Spells: Fix Victory Rush

Closes #2020
This commit is contained in:
tobmaps
2011-06-18 01:34:17 +07:00
parent 73c84f5fcf
commit 3a8702b8a4
4 changed files with 11 additions and 4 deletions
-3
View File
@@ -469,10 +469,7 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
damage += int32(m_caster->ApplyEffectModifiers(m_spellInfo, effIndex, float(m_caster->GetShieldBlockValue())));
// Victory Rush
else if (m_spellInfo->SpellFamilyFlags[1] & 0x100)
{
ApplyPctF(damage, m_caster->GetTotalAttackPowerValue(BASE_ATTACK));
m_caster->ModifyAuraState(AURA_STATE_WARRIOR_VICTORY_RUSH, false);
}
// Shockwave
else if (m_spellInfo->Id == 46968)
{