Reduce delay time

This commit is contained in:
Yunfan Li
2024-01-06 17:53:36 +08:00
parent 600228e3fd
commit 5fbd55dc56
2 changed files with 5 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ bool CastCustomSpellAction::Execute(Event event)
if (target != bot && !bot->HasInArc(CAST_ANGLE_IN_FRONT, target, sPlayerbotAIConfig->sightDistance))
{
sServerFacade->SetFacingTo(bot, target);
botAI->SetNextCheckDelay(sPlayerbotAIConfig->globalCoolDown);
botAI->SetNextCheckDelay(sPlayerbotAIConfig->reactDelay);
msg << "cast " << text;
botAI->HandleCommand(CHAT_MSG_WHISPER, msg.str(), master);