[Lua] 纯文本查看 复制代码
-------- 第二优先级-打断判断--------
local Castingtime,_,SpellName = BeeUnitCastSpellTime("player");
local c ="变形术,旋风,变妖术,飓风,恐惧术,恐惧,暗影新星,暗影烈焰,根须缠绕,治疗之触,强效治疗术"------------------目标打断技能列表
local d ="变形术,旋风,变妖术,飓风,凿击,闷棍,圣盾术,寒冰屏障,威慑,法术反射,瘫痪"------------------------------对方被控自己停手技能列表
if BeeStringFind(d,SpellName) and Castingtime >0.3 and Castingtime <1.2 then BeeRun("/targetenemy [target=target,help][target=target,noexists]/n") ;return end
--[color=#ff0000]打断目标技能SS 也就这点打断的了[/color]
--[[if BeeStringFind(c,SpellName) and Castingtime >0.3 and Castingtime <1.2 and BeeIsRun("死亡缠绕","target") and BeeSpellCD("死亡缠绕")==0 then BeeRun("死亡缠绕","target");return;end
if BeeStringFind(c,SpellName) and Castingtime >0.3 and Castingtime <1.2 and BeeIsRun("恐惧哀嚎","target") and BeeSpellCD("恐惧哀嚎")==0 then BeeRun("恐惧哀嚎","target");return;end
----解除恐惧 要判断是不是人类了 人类就自立 其他种族就徽章---泰坦系列自己添加吧 我懒得添加
if BeeUnitRace("player")=="人类" and BeeSpellCD("自利")==0 and BeeUnitBuffsSpells("player","恐惧,心灵尖啸,恐惧嚎叫,闷棍,瘫痪,破胆怒吼,恐惧术","自利",false)then return;end
if BeeUnitIsEquipped("联盟勋章") and BeeSpellCD("联盟勋章")==0 and BeeUnitBuffsSpells("player","恐惧,心灵尖啸,恐惧嚎叫,闷棍,瘫痪,破胆怒吼,恐惧术","联盟勋章",false)then return;end
if BeeUnitIsEquipped("部落勋章") and BeeSpellCD("部落勋章")==0 and BeeUnitBuffsSpells("player","恐惧, 诱惑,心灵尖啸,恐惧嚎叫,闷棍,瘫痪,破胆怒吼,恐惧术","部落勋章",false)then return;end
if BeeUnitIsEquipped("泰坦铸造敏锐符文")and BeeSpellCD("部落勋章")==0 and BeeUnitBuffsSpells("player","恐惧,心灵尖啸,恐惧嚎叫,闷棍,瘫痪,破胆怒吼,恐惧术","泰坦铸造敏锐符文",false)then return;end
----------- 近身恐惧 多加点条件,更智能点 被别人控制了或者被恐惧了就不施放---
if UnitAffectingCombat("player") and not BeeStringFind("恐惧,恐惧术,心灵尖啸,恐惧嚎叫,闷棍,瘫痪,破胆怒吼,闷棍,瘫痪",BeeUnitBuffList("target")) and BeeIsRun("恐惧","target") and BeeRange("target")<8 and not BeeStringFind(UnitCreatureType("target"),"亡灵") then BeeRun("/castsequence 恐惧,感知恶魔","target");return;end
if a and BeeItemCoolDown(GetItemInfo(GetInventoryItemLink("player",10)))==0 then BeeRun("/use 10") return; end--]]
[color=#ff0000]-----开工程手套 CD就跳过-----[/color]
----- AOE选取怪物数量 ALT 开始给T目标丢种子---ctrl结束丢种子 BOSS不丢种子
if UnitExists("focus") and UnitClassification("focus")=="worldboss" then RunMacroText("/clearfocus") return;end
if IsControlKeyDown() then RunMacroText("/clearfocus") return; end
if IsAltKeyDown() and z_Tsjd() then
local lle= "/focus "..z_Tsjd() RunMacroText(lle) return; end
if UnitExists("focus") and UnitClassification("focus")~=" worldboss" and BeeUnitCanAttack("focustarget")
then RunMacroText("/cast [target=focustarget,harm][target=target]腐蚀之种") return; end