Fix spells 50811 & 61547 (Krystallus shatter), by microbius51
--HG-- branch : trunk
This commit is contained in:
@@ -903,6 +903,10 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
|
||||
if (GetStackAmount() >= 5 && !target->HasAura(33652))
|
||||
target->CastSpell(target, 33652, true);
|
||||
break;
|
||||
case 50836: //Petrifying Grip, becomes stoned
|
||||
if (GetStackAmount() >= 5 && !target->HasAura(50812))
|
||||
target->CastSpell(target, 50812, true);
|
||||
break;
|
||||
case 60970: // Heroic Fury (remove Intercept cooldown)
|
||||
if (target->GetTypeId() == TYPEID_PLAYER)
|
||||
target->ToPlayer()->RemoveSpellCooldown(20252, true);
|
||||
|
||||
@@ -391,8 +391,9 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
||||
return;
|
||||
break;
|
||||
}
|
||||
// gruul's shatter
|
||||
case 33671:
|
||||
case 33671: // gruul's shatter
|
||||
case 50811: //krystallus shatter ( Normal )
|
||||
case 61547: //krystallus shatter ( Heroic )
|
||||
{
|
||||
// don't damage self and only players
|
||||
if (unitTarget->GetGUID() == m_caster->GetGUID() || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
|
||||
Reference in New Issue
Block a user