找回密码
 立即注册
服务器名版本类型版本介绍玩家QQ群号星级
查看: 301|回复: 0

[骑士] 335防骑PVE输出脚本

[复制链接]

38

主题

0

回帖

122

积分

超级版主

积分
122
发表于 2023-12-14 19:31:39 | 显示全部楼层 |阅读模式
138wow.com
335防骑.jpg

  1. if UnitIsDeadOrGhost("player") then BeeRun("/目标 灵魂医者");RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
  2. if IsSpellInRange("驱邪术")~=1 and BeeUnitCanAttack("target")==1 then ClearTarget()end
  3. BeeRun("/targetenemy [noharm][dead]")
  4. BeeRun("/startattack")
  5. local Tbuff = BeeUnitBuffList("target")
  6. local buff = BeeUnitBuffList("player")
  7. --不再战斗状态自动上下马
  8. --if UnitAffectingCombat("player")==nil and IsMounted()==nil and IsIndoors()==nil and IsSwimming()==nil and GetSubZoneText()~="加拉达尔" and  GetActionCooldown(62)==0 then UseAction(62) elseif IsMounted()==1 and UnitExists("target") and BeeUnitCanAttack("target") and IsSpellInRange("十字军打击")==1 then BeeRun("/dismount")end
  9. --去DEBUFF
  10. local GT = GetTime();
  11. if GT==nil then GT=GetTime() end--延时2秒避免重复使用
  12. local QSSF="恶魔战粟,恐惧怒吼,心灵尖啸,死亡缠绕,冰霜新星,昏迷,支配,冲击波,制裁之锤,破胆咆哮,恐惧,电能之网"
  13. if BeeStringFind(QSSF,buff) and GetActionCooldown(11)==0 and GetTime()>=GT then UseAction(11) GT=GetTime()+2;end
  14. if BeeStringFind(QSSF,buff) and GetActionCooldown(11)~=0 and BeeSpellCD("自利")==0 and GetTime()>=GT then BeeRun("自利") GT=GetTime()+2;end
  15. --被控制自由之手解
  16. if BeeStringFind("肾击,震荡射击,制裁之锤,深度冻结,突袭,暗影之怒,冲击波,胁迫,挤压,战争践踏,火焰冲撞,震荡波,震荡猛击,疲劳诅咒,冰冻陷阱,冰霜陷阱,冰霜新星,地缚术,断筋,蛛网,残废术,寒冰屏障,减速,根须缠绕",buff) and BeeSpellCD("自由之手")<=0 then BeeRun("自由之手","player")end
  17. --BUFF增益
  18. if BeePlayerBuffTime("惩戒光环")<0 and BeeUnitMana("player","%",0)>0 then BeeRun("惩戒光环","player")end
  19. if BeePlayerBuffTime("命令圣印")<0 and BeeUnitMana("player","%",0)>0 then BeeRun("命令圣印","player")end
  20. if BeePlayerBuffTime("正义之怒")<0 and BeeUnitMana("player","%",0)>0 then BeeRun("正义之怒","player")end
  21. if BeePlayerBuffTime("王者祝福")<0 and BeePlayerBuffTime("强效王者祝福")<0 and BeeUnitMana("player","%",0)>0 then BeeRun("王者祝福","player")end
  22. if BeePlayerBuffTime("圣洁护盾")<0 and IsMounted()==nil and BeeUnitCanAttack("target")==1 and BeeUnitMana("player","%",0)>0 then BeeRun("圣洁护盾","player")end
  23. --有目标,没死亡,可以攻击,是玩家,40码距离
  24. if UnitExists("target") and BeeUnitCanAttack("target") and BeeUnitPlayerControlled("target")==1 then
  25.     if BeeSpellCoolDown("驱邪术")==0 then BeeRun("驱邪术")end
  26.     if IsSpellInRange("十字军打击")==0 and IsSpellInRange("公正审判")==1 and BeeSpellCoolDown("公正审判")==0 and not BeeStringFind("公正审判,智慧审判,圣光审判",Tbuff) then BeeRun("公正审判")end
  27.     if BeeUnitMana("player","%") <= 50 and BeeSpellCoolDown("智慧审判")==0 and not BeeStringFind("公正审判,智慧审判,圣光审判",Tbuff) then BeeRun("智慧审判")end
  28.     if BeeSpellCoolDown("圣光审判")==0 and not BeeStringFind("公正审判,智慧审判,圣光审判",Tbuff) then BeeRun("圣光审判")end
  29. end
  30. --有目标,没死亡,可以攻击,是怪物,5码距离
  31. if UnitExists("target") and BeeUnitCanAttack("target") and IsSpellInRange("正义盾击")==1 then
  32.     --保命
  33.     --if BeeUnitHealth("player","%",0)<80 and GetActionCooldown(49)==0 then UseAction(49)end
  34.     --if BeeUnitHealth("player","%",0)<81 and GetActionCooldown(54)==0 then UseAction(54)end
  35.     if BeeUnitHealth("player","%",0)<10 and BeePlayerDeBuffTime("自律")<0 and BeeSpellCoolDown("复仇之怒")<90 and BeeSpellCoolDown("圣盾术")==0 and BeeSpellCoolDown("圣疗术")~=0 then BeeRun("圣盾术")end
  36.     if BeeUnitHealth("player","%")<15 and BeePlayerDeBuffTime("自律")<0 and BeeSpellCoolDown("圣疗术")==0 then BeeRun("圣疗术","player")return;end
  37.     if BeeUnitHealth("player","%")<70 and BeePlayerDeBuffTime("自律")<0 and BeeSpellCoolDown("复仇之怒")<90 and BeeSpellCoolDown("圣佑术")==0 and BeeSpellCoolDown("圣疗术")~=0 then BeeRun("圣佑术")end
  38.     if BeeUnitHealth("player","%")<90 and BeeUnitHealth("player","%")>15 and BeePlayerBuffTime("战争艺术")>0 and BeeSpellCoolDown("圣光审判")~=0 then BeeRun("圣光闪现","player")end
  39.     --焦点有目标但不是自己,上清算之手
  40.     --if BeeUnitUnitIsPlayer(2) and BeeSpellCoolDown("清算之手")==0 then BeeRun("清算之手")end
  41.     --爆发上切割
  42.     --if BeeTargetDeBuffTime("暗影之慕")<0 and GetActionCooldown(51)==0 and (UnitClassification("target")=="worldboss" or BeeUnitPlayerControlled("target")==1 or BeeUnitHealth("target","nil",0)>600000000) then UseAction(51)end
  43.     --if BeeTargetDeBuffTime("忍法*后宫之术*来干我啊")<0 and BeeUnitHealth("target","nil",0)>10000000 and GetActionCooldown(52)==0 then UseAction(52)end
  44.     --if BeeTargetDeBuffTime("手里剑*赶快集火")<0 and BeeUnitHealth("target","nil",0)>10000000 and GetActionCooldown(53)==0 then UseAction(53)end
  45.     if BeeSpellCoolDown("复仇之怒")==0 and BeeUnitAffectingCombat("player") and (UnitClassification("target")=="worldboss" or BeeUnitPlayerControlled("target")==1 or BeeUnitHealth("target","nil",0)>600000000) then BeeRun("复仇之怒")end
  46.     if BeeUnitHealth("target","%")<20 and BeeIsRun("愤怒之锤") then BeeRun("愤怒之锤")end
  47.     --循环施法
  48.     if IsSpellInRange("正义盾击")==1 and BeeSpellCoolDown("奉献")==0 then BeeRun("奉献")end
  49.     if BeeSpellCoolDown("驱邪术")==0 then BeeRun("驱邪术")end
  50.     if BeeUnitMana("player","%") <= 50 and BeeSpellCoolDown("智慧审判")==0 and not BeeStringFind("公正审判,智慧审判,圣光审判",Tbuff) then BeeRun("智慧审判")end
  51.     if BeeSpellCoolDown("圣光审判")==0 and not BeeStringFind("公正审判,智慧审判,圣光审判",Tbuff) then BeeRun("圣光审判")end
  52.     if BeeSpellCoolDown("正义盾击")==0  then BeeRun("正义盾击")end
  53.     if IsSpellInRange("正义盾击")==1 and BeeSpellCoolDown("正义之锤")==0 then BeeRun("正义之锤")end
  54. end
  55. if IsLeftAltKeyDown()==1 then BeeRun("圣盾术")end
  56. if IsShiftKeyDown()==1 then BeeRun("驱邪术")end
  57. if IsShiftKeyDown()==1 then BeeRun("神圣风暴")end
  58. if IsControlKeyDown()==1 then ClearTarget()end
  59. BeeRun("/run UIErrorsFrame:Clear()")
复制代码


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|138wow魔兽私服论坛

GMT+8, 2024-5-20 18:50 , Processed in 0.043594 second(s), 23 queries .

Powered by Discuz! X3.5 Designed by 138wow.com © 魔兽世界私服,魔兽世界私服论坛

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表