aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-25 15:26:06 +0100
committern0n4m3 <none@none>2009-12-25 15:26:06 +0100
commit621634642d00092732f5b7e460f869f9a03f15db (patch)
treec8f4ee2efc405d619bc9f4d2998f317cb20ffd5c /src
parentcc366fdc57b02000a8b014e02f9d869394068364 (diff)
Implement expire effect for spell 28169. by yavi, PSZ
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index e7295fd7e74..faa8c3407dc 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2991,11 +2991,21 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
switch(GetId())
{
case 2584: // Waiting to Resurrect
+ {
// Waiting to resurrect spell cancel, we must remove player from resurrect queue
- if(m_target->GetTypeId() == TYPEID_PLAYER)
- if(BattleGround *bg = ((Player*)m_target)->GetBattleGround())
+ if (m_target->GetTypeId() == TYPEID_PLAYER)
+ if (BattleGround *bg = ((Player*)m_target)->GetBattleGround())
bg->RemovePlayerFromResurrectQueue(m_target->GetGUID());
return;
+ }
+ case 28169: // Mutating Injection
+ {
+ // Mutagen Explosion
+ m_target->CastSpell(m_target, 28206, true, NULL, this);
+ // Poison Cloud
+ m_target->CastSpell(m_target, 28240, true, NULL, this);
+ return;
+ }
case 36730: // Flame Strike
{
m_target->CastSpell(m_target, 36731, true, NULL, this);