Mobs fleeing and getting assistance feature implementaion. Author: Neo2003
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user