Show
Ignore:
Timestamp:
11/19/08 13:43:15 (17 years ago)
Author:
yumileroy
Message:

[svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess? script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

Original author: gvcoman
Date: 2008-11-05 20:51:05-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Object.h

    r141 r174  
    414414        bool HasInArc( const float arcangle, const WorldObject* obj ) const; 
    415415 
    416         virtual void SendMessageToSet(WorldPacket *data, bool self); 
    417         virtual void SendMessageToSetInRange(WorldPacket *data, float dist, bool self); 
     416        virtual void SendMessageToSet(WorldPacket *data, bool self, bool to_possessor = true); 
     417        virtual void SendMessageToSetInRange(WorldPacket *data, float dist, bool self, bool to_possessor = true); 
    418418        void BuildHeartBeatMsg( WorldPacket *data ) const; 
    419419        void BuildTeleportAckMsg( WorldPacket *data, float x, float y, float z, float ang) const;