SightDistance, FollowChatShortcutAction, concussive shot

This commit is contained in:
Yunfan Li
2023-12-18 22:32:48 +08:00
parent 3c2bc1c959
commit af15a691b6
3 changed files with 4 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ bool FollowChatShortcutAction::Execute(Event event)
return false;
botAI->Reset();
botAI->ChangeStrategy("+follow,-passive", BOT_STATE_NON_COMBAT);
botAI->ChangeStrategy("-follow,-passive", BOT_STATE_COMBAT);
botAI->ChangeStrategy("+follow,-passive,-grind", BOT_STATE_NON_COMBAT);
botAI->ChangeStrategy("-follow,-passive,-grind", BOT_STATE_COMBAT);
PositionMap& posMap = context->GetValue<PositionMap&>("position")->Get();
PositionInfo pos = posMap["return"];