Move functions out of mob.h and cleanup

This commit is contained in:
nytmyr
2025-01-30 22:25:54 -06:00
parent 9b72672945
commit e039ce2e37
32 changed files with 1312 additions and 1260 deletions
+2 -2
View File
@@ -3013,7 +3013,7 @@ void Bot::MapSpellTypeLevels() {
auto end = std::max({ BotSpellTypes::END, BotSpellTypes::COMMANDED_END, BotSpellTypes::DISCIPLINE_END });
for (int i = start; i <= end; ++i) {
if (!Bot::IsValidSpellType(i)) {
if (!Bot::IsValidBotSpellType(i)) {
continue;
}
@@ -3036,7 +3036,7 @@ void Bot::MapSpellTypeLevels() {
if (
!EQ::ValueWithin(bot_class, Class::Warrior, Class::Berserker) ||
!Bot::IsValidSpellType(spell_type)
!Bot::IsValidBotSpellType(spell_type)
) {
continue;
}