Mobs fleeing and getting assistance feature implementaion. Author: Neo2003

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-21 10:48:00 -05:00
parent b7053ecc0d
commit 67c84b1f3d
20 changed files with 245 additions and 97 deletions
+12
View File
@@ -51,5 +51,17 @@ class TRINITY_DLL_SPEC PointMovementGenerator
DestinationHolder< Traveller<T> > i_destinationHolder;
bool arrived;
};
class MANGOS_DLL_SPEC AssistanceMovementGenerator
: public PointMovementGenerator<Creature>
{
public:
AssistanceMovementGenerator(float _x, float _y, float _z) :
PointMovementGenerator<Creature>(0, _x, _y, _z) {}
MovementGeneratorType GetMovementGeneratorType() { return ASSISTANCE_MOTION_TYPE; }
void Finalize(Unit &);
};
#endif