|
|
发表于 2021-8-25 21:21:06
|
显示全部楼层
local Tbl = BeeUnitBuffList("target") local buff = BeeUnitBuffList("player") local bingsi = (BeeRune("冰霜符文")>0 or BeeRune("死亡符文")>0) local xuesi = (BeeRune("鲜血符文")>0 or BeeRune("死亡符文")>0) local xiesi = (BeeRune("邪恶符文")>0 or BeeRune("死亡符文")>0)
--准备
if not UnitIsDeadOrGhost("player") and not BeeStringFind("鲜血灵气",buff) then BeeRun("鲜血灵气") end if BeePlayerBuffTime("寒冬号角")<0 then BeeRun("寒冬号角") end
--按键传染
if IsShiftKeyDown() then if BeeTargetDeBuffTime("冰霜疫病")>1 and BeeTargetDeBuffTime("血之疫病")>1 and (BeeRune("鲜血符文")>0 or BeeRune("死亡符文")>0) then BeeRun("传染") end end
--输出
if BeeUnitHealth("target",nil,0)>250000 then if BeeRune("鲜血符文")<1 and BeeRune("邪恶符文")<1 and BeeRune("冰霜符文")<1 and BeeSpellCoolDown("符文武器增效")==0 and BeePlayerBuffTime("活力分流")<=0 and BeeSpellCD("活力分流")>0 then BeeRun("符文武器增效") end if BeeSpellCoolDown("亡者复生")==0 then BeeRun("亡者复生") end if (BeePlayerBuffTime("铜墙铁壁")>0 or BeePlayerBuffTime("杀戮机器")>0) and GetItemCooldown("门牙碎片")==0 then BeeRun("/cast 门牙碎片"); end end if not IsShiftKeyDown() and UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and IsSpellInRange("冰冷触摸")==1 then if (BeeRune("冰霜符文")>0 or BeeRune("死亡符文")>0) and BeeTargetDeBuffTime("冰霜疫病")<2 then BeeRun("冰冷触摸") end if (BeeRune("邪恶符文")>0 or BeeRune("死亡符文")>0) and BeeTargetDeBuffTime("血之疫病")<2 then BeeRun("暗影打击") end if (BeeTargetDeBuffTime("冰霜疫病")>0 and BeeTargetDeBuffTime("血之疫病")>0) and (BeeTargetDeBuffTime("冰霜疫病")<5 or BeeTargetDeBuffTime("血之疫病")<5) then BeeRun("传染") end if BeeUnitMana("player")>70 and BeeIsRun("冰霜打击") then BeeRun("冰霜打击") end if BeePlayerBuffTime("冰冻之雾")>0 and BeePlayerBuffTime("冰冻之雾")<8 then BeeRun("凛风冲击") end if ((BeeRune("冰霜符文")>0 and BeeRune("邪恶符文")>0) or (BeeRune("死亡符文")>0 and (BeeRune("邪恶符文")>0 or BeeRune("冰霜符文")>0)) or BeeRune("死亡符文")>1) and BeeTargetDeBuffTime("冰霜疫病")>1 and BeeTargetDeBuffTime("血之疫病")>1 then BeeRun("湮没") end if BeeUnitMana("player")>20 and BeeIsRun("符文打击") then BeeRun("符文打击") end if BeePlayerBuffTime("冰冻之雾")>0 then BeeRun("凛风冲击") end if BeeUnitMana("player")>40 then if IsSpellInRange("凋零缠绕")==1 and BeeRange("target")>15 then BeeRun("凋零缠绕") end if BeeIsRun("冰霜打击") then BeeRun("冰霜打击") end end if BeeRune("鲜血符文")<1 and BeeRune("邪恶符文")<1 and BeeRune("冰霜符文")<1 and BeeSpellCoolDown("活力分流")==0 then BeeRun("活力分流") end if BeeUnitHealth("target",nil,0)>30000 then if BeeSpellCoolDown("奥术洪流")==0 then BeeRun("奥术洪流") end if BeeTargetDeBuffTime("冰霜疫病")>1 and BeeTargetDeBuffTime("血之疫病")>1 and BeeSpellCoolDown("铜墙铁壁")==0 and bingsi then BeeRun("铜墙铁壁") end end if BeeTargetDeBuffTime("冰霜疫病")>1 and BeeTargetDeBuffTime("血之疫病")>1 and BeeRune("死亡符文")<1 and BeeRune("鲜血符文")>0 then BeeRun("鲜血打击") end if BeeRune("鲜血符文")>0 then BeeRun("鲜血打击") end end
--当前目标打断
BeeRun("/startattack"); local Unit="target" local time , Castingtime= BeeUnitCastSpellTime(Unit); if BeeUnitCastSpellName(Unit) and Castingtime - time >0.5 and time >0.5 and BeeIsRun("心灵冰冻",Unit) then BeeRun("心灵冰冻",Unit); end; |
|