LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 209|回复: 1

[wowbee] wlk335牧师暗影魔太傻不攻击解决代码

[复制链接]
发表于 2023-8-19 12:09:02 | 显示全部楼层 |阅读模式
施放暗影恶魔 太傻了 总会溜回来  决定写个强制攻击宏
wbe代码如下
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
    if BeeUnitCanAttack(target) and BeeUnitAffectingCombat("player") then
         BeeRun("/petattack","target")
    end
end

回复

使用道具 举报

发表于 2023-8-19 13:44:50 | 显示全部楼层
释放暗影魔那里的宏写成/cast 暗影魔\n/petattack就可以了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-6-16 06:57 AM , Processed in 0.032644 second(s), 15 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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