mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
spell modification
This commit is contained in:
@@ -212,6 +212,9 @@ void PlayerbotAI::UpdateAI(uint32 elapsed, bool minimal)
|
||||
// }
|
||||
return;
|
||||
}
|
||||
if (!GetMaster() || !GetMaster()->IsInWorld() || !GetMaster()->GetSession() || GetMaster()->GetSession()->isLogingOut()) {
|
||||
return;
|
||||
}
|
||||
// if (bot->HasUnitMovementFlag(MOVEMENTFLAG_FALLING)) {
|
||||
// bot->Say("Falling!", LANG_UNIVERSAL);
|
||||
// }
|
||||
@@ -959,7 +962,7 @@ void PlayerbotAI::DoNextAction(bool min)
|
||||
SetNextCheckDelay(sPlayerbotAIConfig->globalCoolDown);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (bot->HasUnitState(UNIT_STATE_IN_FLIGHT))
|
||||
{
|
||||
SetNextCheckDelay(sPlayerbotAIConfig->passiveDelay);
|
||||
|
||||
Reference in New Issue
Block a user