move & knockback

This commit is contained in:
Yunfan Li
2023-09-02 10:43:13 +08:00
parent 62e49a966d
commit 5f5faf00cd
5 changed files with 103 additions and 75 deletions

View File

@@ -160,12 +160,12 @@ bool CheckMountStateAction::Mount()
{
uint32 secondmount = 40;
if (bot->isMoving())
{
bot->StopMoving();
bot->GetMotionMaster()->Clear();
bot->GetMotionMaster()->MoveIdle();
}
// if (bot->isMoving())
// {
// bot->StopMoving();
// bot->GetMotionMaster()->Clear();
// // bot->GetMotionMaster()->MoveIdle();
// }
Player* master = GetMaster();
botAI->RemoveShapeshift();