找回密码
 立即注册
查看: 328|回复: 0

[死骑] 335输出血DK

[复制链接]

38

主题

0

回帖

122

积分

超级版主

积分
122
发表于 2023-12-14 21:22:09 | 显示全部楼层 |阅读模式
138wow.com
此代码为破加血输出天赋,其他天赋无效。

  1. if UnitIsDeadOrGhost("player") then RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
  2. BeeRun("/targetenemy [noharm][dead]")
  3. BeeRun("/startattack")
  4. local HPB=BeeUnitHealth("player","%",0)--自己的HP百分比
  5. local HPZ=BeeUnitHealth("player","nil",0)--自己的HP当前值
  6. local MPZ=BeeUnitMana("player","%",0)--自己的MP当前值
  7. local MHPB=BeeUnitHealth("target","%",0)--目标的HP百分比
  8. local MHPZ=BeeUnitHealth("target","nil",0)--目标的HP当前值
  9. local BFT=BeePlayerBuffTime--自己BUFF剩余时间秒
  10. local MBFT=BeeTargetDeBuffTime--目标DEBUFF剩余时间秒
  11. local BF=BeeUnitBuffList("player")--自己的BUFFl列表
  12. local MBF=BeeUnitBuffList("target")--目标的BUFF列表
  13. local MBS=BeeUnitCastSpellName("target")--目标正在释放的法术
  14. local SS=BeeStringFind--搜索
  15. local ZD=BeeIsCombat()--检查是否进入战斗状态==1
  16. local R=BeeUnitPlayerControlled(target)--人物==1
  17. local PK=BeeUnitCanAttack("target")==1--可以PK
  18. local IR=IsSpellInRange--检查技能距离
  19. local CD=BeeSpellCD--检查CD
  20. local IU=IsUsableAction--检查技能是否可用1
  21. local GA=GetActionCooldown--检查技能是否可用2
  22. local FSFS="奥术飞弹,精神鞭笞"
  23. if PK and SS(FSFS,MBS) and CD("反魔法护罩")==0 and MPZ>20 then BeeRun("反魔法护罩")end
  24. --自动上BUFF
  25. if not SS("鲜血灵气",BF) then BeeRun("鲜血灵气")end
  26. if BFT("寒冬号角")<0 and BeeSpellCoolDown("寒冬号角")==0 then BeeRun("寒冬号角")end
  27. if BFT("白骨之盾")<1 and BeeSpellCoolDown("白骨之盾")==0 and (BeeRune("邪恶符文")>0 or BeeRune("死亡符文")>0) then BeeRun("白骨之盾")end
  28. --按键回血
  29. if IsLeftShiftKeyDown() and HPB<60 then
  30.     if BeeRune("鲜血符文")>0 and BeeRune("邪恶符文")>0 and BeeRune("冰霜符文")>0 and CD("亡者大军")==0 then BeeRun("亡者大军")end
  31.     if CD("亡者大军")~=0 and MPZ>40 and CD("天灾契约")==0 then BeeRun("天灾契约")end
  32. end
  33. --按键传染
  34. if IsAltKeyDown() then
  35.     if MBFT("冰霜疫病")>1 and MBFT("血之疫病")>1 and (BeeRune("鲜血符文")>0 or BeeRune("死亡符文")>0) then BeeRun("传染")end
  36. end
  37. --目标大于我的血量输出
  38. if MHPZ>HPZ then
  39.     if BeeSpellCoolDown("召唤石像鬼")==0 and MBFT("冰霜疫病")>1 and MBFT("血之疫病")>1 then BeeRun("召唤石像鬼")end
  40.     if BeeRune("鲜血符文")<1 and BeeRune("邪恶符文")<1 and BeeRune("冰霜符文")<1 and BeeSpellCoolDown("符文武器增效")==0 and BFT("活力分流")<=0 and CD("活力分流")>0 then BeeRun("符文武器增效")end
  41. end
  42. --正常输出
  43. if (not IsLeftAltKeyDown() or not IsShiftKeyDown()) and UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack("target")==1 then
  44.     if MPZ>40 and IR("凋零缠绕")==1 then BeeRun("凋零缠绕")end
  45.     if BeeRune("鲜血符文")<1 and BeeRune("邪恶符文")<1 and BeeRune("冰霜符文")<1 and BeeSpellCoolDown("活力分流")==0 then BeeRun("活力分流")end
  46.     if ((BeeRune("冰霜符文")>0 and BeeRune("邪恶符文")>0) or (BeeRune("冰霜符文")>0 and BeeRune("死亡符文")>0) or (BeeRune("邪恶符文")>0 and BeeRune("死亡符文")>0)) and MBFT("冰霜疫病")>1 and MBFT("血之疫病")>1 then
  47.         if BeeIsRun("天灾打击") and IR("天灾打击")==1 then BeeRun("天灾打击")end
  48.         if HPB<70 and IR("灵界打击")==1 then BeeRun("灵界打击")end
  49.     end
  50.     if (BeeRune("冰霜符文")>0 or BeeRune("死亡符文")>0) and (MBFT("冰霜疫病")<2 or BeeRune("鲜血符文")<1) and IR("冰冷触摸")==1 then BeeRun("冰冷触摸")end
  51.     if (BeeRune("邪恶符文")>0 or BeeRune("死亡符文")>0) and (MBFT("血之疫病")<2 or BeeRune("鲜血符文")<1) and IR("暗影打击")==1 then BeeRun("暗影打击")end
  52.     if BeeRune("鲜血符文")>0 and IR("心脏打击")==1 then BeeRun("心脏打击")end
  53. end
复制代码


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

本版积分规则

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

GMT+8, 2024-5-9 15:27 , Processed in 0.043510 second(s), 18 queries .

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

© 2001-2024 Discuz! Team.

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