from retail

This commit is contained in:
NoM0Re
2025-01-09 15:51:07 +01:00
parent a5dbbd2640
commit 671e778a7d
9 changed files with 43 additions and 986 deletions
+5 -3
View File
@@ -1563,7 +1563,9 @@ function GenericTrigger.Add(data, region)
else
tinsert(trigger_events, event)
end
force_events = trigger.custom_type == "status" or trigger.custom_type == "stateupdate";
if trigger.custom_type == "status" or trigger.custom_type == "stateupdate" then
force_events = data.information.forceEvents or "STATUS"
end
end
end
if (trigger.custom_type == "stateupdate") then
@@ -3363,11 +3365,11 @@ end
-- Cast Latency
do
local castLatencyFrame = nil
Private.frames["Cast Latency Handler"] = castLatencyFrame
local castLatencyFrame
function WeakAuras.WatchForCastLatency()
if not castLatencyFrame then
castLatencyFrame = CreateFrame("Frame")
Private.frames["Cast Latency Handler"] = castLatencyFrame
castLatencyFrame:RegisterEvent("CURRENT_SPELL_CAST_CHANGED")
castLatencyFrame:RegisterEvent("UNIT_SPELLCAST_START")
castLatencyFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_START")