|
施放暗影恶魔 太傻了 总会溜回来 决定写个强制攻击宏
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
|
|