[8618] Implement glyph 42752

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix typo in mangos.sql.
This commit is contained in:
GalaxyMan 2009-10-10 17:24:49 +04:00 committed by VladimirMangos
parent ddb67f69ca
commit 545218fda3
6 changed files with 23 additions and 4 deletions

View file

@ -5160,6 +5160,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
((Player*)this)->RemoveSpellCategoryCooldown(35, true);
return true;
}
// Glyph of Polymorph
case 56375:
{
if (!pVictim || !pVictim->isAlive())
return false;
pVictim->RemoveSpellsCausingAura(SPELL_AURA_PERIODIC_DAMAGE);
pVictim->RemoveSpellsCausingAura(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
return true;
}
}
break;
}