local Tbl = BeeUnitBuffList("target")local buff = BeeUnitBuffList("player")
local debuff = "深度冻结,制裁之锤,变形术,死亡缠绕,精神控制,冰冻陷阱,击倒,妖术,忏悔,致盲,窒息,制裁之拳,恐惧,心灵尖啸,肾击"
local debuff2 = "碎裂屏障,冰霜新星,冰冻术,纠缠根须,减速,疲劳诅咒"
--动态插入 /run BeeSpellFast("/CAST 闪现术","Macro")
if BeeCastSpellFast() then return;end
--不打断
if BeeStringFind("影遁",buff) or BeeUnitCastSpellName("player")=="治疗之触" or BeeUnitCastSpellName("player")=="旋风" or BeeUnitCastSpellName("player")=="纠缠根须" then return;end
--保命
if BeeUnitHealth("player","%")<70 and BeeSpellCoolDown("树皮术")==0 and not IsStealthed("player") and BeeUnitAffectingCombat() then
BeeRun("/cast 树皮术","player");
return;
end
--准备
if BeeStringFind(debuff2,buff) and not BeeStringFind("旅行形态",buff) then
BeeRun("/cast 旅行形态")
end
if not BeeStringFind("野性印记",buff) and not BeeStringFind("野性赐福",buff) and not IsStealthed("player") and not BeeUnitAffectingCombat() then
BeeRun("/cast 野性印记","player")
end
if not BeeStringFind("荆棘术",buff) and not IsStealthed("player") and not BeeUnitAffectingCombat() then
BeeRun("/cast 荆棘术","player")
end
if BeeUnitHealth("player","%")<50 and not BeeStringFind("自然之握",buff) and BeeSpellCoolDown("自然之握")==0 and BeeUnitAffectingCombat() then
BeeRun("/cast 自然之握","player")
end
--台风
if IsShiftKeyDown() then
if BeeSpellCoolDown("台风")==0 then
BeeRun("/cast 台风","target")
else if BeeSpellCoolDown("旋风")==0 then
BeeRun("/cast 旋风","target")
end
end
end
if IsAltKeyDown() then
if BeeSpellCoolDown("星辰坠落")==0 then
BeeRun("/cast 星辰坠落","target")
end
end
--回蓝
if BeeUnitMana("player","%")<30 and BeeSpellCoolDown("激活")==0 then
BeeRun("/cast 激活","player")
end
if BeeUnitMana("player","%")<50 and BeeSpellCD("灵魂世界之镜")<0 and BeeIsRun("/cast 灵魂世界之镜") then
BeeRun("/cast 灵魂世界之镜","player")
end
--判定BOSS
if BeeUnitHealth("target",nil,0)>450000 then
if BeeSpellCoolDown("自然之力")==0 then
BeeRun("/cast 自然之力")
end
end
--输出
if BeeStringFind("枭兽形态",buff) and not IsShiftKeyDown() and not IsAltKeyDown() then
if BeeTargetDeBuffTime("精灵之火")<2 and BeeSpellCoolDown("精灵之火")==0 then
BeeRun("/cast 精灵之火") return;
end
if BeeTargetDeBuffTime("月火术")<2 and BeeSpellCoolDown("月火术")==0 then
BeeRun("/cast 月火术") return;
end
if BeeTargetDeBuffTime("虫群")<0 then
BeeRun("/cast 虫群")
return;
end
if BeePlayerBuffTime("月蚀")>0 then
BeeRun("/cast 星火术","target")
end
if BeePlayerBuffTime("日蚀")>0 then
BeeRun("/cast 愤怒","target")
end
if BeeIsRun("/cast 愤怒") then
BeeRun("/cast 愤怒")
end
end |