|
--自动驱散
grouptype="";if GetNumRaidMembers()>0 then grouptype="raid" else grouptype="party" end
local n,qusan = BeeGroupCountScript('BeeRange(unit)<=40 and BeeIsRun("驱毒术",unit)',"BeeUnitBuffInfo(unit,2,'Poison,Curse',0)>0 and not UnitIsDeadOrGhost(unit) and BeeUnitBuff('驱毒术',unit,2,1)<1 " ,grouptype)
if n>0 and BeeIsRun("驱毒术",qusan) then BeeRun("驱毒术",qusan);return;end
if n>0 and BeeIsRun("解除诅咒",qusan) then BeeRun("解除诅咒",qusan);return;end
这是其他脚本扒的,不好用,基本没驱散
|
|