*Blink glyph fix. By Cleave
--HG-- branch : trunk
This commit is contained in:
@@ -6211,6 +6211,9 @@ void Spell::EffectLeapForward(uint32 i)
|
|||||||
|
|
||||||
uint32 mapid = m_caster->GetMapId();
|
uint32 mapid = m_caster->GetMapId();
|
||||||
float dist = m_caster->GetSpellRadiusForTarget(unitTarget, sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i]));
|
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 x,y,z;
|
||||||
float destx,desty,destz,ground,floor;
|
float destx,desty,destz,ground,floor;
|
||||||
float orientation = unitTarget->GetOrientation(), step = dist/10.0f;
|
float orientation = unitTarget->GetOrientation(), step = dist/10.0f;
|
||||||
|
|||||||
Reference in New Issue
Block a user