本帖最后由 大好大 于 2016-8-6 08:41 编辑
仅供玩3.35端 70版本**的道友使用,挺长时间没玩了,晚间简单进行了优化。用此脚本,什么圣斗士,防奸战,Biubiu法, 分分钟教会他重新做人,在痛苦绝望尖叫中死去,阿西吧~


- [hide]local Tbl = BeeUnitBuffList("target")
- local buff = BeeUnitBuffList("player")
- local bysc = "圣盾术,保护之手,寒冰屏障,威慑,消散,致盲,旋风,暗影斗篷,法术反射"
- local NeedBreak = "愤怒,星火术,火球术,奥术冲击,奥术飞弹,闪电箭,生命吸取,恐惧,圣光术,快速治疗,强效治疗术,神圣新星,治疗之触,愈合,治疗波,滋养,苦修,变形术,寒冰箭,心灵震爆,混乱之箭,治疗链,烧尽,旋风,根须缠绕"
- local bykj = "激怒,狂暴"
- local xyqs = "圣盾术,保护之手,寒冰屏障"
- --插入技能
- if BeeCastSpellFast() then return;end
- --buff
- if not UnitIsDeadOrGhost("player") then
- if not BeeStringFind("暗影形态",buff) and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 暗影形态");
- BeeUnitCastSpellDelay("暗影形态",2);
- return;
- end
- if not BeeStringFind("真言术:盾",buff) and BeePlayerDeBuffTime("虚弱灵魂")<0 and ((BeeUnitUnitIsPlayer(1) and BeeUnitHealth("player","%")<80) or not BeeUnitAffectingCombat()) then
- BeeRun("/cast 真言术:盾","player")
- end
- if not BeeUnitAffectingCombat() and not UnitExists("target") then
- if not BeeStringFind("真言术:韧",buff) and not BeeStringFind("坚韧祷言",buff) then
- BeeRun("/cast 真言术:韧")
- end
- if not BeeStringFind("神圣之灵",buff) and not BeeStringFind("精神祷言",buff) then
- BeeRun("/cast 神圣之灵")
- end
- if BeePlayerBuffTime("心灵之火")<=1 then
- BeeRun("/cast 心灵之火")
- end
- if BeePlayerBuffTime("吸血鬼的拥抱")<=1 then
- BeeRun("/cast 吸血鬼的拥抱")
- end
- end
- end
- --保命回蓝
- if BeeUnitAffectingCombat() and UnitExists("target")==1 and not UnitIsDeadOrGhost("target") then
- if BeeUnitHealth("player","%")<30 or BeeUnitMana("player","%")<20 and BeeSpellCoolDown("消散")==0 and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 消散")
- end
- if BeeUnitHealth("player","%")>50 and BeeUnitMana("player","%")<10 and BeeSpellCD("消散")>0 and not BeeStringFind("消散",buff) and BeeSpellCoolDown("暗影恶魔")==0 and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 暗影恶魔","target")
- end
- end
- --灭破羊
- local Unit="target"
- local time , Castingtime= BeeUnitCastSpellTime(Unit);
- if BeeUnitCastSpellName(Unit)=="变形术" and Castingtime - time >0.8 and time >0.3 and BeeIsRun("暗言术:灭",Unit) then
- BeeRun("暗言术:灭",Unit);
- return;
- end
- --秒驱散不打断
- if BeeStringFind(xyqs,Tbl) then
- if BeeIsRun("/cast 群体驱散","nogoal") and BeePlayerBuffTime("群体驱散")==-1 then
- CastSpellByName(tostring(GetSpellInfo("群体驱散"),nil));end
- if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end
- return;
- end
- if BeeUnitCastSpellName("player")=="群体驱散" then return;end
- --打断控制输出
- if (BeeUnitHealth("target","%")<10 or BeeUnitHealth("player","%")<20 or (BeeTargetDeBuffTime("暗言术:痛")>0 and BeeTargetDeBuffTime("噬灵疫病")>0 and GetUnitSpeed("player")>0)) and BeeSpellCoolDown("暗言术:灭")==0 then
- BeeRun("/cast 暗言术:灭");
- return true;
- end
- if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and IsSpellInRange("暗言术:痛","target")==1 and not BeeStringFind(bysc,Tbl) and (BeeUnitHealth("target","%")>10 or BeeSpellCD("暗言术:灭")>0) then
- if BeeUnitUnitIsPlayer(1) and BeeRange("target")<8 and not BeeStringFind(bykj,Tbl) then
- if BeeSpellCD("心灵尖啸")>0 and BeeTargetDeBuffTime("心灵尖啸")<0 and BeeSpellCoolDown("心灵惊骇")==0 and BeeUnitHealth("player","%")<40 then
- BeeRun("/cast 心灵惊骇")
- end
- if BeeSpellCoolDown("心灵尖啸")==0 and not BeeStringFind("恐惧",Tbl) then
- BeeRun("/cast 心灵尖啸")
- end
- end
- if BeeStringFind(NeedBreak,BeeUnitCastSpellName()) then
- if BeeSpellCoolDown("沉默")==0 then
- BeeRun("/cast 沉默","target");
- return;
- end
- end
- if BeeTargetDeBuffTime("噬灵疫病")<=1 and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 噬灵疫病","target")
- return true;
- end
- if BeeTargetDeBuffTime("暗言术:痛")<=1 and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 暗言术:痛","target")
- return true;
- end
- if BeeTargetDeBuffTime("吸血鬼之触")<2 and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 吸血鬼之触","target");
- BeeUnitCastSpellDelay("吸血鬼之触",0.9);
- return true;
- end
- if BeeTargetDeBuffTime("吸血鬼之触")>12 and BeeUnitCastSpellName("player")=="吸血鬼之触" then
- BeeRun("/stopcasting");
- return;
- end
- if BeeSpellCoolDown("心灵震爆")==0 and BeeTargetDeBuffTime("暗言术:痛")>0 and BeeTargetDeBuffTime("噬灵疫病")>0 and BeeTargetDeBuffTime("吸血鬼之触")>0 and not BeeUnitCastSpellName("player") then
- BeeRun("/cast 心灵震爆")
- return true;
- end
- if not BeeStringFind("精神鞭笞",Tbl) and BeeTargetDeBuffTime("暗言术:痛")>0 and BeeTargetDeBuffTime("噬灵疫病")>0 and BeeTargetDeBuffTime("吸血鬼之触")>0 and (BeeSpellCD("心灵震爆")>0 or BeeUnitHealth("target","%")<40) then
- BeeRun("/cast 精神鞭笞","target")
- return true;
- end
- end[/hide]
复制代码
|