[9868] Impliment glyph 42905.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Insider42 2010-05-11 12:50:53 +04:00 committed by VladimirMangos
parent fd131fb408
commit c5008073f3
2 changed files with 19 additions and 1 deletions

View file

@ -6385,6 +6385,24 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
spellId3 = 24397; spellId3 = 24397;
spellId4 = 26592; spellId4 = 26592;
} }
// Freezing Trap Effect
else if (m_spellProto->SpellFamilyFlags & UI64LIT(0x0000000000000008))
{
if(!apply)
{
Unit *caster = GetCaster();
// Glyph of Freezing Trap
if (caster && caster->HasAura(56845))
{
cast_at_remove = true;
spellId1 = 61394;
}
else
return;
}
else
return;
}
// Aspect of the Dragonhawk dodge // Aspect of the Dragonhawk dodge
else if (GetSpellProto()->SpellFamilyFlags2 & 0x00001000) else if (GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
{ {

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9867" #define REVISION_NR "9868"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__