Make raid first-frame state deterministic

This commit is contained in:
Dusk-92
2026-08-30 10:30:50 +02:00
parent dbb7cd3f69
commit bd2186c87b
8 changed files with 91 additions and 42 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ module.enable = function(self)
end,
update = function(frame, event)
if event and event == 'UNIT_COMBAT' then
if event then
if event ~= 'UNIT_COMBAT' then return end
-- update with latest values
if arg1 ~= frame.unitstr then return end
CombatFeedback_OnCombatEvent(arg2, arg3, arg4, arg5)