|
本帖最后由 ws2319 于 2021-3-22 12:16 PM 编辑
求问如何判定输出关注目标
local Tbl = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
if GetUnitSpeed("player")<=0 then
if not BeeUnitIsFollow() then
FollowUnit("focus")
BeeRun("/assist [harm][@focustarget,harm]")
return
end
FollowUnit("focus");--跟随目标
BeeRun("/target [harm][@focustarget,harm]");--将目标切换成目标的目标
if BeeIsRun("奥术飞弹") and BeeUnitBuffCount("奥术冲击",0,0)>=4 and
BeePlayerBuffTime("飞弹速射")>0 then
BeeRun("/cast 奥术飞弹")
return;
end
if BeeIsRun("奥术冲击")then
BeeRun("/cast 奥术冲击")
return;
跟随关注目标然后自动将目标切换成目标的目标 但是如果关注的目标捡尸体 跟随号就不切换目标了,
有的大佬说可以直接用对关注目标的宏输出但是判定怎么做 if 呢....
求大佬解惑
|
|