mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
miscs
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user