From a7e3a08974c7d062641295fec05a5daf8b56fcc6 Mon Sep 17 00:00:00 2001 From: IamTirion <50409752+IamTirion@users.noreply.github.com> Date: Mon, 6 Apr 2026 00:16:18 +0800 Subject: [PATCH 1/2] Makes the casters stop using wand forever --- src/game/PlayerBots/PartyBotAI.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/PlayerBots/PartyBotAI.cpp b/src/game/PlayerBots/PartyBotAI.cpp index 8d849aec29b..646a8efbd95 100644 --- a/src/game/PlayerBots/PartyBotAI.cpp +++ b/src/game/PlayerBots/PartyBotAI.cpp @@ -739,7 +739,12 @@ void PartyBotAI::UpdateAI(uint32 const diff) else UpdateInCombatAI_Hunter(); } - + else if (me->GetClass() == CLASS_MAGE || + me->GetClass() == CLASS_WARLOCK || + me->GetClass() == CLASS_PRIEST) + { + if (me->GetPowerPercent(POWER_MANA) >= 20.0f) + me->InterruptSpell(CURRENT_AUTOREPEAT_SPELL, true); return; } From 3be57ba5bd35d1f05a8654f42422923c2f4681ab Mon Sep 17 00:00:00 2001 From: IamTirion <50409752+IamTirion@users.noreply.github.com> Date: Sun, 26 Apr 2026 17:37:30 +0800 Subject: [PATCH 2/2] Add missing } --- src/game/PlayerBots/PartyBotAI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/PlayerBots/PartyBotAI.cpp b/src/game/PlayerBots/PartyBotAI.cpp index 646a8efbd95..131c138d4fc 100644 --- a/src/game/PlayerBots/PartyBotAI.cpp +++ b/src/game/PlayerBots/PartyBotAI.cpp @@ -745,6 +745,7 @@ void PartyBotAI::UpdateAI(uint32 const diff) { if (me->GetPowerPercent(POWER_MANA) >= 20.0f) me->InterruptSpell(CURRENT_AUTOREPEAT_SPELL, true); + } return; }