魔蜂跟随攻击如何控制施法距离呢?
大佬看看我写的,这个跟随焦点后,不能控制施法距离,比如猎人这种跟随主号就不能正常攻击了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) and not BeeUnitIsFollow()) then
FollowUnit("focus");
end
跟随状态不会因为施法,跳跃等动作停止跟随的。所以你插这个if BeeCastSpellFast() then return;end。一点用没有 yangjiayizu 发表于 2023-3-16 11:19 AM
跟随状态不会因为施法,跳跃等动作停止跟随的。所以你插这个if BeeCastSpellFast() then return;end。一点 ...
那能不能实现控制跟随距离呢,比如说跟随焦点人物间距15码的时候停下来 蜡笔小新 发表于 2023-3-16 11:48 AM
那能不能实现控制跟随距离呢,比如说跟随焦点人物间距15码的时候停下来
可以用and加条件实现,但是实际会发现经常不面对怪物,好难控制,除非到进阶区才有好的解决方式。 好吧,那先研究其他的循环
页:
[1]