变羊终结喊话宏 变羊终结喊话宏 功能说明 直接点击,羊当前目标 若在队伍/团队中会在喊话频道中报告 目标羊 的标记以及名字 alt/ctrl/shift点击,羊焦点目标 若在队伍/团队中会在喊话频道中报告 焦点羊 的标记以及名字 Code: /施放 [target=focus,mod][]变形术 /stopmacro [nogroup][nomod,noexists] /脚本 x={"星形","圆形","菱形","三角","月亮","方块","十字","骷髅","无"}j=IsModifiedClick()i=GetRaidTargetIndex(j and"focus"or"target")SendChatMessage((j and"%f[{"or"%t[{")..x[i and i or 9].."}]已羊,请注意","YELL")
希望采纳
变羊宏 /施放 [target=focus,mod][]变形术 /脚本 r=GetNumRaidMembers()p=GetNumPartyMembers()t="target"for i=1,r>p and r-1 or p do u=(r>p and"raid"or"party")..i if UnitIsUnit(u..t,IsModifiedClick()and"focus"or t)then SendChatMessage("别打羊!","WHISPER",nil,UnitName(u))end end 反制宏 /stopcasting /施放 [target=focus,mod][target=mouseover,harm][]法术反制 /脚本 u=UnitName f='focus'm='mouseover't='target'a=IsModifiedClick()and f or u(m)and m or t if 0==GetSpellCooldown('法术反制')and u(a)then SendChatMessage(u(a)..' 已被反制!','YELL')end