mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[0165] Add Unit::KnockBackWithAngle function
Also wrap up the packet sending for a knockbacked player to WorldSession::SendKnockBack Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
0a7a4c0d7b
commit
43cc40e1ec
2 changed files with 2 additions and 1 deletions
|
|
@ -1891,6 +1891,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject
|
||||||
void SetSpeedRate(UnitMoveType mtype, float rate, bool forced = false);
|
void SetSpeedRate(UnitMoveType mtype, float rate, bool forced = false);
|
||||||
|
|
||||||
void KnockBackFrom(Unit* target, float horizontalSpeed, float verticalSpeed);
|
void KnockBackFrom(Unit* target, float horizontalSpeed, float verticalSpeed);
|
||||||
|
void KnockBackWithAngle(float angle, float horizontalSpeed, float verticalSpeed);
|
||||||
|
|
||||||
void _RemoveAllAuraMods();
|
void _RemoveAllAuraMods();
|
||||||
void _ApplyAllAuraMods();
|
void _ApplyAllAuraMods();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "0164"
|
#define REVISION_NR "0165"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue