From 99d2cfc7bdd91d10743156ff343244b63b8cc2e6 Mon Sep 17 00:00:00 2001 From: killerwife Date: Tue, 17 Dec 2024 20:11:30 +0100 Subject: [PATCH] SHH: Fix permacharging Closes https://github.com/cmangos/issues/issues/3809 --- .../shattered_halls/boss_warchief_kargath_bladefist.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/AI/ScriptDevAI/scripts/outland/hellfire_citadel/shattered_halls/boss_warchief_kargath_bladefist.cpp b/src/game/AI/ScriptDevAI/scripts/outland/hellfire_citadel/shattered_halls/boss_warchief_kargath_bladefist.cpp index 8c616d57d9c..8f9a03e6451 100644 --- a/src/game/AI/ScriptDevAI/scripts/outland/hellfire_citadel/shattered_halls/boss_warchief_kargath_bladefist.cpp +++ b/src/game/AI/ScriptDevAI/scripts/outland/hellfire_citadel/shattered_halls/boss_warchief_kargath_bladefist.cpp @@ -273,7 +273,10 @@ struct boss_warchief_kargath_bladefistAI : public CombatAI } case WARCHIEF_KARGATH_CHARGE: if (Unit* target = m_creature->SelectAttackingTarget(ATTACKING_TARGET_RANDOM, 0, nullptr, SELECT_FLAG_PLAYER)) + { DoCastSpellIfCan(target, SPELL_CHARGE_H); + DisableCombatAction(action); + } break; } }