|
|

楼主 |
发表于 2022-12-6 22:15:32
|
显示全部楼层
谢谢大佬指点
我判定加的多主要是不想人物呱呱乱叫,还有一个是怕后面的技能破坏潜行打伏击。
今天升级了预谋天赋 把预谋也加上了,优化了一下输出手法去掉了切割,直接打剔骨,
因为没有判断背面函数,吧背刺触发条件加了一个按左边ALT条件,就不会正面对敌时候卡背刺了
--输出
if not IsShiftKeyDown() and BeeUnitAffectingCombat("focus") and BeeIsRun("嫁祸诀窍","focus")
then
BeeRun("嫁祸诀窍","focus")
end
if BeePlayerBuffTime("嫁祸诀窍")==30 then
BeeRun("/y 已释放嫁祸诀窍")
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and IsStealthed("player") and BeeRange("target")<=30 and BeeSpellCoolDown("预谋")==0 then
BeeRun("/cast 预谋")
return;
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and IsStealthed("player") and BeeRange("target")<=5 and BeeUnitHealth("target",nil,0)<100000 and BeeIsRun("/cast 伏击 ") then
BeeRun("/cast 伏击")
BeeRun("/cast 偷窃")
return;
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and IsStealthed("player") and BeeRange("target")<=5 and BeeUnitHealth("target",0)>100000 and BeeIsRun("/cast 锁喉 ") then
BeeRun("/cast 锁喉")
BeeRun("/cast 偷窃")
return;
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeIsRun("/cast 刺骨 ") and BeeGetComboPoints()>3
then
BeeRun("/cast 刺骨")
end
if BeeSpellCoolDown("鬼魅攻击")==0 and UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeUnitMana("player",0)>=50
then
BeeRun("/cast 鬼魅攻击")
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeIsRun("/cast 背刺 ") and IsLeftAltKeyDown()
then
BeeRun("/cast 背刺")
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeSpellCoolDown("鬼魅攻击")~=0 and BeeTargetBuffCount("出血")<=3 and BeeUnitMana("player",0)>40
then
BeeRun("/startattack")
BeeRun("/cast 出血")
BeeUnitCastSpellDelay("出血",3,"target");
end
|
|