Suggest dungeon implementation + log action unknown to help debug

This commit is contained in:
Atidot3
2024-07-27 10:13:33 +02:00
parent 00ab0dfa37
commit d21d1e9b68
6 changed files with 130 additions and 111 deletions

View File

@@ -172,6 +172,7 @@ bool Engine::DoNextAction(Unit* unit, uint32 depth, bool minimal)
if (!action)
{
LOG_ERROR("playerbots", "Action: {} - is UNKNOWN - c:{} l:{}", actionNode->getName().c_str(), botAI->GetBot()->getClass(), botAI->GetBot()->GetLevel());
LogAction("A:%s - UNKNOWN", actionNode->getName().c_str());
}
else if (action->isUseful())