Skip to content

Commit

Permalink
[9868] Impliment glyph 42905.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
Insider42 authored and VladimirMangos committed May 11, 2010
1 parent 7a07580 commit cdc849e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/game/SpellAuras.cpp
Expand Up @@ -6385,6 +6385,24 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
spellId3 = 24397;
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
else if (GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
{
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9867"
#define REVISION_NR "9868"
#endif // __REVISION_NR_H__

0 comments on commit cdc849e

Please sign in to comment.