mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9075] Fixed direction of move for SPELL_EFFECT_PLAYER_PULL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
202ffa82ca
commit
41df9cd9ab
2 changed files with 2 additions and 2 deletions
|
|
@ -6439,7 +6439,7 @@ void Spell::EffectPlayerPull(uint32 i)
|
|||
if(!unitTarget)
|
||||
return;
|
||||
|
||||
unitTarget->KnockBackFrom(m_caster,float(damage ? damage : unitTarget->GetDistance2d(m_caster)),float(m_spellInfo->EffectMiscValue[i])/10);
|
||||
unitTarget->KnockBackFrom(m_caster, -float(damage ? damage : unitTarget->GetDistance2d(m_caster)),float(m_spellInfo->EffectMiscValue[i])/10);
|
||||
}
|
||||
|
||||
void Spell::EffectDispelMechanic(uint32 i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue