from retail

This commit is contained in:
NoM0Re
2025-01-16 16:44:32 +01:00
parent c080aa96d5
commit c133385b44
7 changed files with 37 additions and 19 deletions
+2 -2
View File
@@ -3069,7 +3069,7 @@ do
local function dbmEventCallback(event, ...)
if event == "DBM_TimerStart" then
local id, msg, duration, icon, timerType, spellId, dbmType = ...
local id, msg, duration, icon, timerType, spellId, dbmType, _, _, _, _, _, timerCount = ...
local now = GetTime()
local expirationTime = now + duration
bars[id] = bars[id] or {}
@@ -3080,7 +3080,7 @@ do
bar.icon = icon
bar.timerType = timerType
bar.spellId = tostring(spellId)
bar.count = msg:match("%((%d+)%)") or msg:match("(%d+)") or "0"
bar.count = timerCount and tostring(timerCount) or "0"
bar.dbmType = dbmType
local barOptions = DBM.ReleaseRevision >= 20220412000000 and DBT.Options or DBM.Bars.options