diff options
author | QAston <none@none> | 2009-03-22 22:21:25 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-22 22:21:25 +0100 |
commit | 36ccfd416820ca87ac6bf0ce7c59b52eace0884e (patch) | |
tree | 902fd9af2188b1f92e1519d825b95f5058616d97 /src/game/Unit.cpp | |
parent | 25c13e0d62ad9987eb9bf5a3d863791e6f148d33 (diff) |
*Fix kill command-by pasdVn.
*Fix tidal force.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index ba88aa1cde3..720bcc55a0d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5388,6 +5388,18 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu target = this; break; } + // Kill command + case 58914: + { + // Remove aura stack from pet + RemoveSingleSpellAurasFromStack(58914); + Unit* owner = GetOwner(); + if(!owner) + return true; + // reduce the owner's aura stack + owner->RemoveSingleSpellAurasFromStack(34027); + return true; + } // Vampiric Touch (generic, used by some boss) case 52723: case 60501: @@ -6345,8 +6357,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu triggered_spell_id = 16086; break; } + // Tidal Force + case 55198: + { + // Remove aura stack from caster + RemoveSingleSpellAurasFromStack(55166); + // drop charges + return false; + } // Totemic Power (The Earthshatterer set) - case 28823: + case 28823: { if( !pVictim ) return false; |