diff --git a/server/gameserver/ai/base/co_find_path.cc b/server/gameserver/ai/base/co_find_path.cc new file mode 100644 index 00000000..bf37c4a5 --- /dev/null +++ b/server/gameserver/ai/base/co_find_path.cc @@ -0,0 +1,16 @@ +#include "precompile.h" + +#include "base_agent.h" +#include "creature.h" +#include "room.h" +#include "glmhelper.h" +#include "movement.h" + +#include "btcontext.h" +#include "btevent.h" +#include "btcoroutine.h" + +behaviac::EBTStatus BaseAgent::CoFindPath(float x, float y, float z) +{ + return behaviac::BT_FAILURE; +} diff --git a/server/gameserver/base_agent.h b/server/gameserver/base_agent.h index 3c0fc0fb..84a1cc73 100644 --- a/server/gameserver/base_agent.h +++ b/server/gameserver/base_agent.h @@ -51,6 +51,7 @@ public: behaviac::EBTStatus CoAttackTarget(int target_id); behaviac::EBTStatus DoIdle(int min_time, int max_time); behaviac::EBTStatus DoUseSkill(int skill_id); + behaviac::EBTStatus CoFindPath(float x, float y, float z); public: void SetOwner(Creature* owner) { owner_ = owner; };