diff options
author | n0n4m3 <none@none> | 2009-12-24 13:01:39 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-24 13:01:39 +0100 |
commit | 7b19bea10faa1722fb856eff05adb1363110a28d (patch) | |
tree | 759773efe8fba1ba24ed2577f03650b663c08204 /src | |
parent | 3ab368caa7680b022972e01fdc8968b284cb7788 (diff) |
Fixed spell Spirit Walk. by Ouden
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 | ||||
-rw-r--r-- | src/game/Unit.cpp | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 458bf968312..6b8b31d83b5 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5171,6 +5171,13 @@ void Spell::EffectScriptEffect(uint32 effIndex) unitTarget->RemoveMovementImpairingAuras(); break; } + // Spirit Walk + case 58876: + { + // Removes snares and roots. + unitTarget->RemoveMovementImpairingAuras(); + break; + } // Plant Warmaul Ogre Banner case 32307: { diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 230478dd9ec..f8d71b8db66 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5153,6 +5153,17 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger triggered_spell_id = 34650; break; } + // Spirit Walk + case 58875: + { + // Cast on owner + target = GetOwner(); + if(!target) + return false; + + triggered_spell_id = 58876; + break; + } // Mark of Malice case 33493: { |