[Lua] 纯文本查看 复制代码 if not IsMounted("player") and not BeeStringFind("进食",buff) and not BeeStringFind("饮水",buff) then
local JingHuaNegativeBuff = "滋养,恢复,回春术,愈合,荆棘术,灾祸,生命绽放,虚空之能,虚空之力"
if BeeUnitBuffInfo("player",2,"Curse",0)>=1 then
BeeRun("/cast 净化灵魂","player")
return
end
if BeeUnitBuffInfo("player",2,"Disease",0)>=1 and BeeTotem("净化图腾")<=0 then
BeeRun("/cast 净化图腾")
return
end
if BeeUnitBuffInfo("player",2,"Poison",0)>=1 and BeeTotem("净化图腾")<=0 then
BeeRun("/cast 净化图腾")
return
end
local JHDY = BeeGroupMinScript('BeeRange(unit)<=30 and not UnitIsDead(unit) and BeeUnitBuffInfo(unit,2,"Poison",0)>=1',"BeeUnitHealth(unit,'%')",grouptype);
if JHDY and BeeTotem("净化图腾")<=0 then
BeeRun("/cast 净化图腾")
return
end
local JHJB = BeeGroupMinScript('BeeRange(unit)<=30 and not UnitIsDead(unit) and BeeUnitBuffInfo(unit,2,"Disease",0)>=1',"BeeUnitHealth(unit,'%')",grouptype);
if JHJB and BeeTotem("净化图腾")<=0 then
BeeRun("/cast 净化图腾")
return
end
local JHA = BeeGroupMinScript('BeeRange(unit)<=40 and not UnitIsDead(unit) and BeeUnitBuffInfo(unit,2,"Curse",0)>=1',"BeeUnitHealth(unit,'%')",grouptype);
if JHA then
BeeRun("净化灵魂",JHA)
return
end
end
有什么想问的 或者其它不明白的 随时可以留言 我极尽所能回复
|