|
本帖最后由 godisagay1103 于 2023-9-3 12:38 PM 编辑
抢盾函数一:
local dun= BeeGroupMinScript('BeeRange(unit)<=40 and BeeIsRun("真言术:盾",unit) and BeeUnitHealth(unit,"%")<=100 or BeeUnitBuff("真言术:盾",unit)<1 and BeeUnitBuff("虚弱灵魂",unit)<1 and BeeUnitBuff("真言术:盾",unit)<1 and UnitCanAssist("player",unit) and not UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype)
if dun and BeeIsRun("真言术:盾",dun)
then
BeeRun("真言术:盾",dun);
return
end
抢盾函数二:
local QTd = BeeGroupMinScript('BeeRange(unit)<=40 and BeeUnitHealth(unit,"%")<=100 and BeeUnitBuff("真言术:盾",unit)<=0 and BeeUnitBuff("虚弱灵魂",unit)<=0 and UnitCanAssist("player",unit) and not UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype)
if QTd and BeeIsRun("真言术:盾",QTd) then BeeRun("真言术:盾",QTd) return end
昨天打ICC碰到的另一个脚本牧抢盾 我现在有这两个抢盾的函数 但是都不能做到顶盾效果 我的高法伤的盾不能顶掉别人的无虚弱灵魂的低法伤盾
然后抢盾效率明显不如另外一个 有没有优化方案 |
|