本帖最后由 行了行了 于 2025-2-14 12:00 AM 编辑
[Lua] 纯文本查看 复制代码 local grouptype=""
if GetNumRaidMembers()>0 then
grouptype="raid"
else
grouptype="party"
end
local inUnit= BeeGroupMinScript('BeeUnitHealth(unit,"%")<=100 and BeeRange(unit)<=40 and BeeUnitBuff("奥术智慧",unit,2,1)<0 andBeeUnitBuff("强效奥术智慧",unit,2,1)<0 and not UnitIsDeadOrGhost(unit) ',"BeeUnitHealth(unit,'%')",grouptype)
if inUnit and BeeIsRun("奥术智慧",inUnit) then
BeeRun("奥术智慧",inUnit)
end
上述代码运行后就报错,错误信息为:
Interface\AddOns\WBE\WowBee.Functions.lua:2020: attempt to call global 'TEMP_BeeGroupMin' (a nil value)
请教大佬是怎么回事,代码哪里有错误
谢谢
|