6.2.2 push

For more informations read the readme please!
This commit is contained in:
Meow
2026-01-10 12:48:07 +01:00
parent 6f44b1a739
commit 02e5ecdbeb
6 changed files with 76 additions and 41 deletions
+4 -24
View File
@@ -300,30 +300,10 @@ pfUI:RegisterModule("superwow", "vanilla", function ()
end
end
-- Enhance libdebuff with SuperWoW data
local superdebuff = CreateFrame("Frame")
superdebuff:RegisterEvent("UNIT_CASTEVENT")
superdebuff:SetScript("OnEvent", function()
-- variable assignments
local caster, target, event, spell, duration = arg1, arg2, arg3, arg4
-- skip other caster and empty target events
local _, guid = UnitExists("player")
if caster ~= guid then return end
if event ~= "CAST" then return end
if not target or target == "" then return end
-- assign all required data
local unit = UnitName(target)
local unitlevel = UnitLevel(target)
if not SpellInfo then return end
local effect, rank = SpellInfo(spell)
local duration = libdebuff:GetDuration(effect, rank)
local caster = "player"
-- add effect to current debuff data
libdebuff:AddEffect(unit, unitlevel, effect, duration, caster)
end)
-- NOTE: SuperWoW libdebuff enhancement removed.
-- UNIT_CASTEVENT fires before resist/miss/dodge events arrive,
-- which breaks the failed spell detection system in libdebuff.
-- DoT timers use the standard hook-based fallback instead.
-- TrackUnit API for adding group members to minimap
-- Tracks friendly units on the minimap for easier group coordination
+4 -3
View File
@@ -33,8 +33,9 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
end
-- refresh rip and rake duration on ferocious bite (Turtle WoW feature)
-- Only refresh if Ferocious Bite actually hit (not missed/dodged/parried/etc.)
local match = string.find(arg1, "Ferocious Bite")
if match and arg2 then
if match and arg2 and not libdebuff:DidSpellFail("Ferocious Bite") then
local name = UnitName("target")
local level = UnitLevel("target")
@@ -52,9 +53,9 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
end
-- refresh Immolate duration after cast Conflagrate
-- Only refresh if Conflagrate actually hit
local conflagrate = string.find(string.sub(arg1,6,17), "Conflagrate")
--arg2 is spell dmg when it hits, nil when it misses
if conflagrate and arg2 then
if conflagrate and arg2 and not libdebuff:DidSpellFail("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