一个焦点跟随 为什么判断不了距离呢
local Tbl = BeeUnitBuffList("target")local buff = BeeUnitBuffList("player")
local fc = BeeUnitBuffList("focus")
if BeeCastSpellFast() then return;end
if UnitName("focus") and ((BeeRange("focus")<=40 and BeeRange("focus")>=15) or not BeeUnitIsFollow()) then
FollowUnit("focus");
end
是哪里出了问题呢
好了 找到问题了 语法用错了 请问跟随目标输出怎么调节距离和自动面对怪物输出?{:5_243:} 山坡上的流氓 发表于 2023-1-30 09:54 AM
好了 找到问题了 语法用错了
哪里语法错了,我也想用这个功能。 marang178 发表于 2023-2-17 02:57 PM
哪里语法错了,我也想用这个功能。
if UnitName("focus") and ((BeeRange("focus")<=40 and BeeRange("focus")>=15) or not BeeUnitIsFollow()) then
FollowUnit("focus");
end
最后这里 哪个or换成and {:5_248:}{:5_238:}{:5_255:}{:5_256:}{:5_250:}
页:
[1]