|
本帖最后由 高搞搞搞搞 于 2018-11-5 23:20 编辑
RT
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"SliceDice") then f=1;break;end;end;if p>2 and not f then c("切割");elseif p>4 and f then c("剔骨");else c("出血");end;
这是个3星切割。无星就出血,有切割且5星就剔骨的一键输出宏,
请高手改成有5星破甲,无星就出血,对方有破甲且5星就剔骨
我研究了一下~~把UnitBuff("player",i)改成UnitDeBuff("target",i) SliceDice(这个应该是切割技能的英文)改成 破甲或者英文 Expose Armor还是不行~~求大神指点指点
|
|