From 2f61716858f5aa8e47d13df711fe9f5760e8820a Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sat, 28 Mar 2026 12:46:44 +0100 Subject: [PATCH] fixed castbar not showing properly for abilitys like Hunter Volley --- libs/libdebuff.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/libdebuff.lua b/libs/libdebuff.lua index 452f1cdc..8e358100 100644 --- a/libs/libdebuff.lua +++ b/libs/libdebuff.lua @@ -1201,8 +1201,12 @@ if hasNampower then local spellId = arg2 local casterGuid = arg3 local spellType = arg8 or 0 -- 0=Normal, 1=Channel, 2=Autorepeating - local isChannel = spellType == 1 - local castTime = isChannel and arg7 or arg6 -- arg6=castTime (normal), arg7=duration (channel) + -- arg6=castTime, arg7=channel duration + -- prefer arg6 if present — some spells (e.g. Volley post-rework) still send + -- arg8=1 but now have a real cast time in arg6, so we only fall back to arg7 + -- when arg6 is nil (true channels like Blizzard) + local castTime = arg6 or arg7 + local isChannel = spellType == 1 and not arg6 if not casterGuid or not spellId then return end