主题: 60addons宏大全(圣骑士)

简介:部分宏需要宏大师三件套,请自行研究

admin 2017年08月05日 15350

Image



圣骑士宏

命令圣印

/script if not buffed("命令圣印") then CastSpellByName("命令圣印") end; CastSpellByName("审判")

正义圣印

/script if not buffed("正义圣印") then CastSpellByName("正义圣印") end; CastSpellByName("审判")

救赎/圣光术

if UnitIsDead("target") then CastSpellByName("救赎") else CastSpellByName("圣光术") end

圣疗术

/Cast 圣疗术

/emote 施放圣疗术给 %t

简单的一键T循环

/script if not IsCurrentAction(48) then AttackTarget() end;

/script if not buffed("正义圣印") then if buffed("十字军审判", 'target') then CastSpellByName("正义圣印") else if not buffed("十字军审判", 'target') then if not buffed("十字军圣印") then CastSpellByName("十字军圣印") else if not buffed("十字军审判", 'target') then CastSpellByName("审判") end end end end end

/cast 神圣之盾

嘲讽 (自动攻击 + 正义圣印 + 审判)

/script if not IsCurrentAction(48) then AttackTarget() end;

/script if not buffed("正义圣印") then CastSpellByName("正义圣印") else if buffed("正义圣印") then CastSpellByName("审判") end end

AoE伐木:智慧圣印 + 智慧审判 + 奉献 + 神圣之盾 + 庇护祝福 + 自动攻击

/script if not IsCurrentAction(48) then AttackTarget() end;

/script if GetUnitName("target")==nil then TargetNearestEnemy() end

/script if not buffed("智慧审判", 'target') then if not buffed("智慧圣印") then CastSpellByName("智慧圣印") end end

/script if not buffed("智慧审判", 'target') then CastSpellByName("审判") end

/script if not buffed("智慧圣印") then CastSpellByName("智慧圣印") end

/script if not buffed("庇护祝福") then CastSpellByName("庇护祝福") end

/cast 奉献

/cast 庇护祝福

圣佑术

/cast 圣佑术

/unbuff 圣佑术

这些宏对QS练级有用:

1:

/run local a,b="力量祝福",UnitName("target")if b==nil then return end if BuffMem==nil then BuffMem={}end if not IsControlKeyDown() then BuffMem[b]=a end CastSpellByName(a)

2:

/run local a=UnitName("target")or""if BuffMem and BuffMem[a]then if IsControlKeyDown()then UIErrorsFrame:AddMessage(BuffMem[a],1,1,0)else CastSpellByName(BuffMem[a])end else UIErrorsFrame:AddMessage(format("没有祝福保存: %s.",a),1,0,0)end

说明:第一个宏会施放“力量祝福”(你可以替换成任何祝福)并将其保存为当前目标。注意,保存不是永久性的,在重新加载UI或小退时将被重置。第二个宏将为当前目标施放保存的祝福,或显示保存的祝福。

请注意,实际上你可以让这个宏替换大祝福。想实施大祝福需要通过更换` unitname `成` unitclass `

比如:

/run local a,b="强效力量祝福",UnitClass("target")if b==nil then return end if BuffMem==nil then BuffMem={}end if not IsControlKeyDown() then BuffMem[b]=a end CastSpellByName(a)

/run local a=UnitClass("target")or""if BuffMem and BuffMem[a]then if IsControlKeyDown()then UIErrorsFrame:AddMessage(BuffMem[a],1,1,0)else CastSpellByName(BuffMem[a])end else UIErrorsFrame:AddMessage(format("没有祝福保存 %s.",a),1,0,0)end

与之前一样,第一次记住目标的职业并为该职业保存祝福,第二个则基于目标职业强制释放保存的祝福。

你可能需要为每个祝福做一个宏(使用第一个宏为模板)它会根据目标的职业施放保存的祝福。

你也可以做一个宏加载预设,如这样:

/run BuffMem = {法师 = "智慧祝福", 战士 = "力量祝福" ...}

如果你确定是固定的加祝福模式,就改为以下:

/run local b={法师="智慧祝福",战士="力量祝福",...}if UnitExists("target")then CastSpellByName(b[UnitClass("target")])end





其他老外大神分享的宏:

正义圣印 + 自动目标 + 自动攻击  48为攻击动作栏编号 点击查看动作栏编号

/script if not IsCurrentAction(48) then AttackTarget() end;

/script if GetUnitName("target")==nil then TargetNearestEnemy() end

/script if not buffed("正义圣印") then cast("正义圣印")end;

你也可以用其他圣印取代正义圣印!

智慧圣印 + 神圣之盾 + 奉献 (AoE)

/script if buffed("智慧圣印") and buffed("神圣之盾") then CastSpellByName("奉献"); end

/script if buffed("智慧圣印") then cast("神圣之盾") else cast("智慧圣印"); end

你也可以添加自动攻击和自动目标,如:

/script if not IsCurrentAction(48) then AttackTarget() end;

/script if GetUnitName("target")==nil then TargetNearestEnemy() end

/script if buffed("智慧圣印") and buffed("神圣之盾") then CastSpellByName("奉献"); end

/script if buffed("智慧圣印 ") then cast("神圣之盾") else cast("智慧圣印"); end

清除所有 debuffs

/cast 圣盾术

/unbuff 圣盾术

停止施法,如果目标血量95%以上(防止过量)

/script CastSpellByName("圣光闪现"); if (UnitHealth('target')/UnitHealthMax('target')>0.95) then SpellStopCasting() end

这将对你的目标获得95%血量以上的时候避免过量治疗而取消你的法术。注意:你需要有针对性的目标单位,所以它不会对自己自动使用。只有你先瞄准自己然后再治疗,它才会起作用。

官方插件群:631749007