djfeiji 发表于 2023-12-14 19:20:14

335鸟德无CD服完美输出


如果有CD的服需要改下判断CD


if UnitIsDeadOrGhost("player") then BeeRun("/目标 灵魂医者");RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
if IsSpellInRange("星火术")~=1 and BeeUnitCanAttack("target")==1 then ClearTarget()end
BeeRun("/targetenemy ")
--BeeRun("/startattack")
local Tbuff = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
local PK = UnitExists("target")==1 and BeeUnitCanAttack("target")==1 and BeeUnitIsDead("target")==nil
--保命
if BeePlayerBuffTime("树皮术")<0 and BeeSpellCoolDown("树皮术")==0 then BeeRun("树皮术","player")end
if BeeUnitHealth("player","%")<10 then BeeRun("治疗之触","player");BeeUnitCastSpellDelay("治疗之触",0.4,"player");return;end
if BeePlayerBuffTime("树皮术")<0 and BeeUnitHealth("player","%")<90 and BeeSpellCoolDown("树皮术")==0 then BeeRun("树皮术","player");return;end
--治疗时不打断
if BeeUnitCastSpellName("player")=="治疗之触" or BeeUnitCastSpellName("player")=="滋养" or BeeUnitCastSpellName("player")=="愈合" then return;end
--形态闲时旅行
if BeePlayerBuffTime("枭兽形态")<0 then BeeRun("枭兽形态","player");return;end
--准备buff
if BeePlayerBuffTime("野性印记")<0 and BeePlayerBuffTime("野性赐福")<0 then BeeRun("野性印记","player")end
--if not BeeStringFind("荆棘术",buff)and not BeeUnitAffectingCombat() then BeeRun("/cast 荆棘术")end
if BeeUnitHealth("player","%")<50 and BeePlayerBuffTime("自然之握")<0 and BeeSpellCoolDown("自然之握")==0 then BeeRun("自然之握")end
--按ALT释放星辰
if IsAltKeyDown() and BeeSpellCoolDown("星辰坠落")==0 then BeeRun("星辰坠落")end
--回蓝
if BeeUnitMana("player","%")<30 and BeeSpellCoolDown("激活")==0 then BeeRun("激活","player")end
--给目标上DEBUFF
if PK and BeeTargetDeBuffTime("精灵之火")<0 and BeeUnitHealth("target","nil",0)>600000000 then BeeRun("精灵之火")return;end
if PK and BeeTargetDeBuffTime("虫群")<0 and BeeUnitHealth("target","nil",0)>600000000 then BeeRun("虫群")end
--if PK and BeeTargetDeBuffTime("衰减")<0 and GetActionCooldown(49)==0 and BeeUnitHealth("target","%",0)>80 then UseItemByName("12");end
--输出
if PK and IsSpellInRange("星火术")==1 then
    BeeRun("星火术","target")
    BeeRun("愤怒")
    BeeRun("月火术")
end


页: [1]
查看完整版本: 335鸟德无CD服完美输出