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

    r145 r174  
    2525#include "GuardAI.h" 
    2626#include "PetAI.h" 
     27#include "PossessedAI.h" 
    2728#include "TotemAI.h" 
    2829#include "OutdoorPvPObjectiveAI.h" 
     
    4546        (new CreatureAIFactory<TotemAI>("TotemAI"))->RegisterSelf(); 
    4647        (new CreatureAIFactory<OutdoorPvPObjectiveAI>("OutdoorPvPObjectiveAI"))->RegisterSelf(); 
     48        (new CreatureAIFactory<PossessedAI>("PossessedAI"))->RegisterSelf(); 
    4749 
    4850        (new MovementGeneratorFactory<RandomMovementGenerator<Creature> >(RANDOM_MOTION_TYPE))->RegisterSelf();