求助,在使用 BeeGroupMinScript报错
本帖最后由 行了行了 于 2025-2-14 12:00 AM 编辑local grouptype=""
if GetNumRaidMembers()>0 then
grouptype="raid"
else
grouptype="party"
end
local inUnit= BeeGroupMinScript('BeeUnitHealth(unit,"%")<=100 and BeeRange(unit)<=40and BeeUnitBuff("奥术智慧",unit,2,1)<0 andBeeUnitBuff("强效奥术智慧",unit,2,1)<0and not UnitIsDeadOrGhost(unit) ',"BeeUnitHealth(unit,'%')",grouptype)
if inUnitand BeeIsRun("奥术智慧",inUnit)then
BeeRun("奥术智慧",inUnit)
end
上述代码运行后就报错,错误信息为:
Interface\AddOns\WBE\WowBee.Functions.lua:2020: attempt to call global 'TEMP_BeeGroupMin' (a nil value)
请教大佬是怎么回事,代码哪里有错误
谢谢
第9行 andBeeUnitBuff("强效奥术智慧",unit,2,1) 中and后面缺个空格。
导致BeeGroupMinScript函数内部注册TEMP_BeeGroupMin函数失败,所以报 'TEMP_BeeGroupMin' (a nil value)错误 blxyz521 发表于 2025-2-14 10:19 AM
第9行 andBeeUnitBuff("强效奥术智慧",unit,2,1) 中and后面缺个空格。
导致BeeGroupMinScript函数内部注册 ...
太感谢了,看的真细,我都没发现:)
页:
[1]