mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
Compare commits
2 Commits
ForgeOfSou
...
playerbots
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b72544b254 | ||
|
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -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