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 not BeeStringFind("枭兽形态",buff) and not BeeStringFind("枭兽形态",buff) then
BeeRun("枭兽形态","player")
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 BeeUnitHealth("player","%")<50 and not BeeStringFind("自然之握",buff) and BeeSpellCoolDown("自然之握")==0 and BeeUnitAffectingCombat() then
BeeRun("/cast 自然之握","player")
end
if BeeTargetDeBuffTime("精灵之火")<2 and BeeSpellCoolDown("精灵之火")==0 then
BeeRun("/cast 精灵之火") return;
end
--Alt星辰坠落
if IsLeftAltKeyDown() and BeeIsRun("/cast 星辰坠落") then
BeeRun("星辰坠落")
end
if SpellIsTargeting() then CastTarGet() end
--Shift自然之力
if BeeCastSpellFast() then return;end
if IsLeftShiftKeyDown() and BeeIsRun("/cast 自然之力","nogoal") and BeePlayerBuffTime("自然之力")==-1 then
BeeRun("/cast !自然之力")
return;end
if BeeUnitCastSpellName("player")=="自然之力" then return;end
--输出
if BeeStringFind("枭兽形态",buff) and not IsShiftKeyDown() and not IsAltKeyDown() then
if BeeTargetDeBuffTime("月火术")<2 and BeeSpellCoolDown("月火术")==0 then
BeeRun("/cast 月火术") return;
end
if GetInventoryItemCooldown("player",10)==0 then BeeRun("/use 10") end
if BeePlayerBuffTime("嗜血")>0 or BeePlayerBuffTime("英勇")>0
then
BeeRun("/cast 星火术","target")
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
求助各位大神,目前用的是这个版本,但是在打的时候,有时候开场,有时候中场,会一直施放精灵之火,和月火术,应该是没有判断好BOSS身上的DEBUFF。不太会改,求大神联系我
|