Remove Bot::BotfocusType

This was just a maintenance burden keeping it in sync with focusType
(and it wasn't!)
This commit is contained in:
Michael Cook (mackal)
2020-01-16 15:47:25 -05:00
parent 28b0526857
commit 7ce88b30ad
3 changed files with 59 additions and 93 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ void Mob::MakePoweredPet(uint16 spell_id, const char* pettype, int16 petpower,
}
#ifdef BOTS
else if (this->IsBot())
act_power = CastToBot()->GetBotFocusEffect(Bot::BotfocusPetPower, spell_id);
act_power = CastToBot()->GetBotFocusEffect(focusPetPower, spell_id);
#endif
}
else if (petpower > 0)