From 44bdb135f4ed5bb834795cfb928ccbb0504cf834 Mon Sep 17 00:00:00 2001 From: gvcoman Date: Wed, 5 Nov 2008 20:51:05 -0600 Subject: [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 --HG-- branch : trunk --- src/game/CreatureAIRegistry.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/CreatureAIRegistry.cpp') diff --git a/src/game/CreatureAIRegistry.cpp b/src/game/CreatureAIRegistry.cpp index 6a0c5637893..7219f71cd81 100644 --- a/src/game/CreatureAIRegistry.cpp +++ b/src/game/CreatureAIRegistry.cpp @@ -24,6 +24,7 @@ #include "AggressorAI.h" #include "GuardAI.h" #include "PetAI.h" +#include "PossessedAI.h" #include "TotemAI.h" #include "OutdoorPvPObjectiveAI.h" #include "RandomMovementGenerator.h" @@ -44,6 +45,7 @@ namespace AIRegistry (new CreatureAIFactory("PetAI"))->RegisterSelf(); (new CreatureAIFactory("TotemAI"))->RegisterSelf(); (new CreatureAIFactory("OutdoorPvPObjectiveAI"))->RegisterSelf(); + (new CreatureAIFactory("PossessedAI"))->RegisterSelf(); (new MovementGeneratorFactory >(RANDOM_MOTION_TYPE))->RegisterSelf(); (new MovementGeneratorFactory >(WAYPOINT_MOTION_TYPE))->RegisterSelf(); -- cgit v1.2.3