mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-28 16:06:25 +00:00
Fixed bot say
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user