Fixed bot say

This commit is contained in:
avirar 2024-12-22 10:54:19 +11:00 committed by GitHub
parent 10fd4fb014
commit eacce5adf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,7 +190,7 @@ void RazorscaleBossHelper::AssignRolesBasedOnHealth()
if (GET_PLAYERBOT_AI(newMainTank) && GET_PLAYERBOT_AI(newMainTank)->IsRealPlayer()) if (GET_PLAYERBOT_AI(newMainTank) && GET_PLAYERBOT_AI(newMainTank)->IsRealPlayer())
{ {
const std::string text = newMainTank->GetName() + ", please taunt Razorscale now!"; const std::string text = newMainTank->GetName() + ", please taunt Razorscale now!";
botAI->Say(text); bot->Say(text, LANG_UNIVERSAL);
} }
_lastRoleSwapTime = std::time(nullptr); _lastRoleSwapTime = std::time(nullptr);