宏推荐: | | 版本: | 1.12 | 宏命令分类: | 德鲁伊 | 宏命令代码: | /script local n,s,k,j,d,f={"rFall","tSwar","eFire"},{"月火术\","虫群","精灵之火\"};for k=1,3 do f=nil;for j=1,16 do d=UnitDebuff("target",j);if d and strfind(d,n[k]) then f=1;break;end;end;if not f then CastSpellByName(s[k]);break;end;end; |
【一键 精灵之火 + 月火 + 虫群 】
有虫群的:
/script local n,s,k,j,d,f={"rFall","tSwar","eFire"},{"月火术\","虫群","精灵之火\"};for k=1,3 do f=nil;for j=1,16 do d=UnitDebuff("target",j);if d and strfind(d,n[k]) then f=1;break;end;end;if not f then CastSpellByName(s[k]);break;end;end;
没有虫群的:
/script local n,s,k,j,d,f={"rFall","eFire"},{"月火术\","精灵之火\"};for k=1,2 do f=nil;for j=1,16 do d=UnitDebuff("target",j);if d and strfind(d,n[k]) then f=1;break;end;end;if not f then CastSpellByName(s[k]);break;end;end; |
|