diff options
| author | click <none@none> | 2010-04-11 15:30:39 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-04-11 15:30:39 +0200 |
| commit | 279ea9c98c3c19c10ac55c822bf7e971e4365374 (patch) | |
| tree | cff1db25d89109e5b5a7ae03a9b98e4c5c5fc617 /src/game/SpellEffects.cpp | |
| parent | d24571f4f79628387fecaa283e63cfa7ed661347 (diff) | |
* Fix: Deathknights 'Death Grip'
Fixes issue #148
Fixes issue #1223
Patch by tbaart (partial commit - Dancing Rune Weapon still needs testing)
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index d3c471975d1..4543128e54f 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2073,10 +2073,12 @@ void Spell::EffectDummy(uint32 i) // Death Grip if (m_spellInfo->Id == 49560) { + Position pos; + GetSummonPosition(i, pos); if (Unit *unit = unitTarget->GetVehicleBase()) // what is this for? - unit->CastSpell(m_caster, damage, true); + unit->CastSpell(pos.GetPositionX(),pos.GetPositionY(),pos.GetPositionZ(),damage,true); else - unitTarget->CastSpell(m_caster, damage, true); + unitTarget->CastSpell(pos.GetPositionX(),pos.GetPositionY(),pos.GetPositionZ(),damage,true); return; } else if (m_spellInfo->Id == 46584) // Raise dead |
