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/ObjectAccessor.h

    r120 r174  
    209209            UpdateDataMapType &i_updateDatas; 
    210210            WorldObject &i_object; 
     211            std::set<uint64> plr_list; 
    211212            WorldObjectChangeAccumulator(WorldObject &obj, UpdateDataMapType &d) : i_updateDatas(d), i_object(obj) {} 
    212213            void Visit(PlayerMapType &); 
     214            void Visit(CreatureMapType &); 
     215            void BuildPacket(Player* plr); 
    213216            template<class SKIP> void Visit(GridRefManager<SKIP> &) {} 
    214217        };