[8392] Implement 47569 and ranks work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Den 2009-08-19 06:52:02 +04:00 committed by VladimirMangos
parent c5bed93909
commit 055aa46a8f
6 changed files with 34 additions and 2 deletions

View file

@ -5223,6 +5223,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
pVictim->CastSpell(pVictim,57669,true,castItem,triggeredByAura);
return true; // no hidden cooldown
}
// Divine Aegis
if (dummySpell->SpellIconID == 2820)
{
@ -5230,6 +5231,17 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
triggered_spell_id = 47753;
break;
}
// Improved Shadowform
else if (dummySpell->SpellIconID == 217)
{
if(!roll_chance_i(triggerAmount))
return false;
RemoveSpellsCausingAura(SPELL_AURA_MOD_ROOT);
RemoveSpellsCausingAura(SPELL_AURA_MOD_DECREASE_SPEED);
break;
}
switch(dummySpell->Id)
{
// Vampiric Embrace