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

[萨满] 335元素萨满输出脚本

[复制链接]

38

主题

0

回帖

122

积分

超级版主

积分
122
发表于 2023-12-14 19:34:19 | 显示全部楼层 |阅读模式
138wow.com
335元素萨满.jpg

  1. if UnitIsDeadOrGhost("player") then BeeRun("/目标 灵魂医者");RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
  2. BeeRun("/targetenemy [noharm][dead]")
  3. local time , Castingtime= BeeUnitCastSpellTime("Focustarget");
  4. local NeedBreak = "赫希斯之耳语,愤怒,血泪,火球术,云雾冲击,冰川冲击,奥术飞弹,灵魂震击,治疗之环,生命吸取,恐惧,圣光术,快速治疗,强效治疗术,魔能火球,冰霜新星,神圣新星,治疗之触,愈合,寒冰箭雨,飓风,烈焰,治疗波,献祭,滋养,次级治疗波,苦修,变形术,暗影修补,圣光闪现,召唤太阳宝珠,黑暗契约,黑暗治疗,暗影打击,烈焰风暴,暗影愈合,寒冰箭,熔岩箭,强制之握,震爆,混乱之箭,黑暗命令,治疗链,神圣之火,暗影新星,暴风雪,火焰之雨,炎爆术,恐惧术,地狱烈焰,幽灵冲击,治疗术,精神灼烧,精神鞭笞"
  5. if BeeStringFind(NeedBreak,BeeUnitCastSpellName()) and UnitCanAttack("player", "focus-target") and BeeSpellCoolDown("风剪")==0 then BeeRun("风剪")end

  6. --驱散咒毒
  7. grouptype="";if GetNumRaidMembers()>0 then grouptype="raid" else grouptype="party";end
  8. local n,qusan = BeeGroupCountScript('BeeRange(unit)<=40 or  BeeRange(unit)<=30',"BeeUnitBuffInfo(unit,2,'Disease,Poison',0)>0 and not UnitIsDeadOrGhost(unit)",grouptype)
  9. if n>0 and  BeeIsRun("驱毒术",qusan) then BeeRun("驱毒术",qusan);return;end  
  10. if n>3 and  BeeTotem("净化图腾")<5 and  BeeIsRun("净化图腾","nogoal")
  11. then BeeRun("净化图腾","nogoal"); return;end  

  12. --元素萨有天赋解除诅咒,中毒,疾病
  13. --grouptype="";if GetNumRaidMembers()>0 then grouptype="raid" else grouptype="party";end
  14. --local n,qusan = BeeGroupCountScript('BeeRange(unit)<=40 or  BeeRange(unit)<=30',"BeeUnitBuffInfo(unit,2,'Disease,Curse,Poison',0)>0 and not UnitIsDeadOrGhost(unit)",grouptype)
  15. --if n>0 and  BeeIsRun("净化灵魂",qusan) then BeeRun("净化灵魂",qusan);return;end  
  16. --if n>3 and  BeeTotem("净化图腾")<5 and  BeeIsRun("净化图腾","nogoal")
  17. --then BeeRun("净化图腾","nogoal"); return;end  


  18. if BeePlayerBuffTime("闪电之盾")<1 and BeeUnitBuffCount("闪电之盾","player",0,0)<2 and BeeUnitMana("player","%",0)>40 then
  19.     BeeRun("/cast 闪电之盾")
  20. end
  21. if BeePlayerBuffTime("水之护盾")<1  and BeeUnitBuffCount("闪电之盾","player",0,0)<3 and  BeeUnitBuffCount("水之护盾","player",0,0)<2 and BeeUnitHealth("target","%",0)>5 and BeeUnitMana("player","%",0)<30 then
  22.     BeeRun("/cast 水之护盾")
  23. end
  24. if  BeeWeaponEnchantInfo(1)<20  then BeeRun("火舌武器","player")end

  25. --图腾释放,需预先把相关图腾按照以下设置进行绑定。1 - 火焰 2 - 土 3 - 水 4 - 空气
  26. if BeeUnitAffectingCombat("player") and  CheckInteractDistance("target",4) then
  27.     if not BeeTotemType(1) and not BeeTotemType(2) and not BeeTotemType(3) and not BeeTotemType(4)  then BeeRun("/cast 元素的召唤");return;end
  28.     if not BeeTotemType(1) and  BeeIsRun("天怒图腾","nogoal") then BeeRun("天怒图腾","nogoal");return;end
  29.     if not BeeTotemType(2) and  BeeIsRun("大地之力图腾","nogoal") then BeeRun("大地之力图腾","nogoal");return;end
  30.     if not BeeTotemType(3) and  BeeIsRun("治疗之泉图腾","nogoal") then BeeRun("治疗之泉图腾","nogoal");return;end
  31.     if not BeeTotemType(4) and  BeeIsRun("空气之怒图腾","nogoal") then BeeRun("空气之怒图腾","nogoal");return;end
  32.     if  BeeUnitMana("player","%")<70 and BeeTotem("法力之潮图腾")<5 and  BeeIsRun("法力之潮图腾","nogoal")
  33.     then BeeRun("法力之潮图腾","nogoal"); return;end  
  34. end
  35. --下方--为自动收回图腾
  36. if not BeeUnitAffectingCombat("player")  and (BeeTotemType(1) or BeeTotemType(2) or BeeTotemType(3) or BeeTotemType(4)) then BeeRun("收回图腾","player") return;end

  37. --if BeeUnitHealth("player","%",0)<90 and BeeSpellCoolDown("激流")==0 then BeeRun("激流","player")end

  38. if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") then
  39.     if BeeUnitBuff("镇压","Target")<1 then BeeRun("冰霜震击")end
  40.     if BeeUnitBuff("大地震击","Target")<1 then BeeRun("大地震击")end
  41.     if BeeUnitBuff("烈焰震击","Target")<1 then BeeRun("烈焰震击")end
  42.     if BeeSpellCoolDown("熔岩爆裂")==0 then BeeRun("/cast 熔岩爆裂")end
  43.     if BeeSpellCoolDown("雷霆风暴")==0 then BeeRun("/cast 雷霆风暴")end
  44.     if BeeSpellCoolDown("闪电箭")==0 then BeeRun("闪电箭")end
  45.     if BeeSpellCoolDown("元素掌握")==0 then BeeRun("/cast 元素掌握")end
  46.     if BeeSpellCoolDown("火焰新星")==0 and BeeRange(target)<=10 and BeeTotemType(1) then BeeRun("/cast 火焰新星")end
  47.     if BeeSpellCoolDown("狂暴")==0 then BeeRun("/cast 狂暴")end
  48.     if BeeSpellCoolDown("血性狂怒")==0 then BeeRun("/cast 血性狂怒")end
  49.     if BeeSpellCoolDown("熔岩爆裂")>=0 then BeeRun("/cast 闪电链")end
  50.     if BeeSpellCoolDown("熔岩爆裂")>=1 and BeeSpellCoolDown("闪电链")>=1 then BeeRun("/cast 闪电箭","target")end
  51.     if IsSpellInRange("风暴打击")==1 and BeeSpellCoolDown("风暴打击")==0 then BeeRun("风暴打击")end
  52. end
复制代码


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

本版积分规则

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

GMT+8, 2024-11-25 01:07 , Processed in 0.042779 second(s), 22 queries .

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

© 2001-2024 Discuz! Team.

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