[Strategy] Enable cat strategy, remove threat by default, reset strategy on talents change

This commit is contained in:
Yunfan Li
2024-07-09 17:33:09 +08:00
parent bd94343738
commit b1f5c1313c
5 changed files with 41 additions and 21 deletions

View File

@@ -44,9 +44,11 @@ bool ChangeTalentsAction::Execute(Event event)
} else if (param.find("spec ") != std::string::npos) {
param = param.substr(5);
out << SpecPick(param);
botAI->ResetStrategies();
} else if (param.find("apply ") != std::string::npos) {
param = param.substr(6);
out << SpecApply(param);
botAI->ResetStrategies();
} else {
out << "Unknown command.";
}