Spell cast time calculation

This commit is contained in:
Yunfan Li
2024-02-07 21:37:19 +08:00
parent 1a11ec0717
commit 5e2497bf7e
4 changed files with 15 additions and 20 deletions

View File

@@ -293,7 +293,7 @@ bool UseItemAction::UseItem(Item* item, ObjectGuid goGuid, Item* itemTarget, Uni
if (!spellId)
return false;
botAI->SetNextCheckDelay(sPlayerbotAIConfig->globalCoolDown);
// botAI->SetNextCheckDelay(sPlayerbotAIConfig->globalCoolDown);
botAI->TellMasterNoFacing(out.str());
bot->GetSession()->HandleUseItemOpcode(packet);
return true;