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.cpp

    r145 r174  
    14121412} 
    14131413 
    1414 void WorldObject::SendMessageToSet(WorldPacket *data, bool /*bToSelf*/) 
    1415 { 
    1416     MapManager::Instance().GetMap(m_mapId, this)->MessageBroadcast(this, data); 
    1417 } 
    1418  
    1419 void WorldObject::SendMessageToSetInRange(WorldPacket *data, float dist, bool /*bToSelf*/) 
    1420 { 
    1421     MapManager::Instance().GetMap(m_mapId, this)->MessageDistBroadcast(this, data, dist); 
     1414void WorldObject::SendMessageToSet(WorldPacket *data, bool /*fake*/, bool bToPossessor) 
     1415{ 
     1416    MapManager::Instance().GetMap(m_mapId, this)->MessageBroadcast(this, data, bToPossessor); 
     1417} 
     1418 
     1419void WorldObject::SendMessageToSetInRange(WorldPacket *data, float dist, bool /*bToSelf*/, bool bToPossessor) 
     1420{ 
     1421    MapManager::Instance().GetMap(m_mapId, this)->MessageDistBroadcast(this, data, dist, bToPossessor); 
    14221422} 
    14231423