在引导奥术飞弹的时候不要想着放其他的技能
[Lua] 纯文本查看 复制代码 if not BeeUnitCastSpellName('player')==("奥术飞弹") then
if BeeSpellCoolDown("奥术弹幕")==0 then BeeRun("/cast 奥术弹幕") return end
if not BeeUnitCastSpellName("player") and BeeSpellCoolDown("奥术飞弹")==0 and BeeUnitBuffTime("飞弹速射")>0 or BeeUnitHealth("target","%")<=20 then BeeRun("/cast 奥术飞弹","target") return;end
if UnitExists("target")==1 and IsSpellInRange("奥术冲击","target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitHealth("target","%")>20 then BeeRun("/cast 奥术冲击") return;end
end 上面这个是在你的代码改的,下面这个可以试试,因为没看懂这技能循环加BeeUnitHealth("target","%")>20有什么用所有没加,一个or BeeUnitHealth("target","%")>20 ,一个and BeeUnitHealth("target","%")>20.
[Lua] 纯文本查看 复制代码 if not BeeUnitCastSpellName('player')==("奥术飞弹") then
if BeeSpellCoolDown("奥术飞弹")==0 and BeeGCD()==0 then
BeeRun("奥术弹幕")
return
end
if BeeSpellCoolDown("奥术冲击")==0 and BeeGCD()==0 and UnitBuff('player','飞弹速射') then
BeeRun("奥术飞弹")
return
end
if BeeSpellCoolDown("奥术冲击")==0 and BeeGCD()==0 then
BeeRun("奥术冲击")
return
end
end
|