|
发表于 2023-9-1 10:09:29
|
显示全部楼层
本帖最后由 懒动行不行 于 2023-9-1 10:12 AM 编辑
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,40 do b=UnitDebuff("target",i);if b and strfind(b,"破甲") then f=1;break;end;end;if p>0 and not f then c("破甲");elseif p==5 and f then c("剔骨");else c("邪恶攻击");end;
试试看这个,如果上面不行再试试下面
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,40 do b=UnitDebuff("target",i);if b and string.find(b,"破甲") then f=1;break;end;end;if p>0 and not f then c("破甲");elseif p==5 and f then c("剔骨");else c("邪恶攻击");end;
注意看下复制到宏里面的内容是否完整
|
|