[9075] Fixed direction of move for SPELL_EFFECT_PLAYER_PULL

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
FunkyBit 2009-12-27 22:41:36 +03:00 committed by VladimirMangos
parent 202ffa82ca
commit 41df9cd9ab
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9074"
#define REVISION_NR "9075"
#endif // __REVISION_NR_H__