aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-12 14:38:22 +0200
committerQAston <none@none>2009-06-12 14:38:22 +0200
commite5092285eba32b900dfeeb8e3a970165fd56cf7c (patch)
tree1d1bbfa0dc2378fec617988570554ccefb83ed8c /src/game/Unit.cpp
parentbc7a381b6236f98369f23cf012565b3bb590618d (diff)
*Fix Elemental Oath bonus for Elemental Focus clearcasting
*Fix Glyph of Death Grip. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp10
1 files changed, 10 insertions, 0 deletions
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;
}
}