From 442c708e85d984aaf90a54fc53ed891b85ac392e Mon Sep 17 00:00:00 2001 From: gasaichandesu Date: Sat, 22 Aug 2026 21:39:01 +0400 Subject: [PATCH] fix(premium): fix incorrect spell type for hearthstone --- lua_scripts/MWPremium/mwpremium.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua_scripts/MWPremium/mwpremium.lua b/lua_scripts/MWPremium/mwpremium.lua index 4a20f0d0b..dd0a9b795 100644 --- a/lua_scripts/MWPremium/mwpremium.lua +++ b/lua_scripts/MWPremium/mwpremium.lua @@ -187,8 +187,8 @@ end local function OnBeforeTeleport(event, player, mapid, x, y, z, orientation, options, target) if not IsPremium(player) then return end - -- Get current channeled spell (SpellType 2) - local current_spell = player:GetCurrentSpell(2) + -- Get current generic spell (SpellType 1) + local current_spell = player:GetCurrentSpell(1) if current_spell ~= nil and current_spell:GetEntry() == HEARTHSTONE_SPELL_ID then player:ResetSpellCooldown(HEARTHSTONE_SPELL_ID)