From 923cbcf59f09cdc41b2cc0f6c4f1dbdded23d4be Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 24 May 2026 14:15:37 +0200 Subject: [PATCH] Core/Items: Ignore item charges for item effects types other than on use (cherry picked from commit ea29c5d667926380f7a31f44f0cd07a5b18d9200) --- src/server/game/Spells/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index cc5016796f..e1cf7253c1 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5398,7 +5398,7 @@ void Spell::TakeCastItem() for (ItemEffectEntry const* itemEffect : m_CastItem->GetEffects()) { // item has limited charges - if (itemEffect->Charges) + if (itemEffect->TriggerType == ITEM_SPELLTRIGGER_ON_USE && itemEffect->Charges) { if (itemEffect->Charges < 0) expendable = true;