mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 09:29:09 +00:00
Compare commits
3 Commits
ForgeOfSou
...
hermensbas
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad6c9cb1bc | ||
|
|
6b415cb80f | ||
|
|
b46416fe1e |
@@ -424,7 +424,7 @@ AiPlayerbot.AutoGearCommand = 1
|
|||||||
# default: 3 (rare)
|
# default: 3 (rare)
|
||||||
AiPlayerbot.AutoGearQualityLimit = 3
|
AiPlayerbot.AutoGearQualityLimit = 3
|
||||||
|
|
||||||
# Equips gear score limitation for auto gear command (0 = no limit)
|
# Equips item level (not gearScore) limitation for auto gear command (0 = no limit)
|
||||||
# default: 0 (no limit)
|
# default: 0 (no limit)
|
||||||
AiPlayerbot.AutoGearScoreLimit = 0
|
AiPlayerbot.AutoGearScoreLimit = 0
|
||||||
|
|
||||||
|
|||||||
@@ -323,7 +323,7 @@ void RandomPlayerbotMgr::UpdateAIInternal(uint32 elapsed, bool /*minimal*/)
|
|||||||
// which prevents unneeded expensive GameTime calls.
|
// which prevents unneeded expensive GameTime calls.
|
||||||
if (_isBotInitializing)
|
if (_isBotInitializing)
|
||||||
{
|
{
|
||||||
_isBotInitializing = GameTime::GetUptime().count() < sPlayerbotAIConfig->maxRandomBots * 0.13;
|
_isBotInitializing = GameTime::GetUptime().count() < sPlayerbotAIConfig->maxRandomBots * 0.15;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 updateIntervalTurboBoost = _isBotInitializing ? 1 : sPlayerbotAIConfig->randomBotUpdateInterval;
|
uint32 updateIntervalTurboBoost = _isBotInitializing ? 1 : sPlayerbotAIConfig->randomBotUpdateInterval;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ bool MoveFromBronjahmTrigger::IsActive()
|
|||||||
{
|
{
|
||||||
Unit* boss = AI_VALUE2(Unit*, "find target", "bronjahm");
|
Unit* boss = AI_VALUE2(Unit*, "find target", "bronjahm");
|
||||||
|
|
||||||
if (boss->FindCurrentSpellBySpellId(SPELL_CORRUPT_SOUL) && bot->HasAura(SPELL_CORRUPT_SOUL))
|
if (boss && boss->FindCurrentSpellBySpellId(SPELL_CORRUPT_SOUL) && bot->HasAura(SPELL_CORRUPT_SOUL))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user