diff options
| author | megamage <none@none> | 2009-04-11 22:41:15 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-11 22:41:15 -0500 |
| commit | dda2fdff33a6d12d6e8f2913fbb439d9b670890f (patch) | |
| tree | b8f581a7489ce71492ecc15a782ff08e9a5e75f6 /src/game/Unit.h | |
| parent | 1d640d02726683e73c455ddda3354cf77925a957 (diff) | |
*Implement spell Disengage and Death Grip.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index af902dba15a..ace61563c0f 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1145,6 +1145,10 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void NearTeleportTo(float x, float y, float z, float orientation, bool casting = false); + void KnockbackFrom(float x, float y, float speedXY, float speedZ); + void JumpTo(float speedXY, float speedZ, bool forward = true); + void JumpTo(WorldObject *obj, float speedZ); + void SendMonsterStop(); void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint32 Time, Player* player = NULL); void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint32 MoveFlags, uint32 time, float speedZ, Player *player = NULL); @@ -1153,8 +1157,6 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void SendMonsterMoveWithSpeed(float x, float y, float z, uint32 transitTime = 0, Player* player = NULL); void SendMonsterMoveWithSpeedToCurrentDestination(Player* player = NULL); - virtual void MoveOutOfRange(Player &) { }; - bool isAlive() const { return (m_deathState == ALIVE); }; bool isDead() const { return ( m_deathState == DEAD || m_deathState == CORPSE ); }; DeathState getDeathState() { return m_deathState; }; |
