处理 SSI 文件时出错
您的位置:游民星空 >> 魔兽世界 >> 圣骑士经验 >> 正文

实用型圣骑士宏

发布时间: [2006-11-22]  游民星空 http://www.gamersky.com

网上有很多骑士宏,,但大多是些综合类, 针对性的比较少.

 

这里借鉴了很多高人的宏,并做成了职业专用,希望大家喜欢.

 

_____________________________ 分割线_____________________________________

1 智能干涉:
自动寻找附近的牧师,骑士使用干涉,成功后,才会在团队中提示
/脚本 for j=40,1,-1 do TargetNearestFriend();x="target"  if( UnitClass(x)=="牧师") or ( UnitClass(x)=="圣骑士")and(UnitIsPlayer(x))  then CastSpellByName("神圣干涉") end  end
/脚本 if GetActionCooldown(1)>0 then SendChatMessage("<干涉>已启动","RAID") end;

____________________厚道的分割线_____________________________________
2 圣疗宏:
判断对方血量,30%以下,才使用圣疗,成功后,才会在团队中提示
/Script if  UnitHealth("target") <30 then CastSpellByName("圣疗术")  if GetActionCooldown(1)>0 then SendChatMessage("对<%T>使用了[圣疗]","RAID") end;end

____________________厚道的分割线____________________________________

3 对目标使用辅助技能
对目标使用牺牲,自由,保护3种祝福,并M语通知对方,如果目标不能使用,则对自己使用,不丢失目标

牺牲
/Script if GetActionCooldown(1)>0 then else CastSpellByName("牺牲祝福") if GetActionCooldown(1)>0 then SendChatMessage("你已获得牺牲祝福,持续30秒","WHISPER","通用语",UnitName"Target") end;end

自由
/Script if GetActionCooldown(1)>0 then else CastSpellByName("自由祝福") if GetActionCooldown(1)>0 then SendChatMessage("你获得自由祝福,持续10秒","WHISPER","通用语",UnitName"Target") end;end
/script if SpellIsTargeting() then TargetUnit("player");end

保护
/Script if GetActionCooldown(1)>0 then else CastSpellByName("保护祝福") if GetActionCooldown(1)>0 then SendChatMessage("你已获得物理无敌10秒","WHISPER","通用语",UnitName"Target") end;end
/script if SpellIsTargeting() then TargetUnit("player");end

____________________厚道的分割线____________________________________
4 审判
根据身上有的光明圣印,或者智慧圣印,审判时进行提示,其他圣印则不提示,也不影响使用

可以把宏替代掉你的[审判技能]图标
/Script local i,b,f;for i=1,16 do b=UnitBuff("player",i); if b and strfind(b,"HealingAura") then f=1;SendChatMessage("光明审判<%T>","say") else if b and strfind(b,"RighteousnessAura") then f=1;SendChatMessage("<%T>被智慧审判","say") end;end;end
/施放 审判

____________________厚道的分割线____________________________________
5 治疗
配合DYBUFF(置顶的连接里有,非常好用的智能治疗插件)使用的团队治疗宏,

打开下方首饰(建议放优越护符),并启动插件
/script UseInventoryItem(14);
/dyheal

____________________厚道的分割线____________________________________

7 来一个超级必杀宏:
1 双开首饰
2 有审判则使用审判
3 当目标20%以上血时,有神恩震击则使用神恩震击
4 当目标20%以下血时,则使用愤怒之锤

/script UseInventoryItem(13);
/script UseInventoryItem(14);
/施放 神恩术
/script SpellStopCasting();
/施放 审判
/script SpellStopCasting();
/script if UnitHealth("target") > 20 then CastSpell([color=Red]104,3[/color]) else if UnitHealth("target") < 20  then CastSpell([color=Red]75,3[/color]) end;end
红字部分104,3指的是神圣震击, 75,3 是愤怒之锤
它代表你的技能在技能书中的位置:
比如.我的震击就是104号,技能书第3页(第一页是综合,第2页是惩戒,第3页是神圣,第4页是保护)
要查技能编号,请用这个宏:
/script local t='spell';for i=1,250 do local n,s=GetSpellName(i,t);if n then DEFAULT_CHAT_FRAME:AddMessage('['..i..']'..n..'('..s..')');end end
修改你的技能编号,宏就可以用了

相关文章:
·给新手猎人的一点PK小经验
·兽王终结天赋
·奶德27-0-34副本天赋
·法师很弱么?不见得吧
·毒毁 JJC试用
发表评论】 【我要投稿】 【魔兽论坛】 【离开这里

发表评论: 查看所有评论 
昵称 *

魔兽图库
处理 SSI 文件时出错
处理 SSI 文件时出错
处理 SSI 文件时出错