Compare commits

..

No commits in common. "a41c1912acb864810d23673949e5149987ade93d" and "21d8f32d240766f04f7a7e70ab9bb8e15b29ed82" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -659,7 +659,7 @@ AiPlayerbot.RandomGearScoreLimit = 0
# Default: 1 (enabled) # Default: 1 (enabled)
AiPlayerbot.IncrementalGearInit = 1 AiPlayerbot.IncrementalGearInit = 1
# Set minimum level of bots that will enchant their equipment (if greater than RandomBotMaxlevel, bots will not enchant equipment) # Set minimum level of bots that will enchant their equipment (Maxlevel + 1 to disable)
# Default: 60 # Default: 60
AiPlayerbot.MinEnchantingBotLevel = 60 AiPlayerbot.MinEnchantingBotLevel = 60

View File

@ -126,9 +126,6 @@ void PlayerbotFactory::Init()
if (id == 15463 || id == 15490) // Legendary Arcane Amalgamation if (id == 15463 || id == 15490) // Legendary Arcane Amalgamation
continue; continue;
if (id == 29467 || id == 29475 || id == 29480 || id == 29483) // Naxx40 Sapphiron Shoulder Enchants
continue;
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(id); SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(id);
if (!spellInfo) if (!spellInfo)
continue; continue;
@ -4365,10 +4362,10 @@ void PlayerbotFactory::ApplyEnchantAndGemsNew(bool destoryOld)
} }
// disable next expansion enchantments // disable next expansion enchantments
if (sPlayerbotAIConfig->limitEnchantExpansion && bot->GetLevel() <= 60 && enchantSpell >= 27899) if (sPlayerbotAIConfig->limitEnchantExpansion && bot->GetLevel() <= 60 && enchantSpell >= 25072)
continue; continue;
if (sPlayerbotAIConfig->limitEnchantExpansion && bot->GetLevel() <= 70 && enchantSpell >= 44483) if (sPlayerbotAIConfig->limitEnchantExpansion && bot->GetLevel() <= 70 && enchantSpell > 48557)
continue; continue;
for (uint8 j = 0; j < MAX_SPELL_EFFECTS; ++j) for (uint8 j = 0; j < MAX_SPELL_EFFECTS; ++j)