From d900008c1f0011cc21be622e8cd5c16de598f799 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 6 Nov 2024 13:27:47 +0100 Subject: [PATCH] turtle-wow: update immolate duration on conflagrate based on https://github.com/shagu/pfUI/commit/b56836d2eb94ef93c7c89cdc9016cda462768b81 --- mods/turtle-wow.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mods/turtle-wow.lua b/mods/turtle-wow.lua index 3391109..bbd8260 100644 --- a/mods/turtle-wow.lua +++ b/mods/turtle-wow.lua @@ -88,6 +88,16 @@ libdebuff_twow:SetScript("OnEvent", function() end end end + + -- refresh Immolate duration after cast Conflagrate + if string.find(arg1, "Conflagrate") then + local name = UnitName("target") + local level = UnitLevel("target") + if libdebuff.objects[name] and libdebuff.objects[name][level] and libdebuff.objects[name][level]["Immolate"] then + local duration = libdebuff.objects[name][level]["Immolate"].duration + libdebuff:UpdateDuration(name, level, "Immolate", duration - 3) + end + end end) -- Turtle WoW Item Vendor Prices