法师和圣骑士的是团队/小队自适应版,solo无来自效原因是法师,圣骑士只有一半队投翻片硫专适挥油种解除魔法,而牧师,德鲁伊,萨满祭司有两种,限于25爱取哪针6字节写不下了==================批德鸡心方举=========团队专用===========================牧师版/scriptlo许以cals,p,i,d,t,_={[Magic]=驱散魔法,[Disease]=驱除疾病};fori=1,40dop=raid..夫尽货套阿反贵调巴早i;ifCheckInteractDistance(p,4)thend,_,t粮他外设画拉困束兰矛=UnitDebuff(p,1,1);ifdthenTargetUnit(p);威妈沉五另冷这良及刑CastSpellByName(s[t]);TargetLastTarget();阶克误厚察河毛议break;end;end;end德鲁伊版/scriptlocals,p,i,d,t,_={[Poison]=驱是助变县降洋抗毒术,[Curse]=解除诅咒};fori=1,40dop=raid..i;ifCheckInteractDistance(p,4)t质销石hend,_,t=Uni她学笔善tDebuff(p,1,1);ifdthenTargetUnit(p);CastSpellByName(s[t]);TargetLastTarget();break;end;end;end萨满祭司版/scriptlocals,p,i,d,t,_={[Poison]=消毒术,[Diseas360问答e]=袪病术};fori=1,40dop=raid..i;ifCheckInteractDistance(p,4)thend,_,t=Unit父菜镇随培形受引抗紧题Debuff(p,1,1);ifdthenTa难饭岁rgetUnit(p);CastSpellByName(s[t]);TargetLastTarget();break;end;end;end==================吗念过攻掉另磁渐发========晶夫派有车=团队,小队自适应===========================法师版/scriptlocaln,p,t,i,d=4,par普察源ty;ifUnitInRaid成级协资危史半去(player)thenn=40;p=raid;end;fori=1,ndot=p..i;ifUnitDebuff(t,1,1)andCheckInteractDistance(t,4)thenTargetUnit(t);CastSpellByName(解除次级诅咒);TargetLastTarget();break;end;end;圣骑士版/scriptlocaln,p,t,i,d=4,party;ifUnitInRaid(player)thenn=40;p=raid;end;fori=1,ndot=p..i;ifUnitDebuff(t,1,1)andCheckInteractDistance(t,4)thenTargetUnit(t);CastSpellByName(清洁术);TargetLastTarget();break;end;end;
标签:插件