/ z=random(48); / if z==1 then RunMacro("对职") end; / if z==3 then SendChatMessage(y3,"yell") end; / if z==5 then SendChatMessage(y5,"yell") end; / if z==7 then SendChatMessage(y7,"yell") end; / if z==9 then SendChatMessage(y9,"yell") end; / if z==11 then SendChatMessage(y11,"yell") end; / if z==13 then SendChatMessage(y13..ZY,"yell") end; / if z==15 then SendChatMessage(y15,"yell") end; / if z==17 then SendChatMessage(y17,"yell") end; / if z==19 then SendChatMessage(y19,"yell") end; / if z==21 then SendChatMessage(y21,"yell") end; / if z==23 then SendChatMessage(y23,"yell") end; / if z==25 then SendChatMessage(y25,"yell") end; / if z==2 then SendChatMessage(t2) end; / if z==4 then SendChatMessage(t4) end; / if z==6 then SendChatMessage(t6) end; / if z==8 then SendChatMessage(t8) end; / if z==10 then SendChatMessage(t10) end; / if z==12 then SendChatMessage(t12) end; / if z==14 then SendChatMessage(t14) end; / if z==16 then SendChatMessage(t16) end; / if z==18 then SendChatMessage(t18) end; / if z==20 then SendChatMessage(t20) end; / if z==22 then SendChatMessage(t22) end;
宏2:对职
/ ZY=UnitClass("target"); / if ZY=="萨满祭司" then SendChatMessage(c1,"yell") end;if ZY=="德鲁伊" then SendChatMessage(c2,"yell") end;if ZY=="术士" then SendChatMessage(c3,"yell") end;if ZY=="牧师" then SendChatMessage(c4,"yell") end;if ZY=="猎人" then SendChatMessage(c5,"yell") end;if ZY=="战士" then SendChatMessage(c6,"yell") end;if ZY=="盗贼" then SendChatMessage(c7,"yell") end;if ZY=="圣骑士" then SendChatMessage(c8,"yell") end;if ZY=="法师" then SendChatMessage(c9,"yell") end;