mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Spell cast time calculation
This commit is contained in:
@@ -26,9 +26,9 @@ bool DrinkAction::Execute(Event event)
|
||||
|
||||
if (bot->isMoving())
|
||||
{
|
||||
// bot->StopMoving();
|
||||
bot->StopMoving();
|
||||
// botAI->SetNextCheckDelay(sPlayerbotAIConfig->globalCoolDown);
|
||||
return false;
|
||||
// return false;
|
||||
}
|
||||
bot->SetStandState(UNIT_STAND_STATE_SIT);
|
||||
botAI->InterruptSpell();
|
||||
@@ -78,9 +78,9 @@ bool EatAction::Execute(Event event)
|
||||
|
||||
if (bot->isMoving())
|
||||
{
|
||||
// bot->StopMoving();
|
||||
bot->StopMoving();
|
||||
// botAI->SetNextCheckDelay(sPlayerbotAIConfig->globalCoolDown);
|
||||
return false;
|
||||
// return false;
|
||||
}
|
||||
|
||||
bot->SetStandState(UNIT_STAND_STATE_SIT);
|
||||
|
||||
Reference in New Issue
Block a user