djfeiji 发表于 2023-12-14 19:32:39

335火法无CD输出



if UnitIsDeadOrGhost("player") then BeeRun("/目标 灵魂医者");RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
if IsSpellInRange("奥术冲击")~=1 and BeeUnitCanAttack("target")==1 then ClearTarget()end
BeeRun("/targetenemy ")
--不再战斗状态自动上下马
--if UnitAffectingCombat("player")==nil and IsMounted()==nil and IsIndoors()==nil and IsSwimming()==nil and GetSubZoneText()~="加拉达尔" andGetActionCooldown(62)==0 then UseAction(62) elseif IsMounted()==1 and UnitExists("target") and BeeUnitCanAttack("target") and IsSpellInRange("奥术冲击")==1 then BeeRun("/dismount")end
--去DEBUFF
local GT = GetTime();
if GT==nil then GT=GetTime() end--延时2秒避免重复使用
local QSSF="恶魔战粟,恐惧怒吼,心灵尖啸,死亡缠绕,冰霜新星,昏迷,支配,冲击波,制裁之锤,破胆咆哮,恐惧,电能之网"
if BeeStringFind(QSSF,buff) and GetActionCooldown(11)==0 and GetTime()>=GT then UseAction(11) GT=GetTime()+2;end
if BeeStringFind(QSSF,buff) and GetActionCooldown(11)~=0 and BeeSpellCD("自利")==0 and GetTime()>=GT then BeeRun("自利") GT=GetTime()+2;end
--保命
if BeeUnitHealth("player","%")<60 and GetItemCooldown("唤醒")==0 then BeeRun("/cast 唤醒")end

if BeeSpellCD("奥术洪流")>0 and BeeSpellCoolDown("隐形术")==0 and not BeeStringFind("隐形术",buff) then BeeRun("/cast 隐形术")end
if BeeUnitHealth("player","%")<20 and BeeUnitAffectingCombat() and BeeUnitHealth("target","%")>50 and BeeSpellCoolDown("寒冰屏障")==0 and not BeePlayerBuffTime("寒冰屏障") then BeeRun("/cast 寒冰屏障")return;end
if BeePlayerBuffTime("寒冰屏障")<2 and BeePlayerBuffTime("寒冰屏障")>0 and BeeSpellCoolDown("闪现术")==0 then BeeRun("/cast 闪现术")return;end
--if IsEquippableItem("极效治疗石") and BeeUnitHealth("player","%")<55 and GetItemCooldown("极效治疗石")==0 then BeeRun("/cast 极效治疗石");return;end
--if GetItemCount("法力刚玉")>0 and BeeUnitMana("player","%")<70 and GetItemCooldown("法力刚玉")==0 then BeeRun("/cast 法力刚玉");return;end

if IsLeftAltKeyDown() and BeeIsRun("/cast 暴风雪","nogoal") and BeePlayerBuffTime("暴风雪")==-1 then
    CastSpellByName(tostring(GetSpellInfo("暴风雪"),nil))
    if SpellIsTargeting() then CameraOrSelectOrMoveStart();CameraOrSelectOrMoveStop();end
    return
end
if BeeUnitCastSpellName("player")=="暴风雪" then return end

if UnitExists("target") and BeeUnitCanAttack("target") and IsSpellInRange("奥术冲击")==1 then
    --一触即燃
    if BeePlayerBuffTime("一触即燃")>0 and GetUnitSpeed("player")>0 then BeeRun("/cast 烈焰风暴","target") msMouse()end
    --自动补BUFF部分
    if BeePlayerBuffTime("熔岩护甲")<1 and BeeUnitMana("player","%",0)>0 then BeeRun("/cast 熔岩护甲")end
    if BeePlayerBuffTime("奥术智慧")<1 and BeeUnitMana("player","%",0)>0 then BeeRun("/cast 奥术智慧")end
    if BeePlayerBuffTime("寒冰护体")<1 and BeeUnitMana("player","%",0)>0 then BeeRun("/cast 寒冰护体")end
    if BeePlayerBuffTime("法力护盾")<1 and BeeUnitMana("player","%",0)>0 then BeeRun("/cast 法力护盾")end
    --目标上BUFF
    if BeeTargetDeBuffTime("减速")<1 then BeeRun("/cast 减速")end
    --输出
    --if BeeSpellCoolDown("火焰冲击")==0 then BeeRun("/cast 火焰冲击")end
    if BeeSpellCoolDown("奥术冲击")==0 then BeeRun("/cast 奥术冲击")end
    if BeeSpellCoolDown("霜火之箭")==0 then BeeRun("/cast 霜火之箭")end
    --if BeeSpellCoolDown("炎爆术")==0 then BeeRun("/cast 炎爆术")end
    if BeeSpellCoolDown("寒冰箭")==0 then BeeRun("/cast 寒冰箭")end
end
BeeRun("/run UIErrorsFrame:Clear()")


页: [1]
查看完整版本: 335火法无CD输出