[Lua] 纯文本查看 复制代码 local Tbl = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
local time , Castingtime= BeeUnitCastSpellTime("target")
local name = BeeUnitName("target")
BeeRun("/console Sound_EnableSFX 0 ")
--保命---------------------------
if not IsMounted("player") and BeeUnitAffectingCombat() and (BeeStringFind("死亡之愿",buff) or BeeStringFind("狂暴之怒",buff)) and BeeUnitHealth("player","%")<40 and BeeUnitMana("player","%")>=15 and BeeSpellCoolDown("狂怒回复")==0 and not BeeStringFind("进食",buff) and not BeeStringFind("饮水",buff) and not BeeStringFind(" 格拉库的肉松蛋糕",buff) then
BeeRun("/cast 狂怒回复")
return
end
--近身打断-----------------------------------------------------------------------------------------------
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="强能暗影箭" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="幽灵冲击" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="暗影箭雨" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="疫病冲击" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="寒冰箭雨" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="黑暗治疗" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="骨雨" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="冰川冲击" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="暗影之幕" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="魔能火球" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="地狱烈焰" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="强效治疗术" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="妖术治愈" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="圣光术" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="变形术" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="快速治疗" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="变形" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="圣光闪现" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="治疗波" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="次级治疗波" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="星火术" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="精神控制" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="冲击新星" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="愈合" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="滋养" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="暗影突击" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
if BeeUnitMana("player","%")>=15 and not UnitIsDeadOrGhost("target") and BeeRange("target")<=6 and BeeUnitCanAttack("target") and BeeSpellCoolDown("拳击")==0 and BeeUnitCastSpellName("target")=="治疗链" and Castingtime - time >0 and time >0.3 then BeeRun("/cast 拳击") return end
BeeRun("/console Sound_EnableSFX 1 ")
有什么想问的 或者其它不明白的 随时可以留言 我极尽所能回复
|