From 351ada12a52463e7c8f438cde42d870798b35613 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Sun, 10 Nov 2024 23:13:04 -0600 Subject: [PATCH] correct GetBestBotMagicianPetSpell --- zone/bot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot.h b/zone/bot.h index e0d857880..f29d86235 100644 --- a/zone/bot.h +++ b/zone/bot.h @@ -595,7 +595,7 @@ public: static Mob* GetFirstIncomingMobToMez(Bot* botCaster, int16 spellid, uint16 spellType, bool AE = false); bool IsValidMezTarget(Mob* owner, Mob* npc, uint16 spellid); static BotSpell GetBestBotSpellForMez(Bot* botCaster, uint16 spellType = BotSpellTypes::Mez); - static BotSpell GetBestBotMagicianPetSpell(Bot* botCaster, uint16 spellType = BotSpellTypes::Mez); + static BotSpell GetBestBotMagicianPetSpell(Bot* botCaster, uint16 spellType = BotSpellTypes::Pet); static std::string GetBotMagicianPetType(Bot* botCaster); static BotSpell GetBestBotSpellForNukeByTargetType(Bot* botCaster, SpellTargetType targetType, uint16 spellType, bool AE = false, Mob* tar = nullptr); static BotSpell GetBestBotSpellForStunByTargetType(Bot* botCaster, SpellTargetType targetType, uint16 spellType, bool AE = false, Mob* tar = nullptr);