|
|

楼主 |
发表于 2023-3-11 10:09:24
|
显示全部楼层
--智力
local grouptype="";
if GetNumRaidMembers()>0
then
grouptype="raid";
local dn= BeeGroupMinScript('BeeRange(unit)<=40 and BeeUnitBuff("奥术光辉",unit,2,1)<10 and BeeUnitBuff("奥术智慧",unit,2,1)<10 and UnitCanAssist("player",unit) and not UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype);
if dn and BeeRange(dn)<=40
then
BeeRun("奥术光辉",dn);
return;
end;
else
grouptype="party";
local xn= BeeGroupMinScript('BeeRange(unit)<=40 and BeeUnitBuff("奥术光辉",unit,2,1)<10 and BeeUnitBuff("奥术智慧",unit,2,1)<10 and UnitCanAssist("player",unit) and not UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype);
if xn and BeeRange(xn)<=40
then
BeeRun("奥术智慧",xn);
return;
end;
end;
--火甲
if not UnitIsDeadOrGhost("player") and BeePlayerBuffTime("熔岩护甲")<0 and not BeeUnitCastSpellName("player")
then
BeeRun("熔岩护甲");
return;
end; |
|