《秒表宏》
由于新手战士上断筋总是忘了补······所以根据以前玩戒律牧监视盾回蓝CD的宏改进了下
分为三部分
一:
Code (c):
/run V=CreateFrame(
"FRAME")
/run function SW(x) Stopwatch_StartCountdown(0,0,x) Stopwatch_Play() end
/run StopwatchFrame:SetMovable(
true)
二:
Code (c):
/run StopwatchFrame:SetMovable(
false)
/run StopwatchTabFrame:SetScale(.01)
作用:使秒表不可拖动并且开始计时
(这两个跟技能本身并没有关系,只是控制秒表的,所以如果在后面的宏改技能的话不会受到影响)
三:
Code (c):
/cast 断筋
/run local f=RbA or CreateFrame(
"Frame",
"RbA") f:SetScript(
"OnEvent",function(s,e,u,p)
if u==
"player" and p==
"断筋" then SW(13) end end) f:RegisterEvent(
"UNIT_SPELLCAST_SUCCEEDED")
作用:只有正确在目标身上施放断筋后秒表倒计时13秒后就会叮的一声响········(至于为什么是13秒而不是15秒,本人反应比较慢,所以预留2秒的时间来准备······)
特点:只有技能正确释放后才会运行秒表提醒,在断筋刷新后也会重新开始计时,目标死亡,消失,解掉断筋后,提醒依然存在......而且
每次登录游戏都需要手动拖出秒表,然后在依次点一边宏1,2宏3才会正常运行
举一反三
这个(套)宏的基本原理就是正确释放法术后开始秒表计时提醒
所以完全可以套用在其他法术上用来监视DEBUFF/CD
触发类型的技能不适用,比如想监视
巨人打击的20s CD
但可以用来监视巨人的BUFF6秒持续······
Code (c):
/cast [color=red]断筋[/color]
/run local f=RbA or CreateFrame(
"Frame",
"RbA") f:SetScript(
"OnEvent",function(s,e,u,p)
if u==
"player" and p==
"[color=red]断筋[/color]" then SW([color=limegreen]13[/color]) end end) f:RegisterEvent(
"UNIT_SPELLCAST_SUCCEEDED")
红色部分填写技能,绿色部分填写需要的提醒时间(单位/秒)
战场部分
《报点宏》
Code (c):
/script
if not ce or not le or GetTime()-le>10 then ce=0; end; le=GetTime(); ce=ce+1; SendChatMessage( GetMinimapZoneText()..
"有"..ce..
"个敌人来袭!",
"instance_chat")
省去打字,点几下就会自动在BG频道喊XXX几个敌人人来袭
(在个别战场中无法正确报出位置,比如峡谷)
《报平安宏》
Code (c):
/script t=GetSubZoneText();
if t==
"" then local x,y=GetPlayerMapPosition(
"player");t=string.format(
"%d,%d",x*100,y*100);end;SendChatMessage(
"["..t..
"] 安全~~",
"instance_chat")
(跟上面一样在个别战场无法正确报出位置)
施法喊话宏
比较大众了
Code (c):
/cast 盾墙
/脚本 F=F or CreateFrame(
"frame")F:RegisterEvent(
"UNIT_SPELLCAST_SUCCEEDED")F:SetScript(
"OnEvent",function(_,_,a,b)
if a==
"player" and b==
"盾墙"then SendChatMessage(
"盾墙已开,治疗来一口啊!~~",
"yell")end;end)
/cast
技能名
/脚本 F=F or CreateFrame("frame")F:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")F:SetScript("OnEvent",function(_,_,a,b)if a=="player" and b=="
技能名"then SendChatMessage("
喊话的内容","yell")end;end)
效果:释放成功才喊话,不会因为按多了而刷屏
施法表情宏
Code (c):
#showtooltip 斩杀
/cast 斩杀
/cast 英勇打击
/run local f=RbA or CreateFrame(
"Frame",
"RbA") f:SetScript(
"OnEvent",function(s,e,u,p)
if u==
"player" and p==
"斩杀" then DoEmote(
"rasp",
"%T") end end) f:RegisterEvent(
"UNIT_SPELLCAST_SUCCEEDED")
作用:释放
斩杀 英勇 然后(只有打出斩杀后)做/粗鲁 的表情。
/run local f=RbA or CreateFrame("Frame","RbA") f:SetScript("OnEvent",function(s,e,u,p) if u=="player" and p=="
技能" then DoEmote("
表情","%T") end end) f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
(更改表情的时候请用英文格式,对照的目录请移步 表情英文目录 ...
/attacktarget [target]
/bark
/beckon [target]
/beg [target]
/bite [target]
/blink
/blow
/boggle
/bonk
/bored
/bow [target]
/brb
Say you will Be Right Back
/bye
/cat
/chicken [target]
make a chicken bawking sound at someone
/charge
/cheer [target]
/chew
/chuckle [target]
/clap
/congratulate
/comfort [target]
/cough [target]
/cry [target]
/curtsey [target]
/dance [target]
/drink
/drool [target]
/doh
/doom [target]
/eat
/eye [target]
/excited
/farewell
/fart [target]
/flee
/flirt [target]
/flap [target]
same concept to /chicken command
/followme
/gasp [target]
/gloat [target]
/golfclap [target]
/goodbye
/greet [target]
/grin [target]
/groan [target]
/guffaw [target]
/happy [target]
/healme
/hello
/helpme
/hi
/hug [target]
/kiss [target]
/kneel [target]
/laugh [target]
/lie [target]
you lie down
/lol
/lost
/love [target]
/map
/moan [target]
/mock [target]
/moo [target]
you moo
/moon [target]
/mourn [target]
/no
/nod
/oom
out of mana (spoken and emoted)
/pick [target]
/played
tells you how long you have played in total and at your current level
/plead
/point [target]
point at something
/poke [target]
/ponder [target]
/praise
/rawr
/roar [target]
/rofl [target]
/scratch [target]
/sexy
/shindig [target]
/shoo [target]
/shrug
/sigh [target]
/silly [target]
tell a joke
/sit
sit down
/slap [target]
/sleep
/smile [target]
/sniff [target]
/sorry [target]
/spit [target]
/stink [target]
/tap [target]
/taunt [target]
/tease
/thank [target]
/threaten [target]
/tickle [target]
/train
/victory [target]
/violin [target]
/wave [target]
/wait [target]
/wink [target]
/welcome
/woot
makes you cheer
/wrath [target]
/yawn [target]
/yay
/yes
这个嘲讽的能力不如那种
Code (c):
/表情
/cast 技能
来的嘲讽,但也不会因为过度嘲讽而招至队友的抱怨