diff options
| author | megamage <none@none> | 2009-09-01 15:07:03 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-09-01 15:07:03 -0500 |
| commit | 2a9aff9080cfd8e7416c292946f6c659c6b80639 (patch) | |
| tree | 1c32cf07ccbf54743bbf388b9272105d713ffb51 /src/game/SpellEffects.cpp | |
| parent | d879267f9bb2cbcb509a462bfdd9881c0fb8eea9 (diff) | |
*Blink glyph fix. By Cleave
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f3a79fdb96f..4adb4426480 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6211,6 +6211,9 @@ void Spell::EffectLeapForward(uint32 i) uint32 mapid = m_caster->GetMapId(); float dist = m_caster->GetSpellRadiusForTarget(unitTarget, sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i])); + if(Player* modOwner = m_originalCaster->GetSpellModOwner()) + modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_RADIUS, dist); + float x,y,z; float destx,desty,destz,ground,floor; float orientation = unitTarget->GetOrientation(), step = dist/10.0f; |
