请制宏高手过目为什么这个宏没用
RT/script local p,c,d,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do d=UnitDebuff("target",i);if d and strfind(d,"破甲") then f=1;break;end;end;if p>4 and not f then c("破甲");elseif p>4 and f then c("剔骨");else c("出血");end;
此宏的目的是:出血攒星。然后判定目标身上有无破甲DEBUFF 没有就5星破甲。
有破甲DEBUFF则5星剔骨 。
可是应用当中只会无限释放5星破甲、、而且是不管目标身上有无破甲DEBUFF。。
请高手指点
1.12 没办法判断目标身上debuff 吧? 这个好像需要插件的配合使用 才能判断目标身上的debuff 112BUFF&DEBUFF判断函数插件
http://www.luacn.net/thread-14481-1-1.html duguquba 发表于 2018-11-9 08:08
112BUFF&DEBUFF判断函数插件
http://www.luacn.net/thread-14481-1-1.html
感谢。我去研究一下
这个好像需要插件的配合使用
页:
[1]