|
local Tbl = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
--是否团队队伍
if GetNumRaidMembers()>0 then
grouptype="raid"
else
grouptype="party"
end
BeeRun("/console Sound_EnableSFX 0 ") --开始技能静音
local Unit = BeeGroupMinScript(' BeeIsRun("驱毒术",unit) and not UnitIsDead(unit) and BeeUnitBuffInfo(unit,2,"Magic",0)>=1',"BeeUnitHealth(unit,'%')","party")
if Unit and BeeIsRun("驱毒术",Unit) then
BeeRun("驱毒术",Unit )
end
local Unit = BeeGroupMinScript(' BeeIsRun("驱毒术,",unit) and not UnitIsDead(unit) and BeeUnitBuffInfo(unit,2,"Disease",0)>=1',"BeeUnitHealth(unit,'%')","party")
if Unit and BeeIsRun("驱毒术",Unit) then
BeeRun("驱毒术",Unit )
end
local Unit = BeeGroupMinScript(' BeeIsRun("驱毒术",unit) and not UnitIsDead(unit) and BeeUnitBuffInfo(unit,2,"Poison",0)>=1',"BeeUnitHealth(unit,'%')","party")
if Unit and BeeIsRun("驱毒术,",Unit) then
BeeRun("驱毒术",Unit )
end
BeeRun("/console Sound_EnableSFX 1 ") --技能结束静音
这是抄其他大佬的驱散脚本,但是一个人中毒的话会连续驱散好几次 把驱毒改成解除诅咒没用
求大佬指点
|
|