如何在这段命令中加入战士的刺耳怒吼
local Tbl = BeeUnitBuffList("target")local buff = BeeUnitBuffList("player")
local RAGE = UnitPower("player")
local zd= BeeGetShapeshiftFormInfo(1)
local kn= BeeGetShapeshiftFormInfo(3)
local youxiao = UnitExists("target")==1 and not UnitIsDeadOrGhost("target")
--姿态
if not BeeUnitAffectingCombat() and youxiao
then
if BeeSpellCoolDown("冲锋")==0 then
BeeRun("/cast 战斗姿态")
else
BeeRun("/cast 狂暴姿态")
end
end
if zd and not BeeUnitAffectingCombat() and youxiao and BeeRange("target")>=8 then BeeRun("冲锋") return
end
if BeeRange("target")<8 and not kn then BeeRun("/cast 狂暴姿态") return
end
--输出循环,shift顺劈斩,否则英勇打击
ifBeeUnitAffectingCombat() and youxiao and kn then
if BeePlayerBuffTime("战斗怒吼")<0and BeePlayerBuffTime("强效力量祝福")<0 and BeePlayerBuffTime("力量祝福")<0 andRAGE>=10 then
BeeRun("战斗怒吼")
return
end
if BeePlayerBuffTime("猛击!")>0 and RAGE>=15 then
BeeRun("猛击")
return
end
if BeeUnitHealth("target","%")<20 and BeeIsRun("斩杀") then
BeeRun("斩杀")
return
end
if RAGE<=10 and BeeSpellCD("血性狂暴")==0 then
BeeRun("血性狂暴")
return
end
if RAGE>=20 and BeeSpellCD("嗜血")==0 then
BeeRun("嗜血")
return
end
if RAGE>=25 and BeeSpellCD("嗜血")>0 and
BeeSpellCD("旋风斩")==0 then
BeeRun("旋风斩")
return
end
ifBeeSpellCD("嗜血")>0 and BeeSpellCD("旋风斩")>0 and RAGE>50 then
if IsShiftKeyDown() then
BeeRun("/cast 顺劈斩")
return
else
BeeRun("/cast 英勇打击")
return
end
end
end
--英勇投掷
if BeeSpellCD("英勇投掷")==0 and youxiao and BeeUnitAffectingCombat() then
BeeRun("英勇投掷")
return
end
--乘胜追击
if BeePlayerBuffTime("乘胜追击")>0 and youxiao then
BeeRun("乘胜追击")
return
end
if (BeeTargetDebuffTime("刺耳怒吼")<0 or BeeTargetDebuffTime("断筋")<0) andBeeRange("target")<10 and RAGE>=25 and then
BeeRun("/cast 刺耳怒吼")
return
end
注释:目标身上不存在刺耳或者断筋且和目标距离<10码且怒气大于等于25 则释放刺耳怒吼
放在
if BeePlayerBuffTime("猛击!")>0 and RAGE>=15 then
BeeRun("猛击")
return
end
前面 好的,收到,谢谢,等下去试试看 羞羞铁拳 发表于 2023-5-19 01:52 PM
if (BeeTargetDebuffTime("刺耳怒吼")
出错了,没法实现,不知道为什么
页:
[1]