mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fixed bot say
This commit is contained in:
parent
10fd4fb014
commit
eacce5adf3
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user