|
local Tbl = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
--团队框体
grouptype=""
if GetNumRaidMembers()>0
then
grouptype="raid"
else
grouptype="party"
end
--刷血部分
if BeeUnitCastSpellName("player")=="快速治疗" or
BeeUnitCastSpellName("player")=="联接治疗" or
BeeUnitCastSpellName("player")=="神圣赞美诗" or
BeeUnitCastSpellName("player")=="希望圣歌" or
BeeUnitCastSpellName("player")=="恢复" or
BeeUnitCastSpellName("player")=="真言术:盾" or
BeeUnitCastSpellName("player")=="愈合祷言" or
BeeUnitCastSpellName("player")=="守护之魂" or
BeeUnitCastSpellName("player")=="强效治疗术" then return;end
--愈合祷言
local YHZY = BeeGroupMinScript('BeeRange(unit)<=40 and BeeIsRun("愈合祷言",unit) and BeeUnitHealth(unit,"%")<100 and BeeUnitBuff("愈合祷言",unit)<1 and UnitCanAssist("player",unit) and not UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype)
if YHZY and BeeIsRun("愈合祷言",YHZY)
then
BeeRun("愈合祷言",YHZY);return;end
--守护之魂
local SHZH = BeeGroupMinScript('BeeRange(unit)<=30 and BeeIsRun("守护之魂",unit) and BeeUnitHealth(unit,"%")<25and BeeUnitBuff("守护之魂",unit)<1 and UnitCanAssist("player",unit) and not UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype)
if HF and BeeIsRun("守护之魂",SHZH)
then
BeeRun("守护之魂",SHZH);return;end
求各位大佬看看是语法用错还是什么,其他的都可以正常运行 守护之魂焦点血量达到25了还是没有自动释放
|
|