找回密码
 立即注册
搜索
查看: 495|回复: 0

[德鲁伊] WBE平衡德输出循环代码

[复制链接]

50

主题

6

回帖

164

积分

注册会员

积分
164
发表于 2025-1-9 12:24:14 | 显示全部楼层 |阅读模式


QQ20250109-122328.jpg

代码功能如下:有目标 且 目标不是死物 且  当前可以攻击 且 目标是在战斗状态 且 是咕咕状态,才开始如下输出
{
精灵火全程保持
起手放愤怒(补月火、虫群)
如果触发月蚀,放星火(补月火、虫群),直到日蚀触发则放愤怒(仅补虫群),直到触发月蚀。。。循环
}
按alt 星辰陨落
按shift 吹风有cd是吹风,没cd是飓风
按左边ctrl  爆发手套、饰品
按右边ctrl 战复



WBE明文版:
  1. --根据焦点的目标,判断是否进行攻击,规则为存在且未死亡且是敌对且在战斗中
  2. if UnitExists("target")==1 and not UnitIsDeadOrGhost("target")  and BeeUnitCanAttack("target")==1 and BeeUnitAffectingCombat("target")==1 and
  3. BeeGetShapeshiftFormInfo(5) ==1
  4. then
  5.     --职业输出规则
  6.     --吹风shift
  7.     if IsShiftKeyDown() then
  8.         if BeeSpellCoolDown("台风")==0 then
  9.             BeeRun("/cast 台风","target")
  10.         else if BeeSpellCoolDown("旋风")==0 then
  11.                 BeeRun("/cast 旋风","target")
  12.             end
  13.         end
  14.     end
  15.     --alt星辰陨落
  16.     if IsAltKeyDown() then
  17.         if BeeSpellCoolDown("星辰坠落")==0 then
  18.             BeeRun("/cast 星辰坠落","target")
  19.         end
  20.     end
  21.     --右ctrl 战复
  22.     if IsRightControlKeyDown() then
  23.         if  UnitExists("target") and UnitIsDeadOrGhost("target") and BeeIsRun("复生") then
  24.             BeeRun("复生","target") return;end
  25.     return;end
  26.    
  27.     --左ctrl爆发 10是手套,13饰品1,14饰品2
  28.     if IsLeftControlKeyDown() then
  29.         if BeeUnitAffectingCombat()  then
  30.             if GetItemSpell(GetItemInfo(GetInventoryItemLink('player',13))) and GetInventoryItemCooldown("Player",13)==0 then BeeRun("/use 13") return end
  31.             if GetItemSpell(GetItemInfo(GetInventoryItemLink('player',10))) and GetInventoryItemCooldown("Player",10)==0 then BeeRun("/use 10") return end
  32.             if  GetItemSpell(GetItemInfo(GetInventoryItemLink('player',14))) and GetInventoryItemCooldown("Player",14)==0 then BeeRun("/use 14")  return end
  33.         end
  34.     end
  35.    
  36.     --输出
  37.    
  38.     if BeeUnitBuff("精灵之火","Target")<1 and BeeSpellCoolDown("精灵之火")==0 then BeeRun("精灵之火") end
  39.    
  40.     if ry==nil or ry==0 then
  41.         if BeePlayerBuffTime("月蚀")>=0 then ry=1;return end
  42.         if BeeUnitBuff("月火术","Target")<1 and BeeSpellCoolDown("月火术")==0 then BeeRun("月火术")   end
  43.         if BeeUnitBuff("虫群","Target")<1 and BeeSpellCoolDown("虫群")==0 then BeeRun("虫群") end
  44.         if BeeIsRun("愤怒","target") then BeeRun("愤怒","target"); end
  45.     end
  46.    
  47.     if ry==1 then
  48.         if BeePlayerBuffTime("日蚀")>=0 then ry=0;return end
  49.         if BeeUnitBuff("月火术","Target")<1 and BeeSpellCoolDown("月火术")==0 then BeeRun("月火术")   end
  50.         if BeeIsRun("星火术","target") then BeeRun("星火术","target"); end
  51.     end
  52. end
复制代码


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

本版积分规则

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

GMT+8, 2026-11-30 11:32 , Processed in 0.066005 second(s), 23 queries .

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

© 2001-2025 Discuz! Team.