wlk335牧师暗影魔太傻不攻击解决代码
施放暗影恶魔 太傻了 总会溜回来决定写个强制攻击宏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
释放暗影魔那里的宏写成/cast 暗影魔\n/petattack就可以了
页:
[1]