本帖最后由 grady 于 2023-4-21 05:18 PM 编辑
[Lua] 纯文本查看 复制代码 grouptype="";
if GetNumRaidMembers()>0
then
grouptype="raid"
else
grouptype="party"
end
local n,qusan = BeeGroupCountScript('BeeRange(unit)<=40 and BeeUnitHealth(unit,"%")<=100 and BeeIsRun("圣光术",unit)',"BeeUnitBuffInfo(unit,2,'血肉成灰,刺骨之寒',0)>0 and not UnitIsDeadOrGhost(unit) and BeeUnitBuff('圣光术',unit,2,1)<1 " ,grouptype)
if n>0 and BeeIsRun("圣光术",qusan)
then
BeeRun("圣光术",qusan);
return;
end
大佬,这样就可以么? |