From e5092285eba32b900dfeeb8e3a970165fd56cf7c Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 12 Jun 2009 14:38:22 +0200 Subject: *Fix Elemental Oath bonus for Elemental Focus clearcasting *Fix Glyph of Death Grip. --HG-- branch : trunk --- src/game/Unit.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index aa08549d336..ca478a42c9e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7425,6 +7425,16 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig } } break; + case SPELLFAMILY_DEATHKNIGHT: + // Glyph of Death Grip + if (trigger_spell_id == 58628) + { + // remove cooldown of Death Grip + if (GetTypeId()==TYPEID_PLAYER) + ((Player*)this)->RemoveCategoryCooldown(82); + return true; + } + break; } } -- cgit v1.2.3