mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Compare commits
2 Commits
ForgeOfSou
...
playerbots
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b72544b254 | ||
|
|
b46416fe1e |
@@ -424,7 +424,7 @@ AiPlayerbot.AutoGearCommand = 1
|
||||
# default: 3 (rare)
|
||||
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)
|
||||
AiPlayerbot.AutoGearScoreLimit = 0
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ bool MoveFromBronjahmTrigger::IsActive()
|
||||
{
|
||||
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 false;
|
||||
|
||||
Reference in New Issue
Block a user