*Take charges for Finger of Frost and Sudden Death correctly.
*Clearcasting for Arcane Potency - From KAPATEJIb's cumulative patch package --HG-- branch : trunk
This commit is contained in:
1 parent
102e37daca
commit
e0e39f26b4
4 files changed
+35
-11
No files matched your search
@@ -1361,7 +1361,16 @@ void Spell::EffectDummy(uint32 i)
|
||||
spell_id = 20647;
|
||||
bp = damage+int32(rage * m_spellInfo->DmgMultiplier[i] +
|
||||
m_caster->GetTotalAttackPowerValue(BASE_ATTACK)*0.2f);
|
||||
m_caster->SetPower(POWER_RAGE,0);
|
||||
// Sudden death cost modifier
|
||||
if (Aura * aur = m_caster->GetAura(52437))
|
||||
{
|
||||
m_caster->ModifyPower(POWER_RAGE,- m_powerCost);
|
||||
if (m_caster->GetPower(POWER_RAGE)<100)
|
||||
m_caster->SetPower(POWER_RAGE,100);
|
||||
m_caster->RemoveAura(aur);
|
||||
}
|
||||
else
|
||||
m_caster->SetPower(POWER_RAGE,0);
|
||||
break;
|
||||
}
|
||||
// Slam
|
||||
|
||||
Reference in new issue
Block a user