[11024] Fixed work spell 50720

* Threat redirection correctly applied
* Implemented cooldown reset part.

Note: Damage redunction still not fixed.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
michalpolko 2011-01-17 14:26:44 +03:00 committed by VladimirMangos
parent d35be7f4c1
commit 7d61f8470e
3 changed files with 27 additions and 9 deletions

View file

@ -6260,6 +6260,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
return;
}
case 50725: // Vigilance - remove cooldown on Taunt
{
Unit* caster = GetAffectiveCaster();
if (!caster || caster->GetTypeId() != TYPEID_PLAYER)
return;
((Player*)caster)->RemoveSpellCategoryCooldown(82, true);
return;
}
case 51770: // Emblazon Runeblade
{
Unit* caster = GetAffectiveCaster();