targetenemy [noharm][dead](targetenemy)
魔兽怀旧服:很多人想要却找不到的鼠标指向省格子牧师常用宏分享
作者:NGA-bclz
我是无畏服部落的乱了头发 原来在卡拉赞和军团要塞玩了好久的联盟 叫边城娘子 有认识或一起玩过的战友希望留个言。
一分部网上找的 但好多功能性的东西 还是得自己写 现在分享给站在神圣大地上的牧师们。
简单的说自己喜欢简单的游戏界面 但经常要拉出好多动作条设置好多快键才能够用 所以才自己整理了一下 发出来。
平时是常用技能 按SHIFT键可以变成其它技能或高级技能 鼠标需要有目标 同时在技能快键设置里要释放SHIFT相关的键子 不然SHIFT键不生效,不想把什么都介绍的很全面 能看懂的自然知道我一个宏里好多技能按不同的组合键或有不同的目标会有不同的效果 看不懂的 就全录惊喜吧。
1盾/痛绑定 因为都是瞬发 所以绑定在一起-------------------------------------------------------------------------------#showtooltip [mod:alt][help]真言术:盾;[harm]暗言术:痛;暗言术:痛/stopcasting/施放 [@mouseover,harm,nodead]暗言术:痛;[mod:alt,@player][@mouseover,help,stance:0] [help,stance:0]真言术:盾;[]暗言术:痛-------------------------------------------------------------------------------
2恢复/惩击-------------------------------------------------------------------------------#showtooltip [mod:alt][help]恢复;[harm]惩击;惩击;/stopcasting/施放 [mod:alt,@player]恢复;[mod:shift,help,@mouseover]恢复;[@mouseover,harm,nodead]惩击;[nomod,@mouseover,help,stance:0][help,stance:0]恢复(等级 3);[]惩击-------------------------------------------------------------------------------
3快速治疗/心灵震爆-------------------------------------------------------------------------------#showtooltip [mod:alt][help]快速治疗;[harm]心灵震爆;心灵震爆/stopcasting [@mouseover,help] [help]/施放 [@mouseover,harm,nodead]心灵震爆;[mod:alt,@player][@mouseover,help,stance:0] [help,stance:0]快速治疗;[]心灵震爆-------------------------------------------------------------------------------
4治疗术/神圣之火-------------------------------------------------------------------------------#showtooltip [mod:alt][help]治疗术;[harm]神圣之火;神圣之火;/stopcasting [@mouseover,help] [help]/施放 [mod:alt,@player]治疗术;[mod:shift,help,@mouseover]治疗术;[@mouseover,harm,nodead]神圣之火;[nomod,@mouseover,help,stance:0][help,stance:0]治疗术(等级 2);[]神圣之火-------------------------------------------------------------------------------
5强效治疗术/射击-------------------------------------------------------------------------------#showtooltip [mod:alt][help]强效治疗术(等级 1);[harm]射击;射击/stopcasting/施放 [@mouseover,help] [help]心灵专注/施放 [mod:alt,@player]强效治疗术;[mod:shift,help,@mouseover]强效治疗术;[@mouseover,harm,nodead]射击;[nomod,@mouseover,help,stance:0][help,stance:0]强效治疗术(等级 1);[]射击-------------------------------------------------------------------------------
6治疗祷言-------------------------------------------------------------------------------#showtooltip 治疗祷言/stopcasting/施放 心灵专注/cast [nomod] 治疗祷言(等级 1); [mod:ctrl] 治疗祷言; [mod:shift] 治疗祷言-------------------------------------------------------------------------------
7束缚亡灵-------------------------------------------------------------------------------#showtooltip/stopcasting/cast [target=focus,harm,nodead,modifier:mod]束缚亡灵;[target=mouseover,harm,nodead]束缚亡灵;束缚亡灵/脚本 if(GetRaidTargetIndex("mouseover")~=8)then SetRaidTarget("mouseover",8);end-------------------------------------------------------------------------------
8神圣新星-------------------------------------------------------------------------------#showtooltip 神圣新星/施放 [noharm] 神圣新星(等级 1);神圣新星-------------------------------------------------------------------------------
9抓贼-------------------------------------------------------------------------------#showtooltip 暗言术:痛/stopcasting/targetenemy [help][dead][noexists]/equip [mod:shift]地精火箭头盔/施放 [mod:shift,@mouseover,harm][mod:shift,@target,harm,nodead]地精火箭头盔/施放 [@mouseover,harm] [@target,harm,nodead] 暗言术:痛-------------------------------------------------------------------------------
10BUFF-------------------------------------------------------------------------------#showtooltip/cast [modifier:ctrl,button:2]精神祷言;[modifier:ctrl,button:1] 神圣之灵;[modifier:alt,button:2] 坚韧祷言;[modifier:alt,button:1] 真言术:韧;[modifier:shift,button:2] 暗影防护祷言;[modifier:shift,button:1] 防护暗影;心灵之火-------------------------------------------------------------------------------
11渐隐术-------------------------------------------------------------------------------#Showtooltip 渐隐术/run local n,i,j;j=0;for i=1,16 do n=UnitBuff("player", i);if n=="心灵之火" then j=1 end;end;if j==0 then SendChatMessage("心灵之火丢失!","whisper",nil,UnitName("player")); end;/cast 渐隐术-------------------------------------------------------------------------------
12专业-------------------------------------------------------------------------------#showtooltip/cast [mod:ctrl] 裁缝;[mod:alt] 烹饪;[mod:shift] 急救;工程学-------------------------------------------------------------------------------
13绑带-------------------------------------------------------------------------------#showtooltip/cast 急救/run for i=1, GetNumTradeSkills() do a,_,b=GetTradeSkillInfo(i) if (i==2 or i==6 or i==11) and b>0 then DoTradeSkill(i, b) break end end/script UIErrorsFrame:Clear()-------------------------------------------------------------------------------
14上马宏-------------------------------------------------------------------------------#showtooltip 紫色骷髅战马/equipslot [mounted] 13 比斯巨兽之眼;/equipslot [mounted] 14 埃雷萨拉斯皇家徽记;/dismount [mounted];/equipslot [nomounted] 13 棍子上的胡萝卜;/cast [nomounted]紫色骷髅战马;-------------------------------------------------------------------------------
15吃喝-------------------------------------------------------------------------------#showtooltip/施放 [btn:2]蚌肉大餐/施放 [combat]强效治疗药水/施放 魔法甜面包/施放 烤鹌鹑/stopmacro [nogroup:party]/脚本 c=string.format("%d", UnitHealth("player")/ UnitHealthMax("player")*100) SendChatMessage(c.."% 回血中……", "party",nil, 1)-------------------------------------------------------------------------------#showtooltip/施放 [btn:2]夜鳞鱼汤/施放 [combat]超强法力药水/施放 魔法晶水/施放 晨露酒/脚本 UIErrorsFrame:Clear()/stopmacro [nogroup:party]/脚本 c=string.format("%d", UnitPower("player")/ UnitPowerMax("player")*100) SendChatMessage(c.."% 回蓝中……", "party",nil, 1)-------------------------------------------------------------------------------
进阶部分 其实主要是为了喊话,先建几个公共部分-------------------------------------------------------------------------------
1起名CB 建完放着就行 不用管-------------------------------------------------------------------------------CreateFrame("frame",'F')F:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")return function(t)c=InActiveBattlefield()and"SAY"or IsInRaid()and"RAID"or IsInGroup()and"PARTY"or"EMOTE"SendChatMessage(t,c)end,i and"{rt"..i.."}"or '',CombatLogGetCurrentEventInfo-------------------------------------------------------------------------------
2起名JX 同样建完放着不用管-------------------------------------------------------------------------------i=GetRaidTargetIndex("target")local d,b,c=loadstring(GetMacroBody("CB"))()F:SetScript("OnEvent",function()C={c()}m=C[2]:find('[AE][PF][PR]')and C[13]=="心灵尖啸"and C[4]==UnitGUID("player")and d(b..C[9].." >>已被我恐惧")end)-------------------------------------------------------------------------------
3起名QS-------------------------------------------------------------------------------i=GetRaidTargetIndex("target")local d,b,c=loadstring(GetMacroBody("CB"))()F:SetScript("OnEvent",function()C={c()}m=C[2]=="SPELL_DISPEL"and C[4]==UnitGUID("player")and d("驱散→"..b..C[9].."的 ["..C[16].."] ")end)-------------------------------------------------------------------------------
4驱散-------------------------------------------------------------------------------#showtooltip/run local a=loadstring(GetMacroBody("QS"))()/stopcasting/cast [mod:alt,@player] 驱散魔法; [@mouseover,nomod] 驱散魔法; [@mouseover,mod:ctrl] 驱除疾病; [@mouseover,mod:shift] 驱除疾病-------------------------------------------------------------------------------
5心灵尖啸-------------------------------------------------------------------------------#showtooltip 心灵尖啸/run local a=loadstring(GetMacroBody("JX"))()/stopcasting/cleartarget/script SetCVar("targetNearestDistance", 8)/targetenemy/script SetCVar("targetNearestDistance", 45)/cast [exists]心灵尖啸
声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送至邮件举报,一经查实,本站将立刻删除。转载务必注明出处:http://www.hixs.net/article/20231214/169625710797797.html