三皈依, 您好: 我更新DBM9.0.22到9.0.24之後 出現以下錯誤訊息,不曉得是哪個環節有問題了? 29x [string "--[==[ Error in '图标技能':'initializat..."]:78: attempt to index field 'mainAnchor' (a nil value) [string "--[==[ Error in '图标技能':'initialization' ]==] return function() -- Made by: Bosmutus - Zul'jin(US) --
----- Customization ----- -- Moved to the Custom Options Tab --
KEKE · 2021-03-29 19:22:50
三皈依, 您好:我更新DBM9.0.22到9.0.24之後 出現以下錯誤訊息,不曉得是哪個環節有問題了?
29x [string "--[==[ Error in '图标技能':'initializat..."]:78: attempt to index field 'mainAnchor' (a nil value)
[string "--[==[ Error in '图标技能':'initialization' ]==] return function() -- Made by: Bosmutus - Zul'jin(US) --
----- Customization -----
-- Moved to the Custom Options Tab --
----- Don't Edit Anything Below -----
aura_env.DBMCallback = function(event, id, msg, duration, icon, timerType, spellId, colorId)
if event=="DBM_TimerStart" then
-- Get DBM bar color
local barOptions=DBM.Bars.options
local barRed=0
local barGreen=0
local barBlue=0
if colorId == 1 then--Add
barRed, barGreen, barBlue = barOptions.StartColorAR, barOptions.StartColorAG, barOptions.StartColorAB
elseif colorId == 2 then--AOE
barRed, barGreen, barBlue = barOptions.StartColorAER, barOptions.StartColorAEG, barOptions.StartColorAEB
elseif colorId == 3 then--Debuff
barRed, barGreen, barBlue = barOptions.StartColorDR, barOptions.StartColorDG, barOptions.StartColorDB
elseif colorId == 4 then--Interrupt
barRed, barGreen, barBlue = barOptions.StartColorIR, barOptions.StartColorIG, barOptions.StartColorIB
elseif colorId == 5 then--Role
barRed, barGreen, barBlue = barOptions.StartColorRR, barOptions.StartColorRG, barOptions.StartColorRB
elseif colorId == 6 then--Phase
barRed, barGreen, barBlue = barOptions.StartColorPR, barOptions.StartColorPG, barOptions.StartColorPB
elseif colorId == 7 then--Important
barRed, barGreen, barBlue = barOptions.StartColorUIR, barOptions.StartColorUIG, barOptions.StartColorUIB
else
三皈依 · 2021-03-29 22:11:43