This commit is contained in:
Yunfan Li
2023-08-28 21:22:12 +08:00
parent dba908be9e
commit 13e6b7812d
2 changed files with 3 additions and 3 deletions

View File

@@ -1879,7 +1879,7 @@ bool PlayerbotAI::HasAura(std::string const name, Unit* unit, bool maxStack, boo
return false; return false;
} }
bool PlayerbotAI::HasAura(uint32 spellId, Unit const* unit) bool PlayerbotAI::HasAura(uint32 spellId, Unit const* unit)
{ {
if (!spellId || !unit) if (!spellId || !unit)
return false; return false;

View File

@@ -42,8 +42,8 @@ void PlayerbotAIBase::IncreaseNextCheckDelay(uint32 delay)
{ {
nextAICheckDelay += delay; nextAICheckDelay += delay;
if (nextAICheckDelay > sPlayerbotAIConfig->globalCoolDown) // if (nextAICheckDelay > sPlayerbotAIConfig->globalCoolDown)
LOG_DEBUG("playerbots", "increase next check delay: {}", nextAICheckDelay); // LOG_DEBUG("playerbots", "increase next check delay: {}", nextAICheckDelay);
} }
bool PlayerbotAIBase::CanUpdateAI() bool PlayerbotAIBase::CanUpdateAI()