From 0a3e199df054ff410d28b85bc38575c9f07fc1c2 Mon Sep 17 00:00:00 2001 From: AlsoNotMehh Date: Tue, 14 Jul 2026 17:45:05 -0400 Subject: [PATCH] fix(Core/GameObject): allow ritual helpers on cooldown (#26144) --- src/server/game/Entities/GameObject/GameObject.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 523144f2c..955bd32cb 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -1846,14 +1846,19 @@ void GameObject::Use(Unit* user) if (GetUniqueUseCount() == info->summoningRitual.reqParticipants) return; + SpellCastResult castResult; if (info->summoningRitual.animSpell) - player->CastSpell(player, info->summoningRitual.animSpell, true); + castResult = player->CastSpell(player, info->summoningRitual.animSpell, true); else - player->CastSpell(player, GetSpellId(), + castResult = player->CastSpell(player, GetSpellId(), TriggerCastFlags(TRIGGERED_IGNORE_EFFECTS + | TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD | TRIGGERED_IGNORE_POWER_AND_REAGENT_COST | TRIGGERED_CAST_DIRECTLY)); + if (castResult != SPELL_CAST_OK) + return; + AddUniqueUse(player); // full amount unique participants including original summoner