Skip to content

Instantly share code, notes, and snippets.

@martinjlowm
Created April 2, 2010 21:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinjlowm/353713 to your computer and use it in GitHub Desktop.
Save martinjlowm/353713 to your computer and use it in GitHub Desktop.
if (select(2, UnitClass("player")) ~= "PRIEST") then
return
end
local _, bindings = ...
local priestBase = {
[1] = "s|Holy Fire",
[2] = "s|Smite",
[3] = "s|Mind Blast",
[4] = "m|/cast [@mouseover,exists,help,nodead] Renew; [@mouseover,exists,harm,nodead] Shadow Word: Pain; [help,nodead] Renew; [harm,nodead] Shadow Word: Pain; [@player] Renew",
R = "m|/cast [@mouseover,exists][@target,exists][@player] Prayer of Mending",
T = "m|/cast [nochanneling:Mind Sear] Mind Sear",
F = "s|Psychic Scream",
G = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Cure Disease",
X = [=[m|/cast Shadowfiend
/petattack
/cast [pet, nomodifier] Shadowcrawl]=],
C = "s|Shadow Word: Death",
V = "s|Mana Burn",
["`"] = "s|Shoot",
shift = {
[1] = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Power Word: Shield",
-- 2
[3] = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Abolish Disease",
[4] = "m|/cast [@mouseover,exists][@target,exists][@player] Dispel Magic",
R = "s|Inner Fire",
T = "m|/cast [@mouseover,exists,help][@target,exists,help] Binding Heal",
-- F
G = "s|Devouring Plague",
-- X
C = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Fear Ward",
V = "s|Holy Nova",
["`"] = "s|Berserking"
},
ctrl = {
[1] = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Flash Heal",
[2] = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Greater Heal",
[3] = "s|Mass Dispel",
[4] = "m|/use 19",
R = "s|Inner Focus",
-- T
F = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Prayer of Healing",
-- G
-- X
-- C
-- V
},
alt = {
[2] = "s|Mind Soothe",
[3] = [=[m|/cancelaura Fade
/cast Fade]=],
[4] = "s|Shackle Undead",
R = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Levitate",
},
shadow = {
[1] = "m|/cast [nochanneling:Mind Flay] Mind Flay",
[2] = "s|Vampiric Touch",
-- 3
[4] = "m|/cast [@mouseover,exists,harm,nodead][@target,harm,nodead] Shadow Word: Pain",
R = "s|Vampiric Embrace",
},
F1 = "s|Mind Control",
F2 = "s|Hymn of Hope",
F3 = "s|Power Word: Fortitude",
F4 = "s|Shadow Protection",
F5 = "s|Divine Spirit",
F6 = "s|Prayer of Fortitude",
F7 = "s|Prayer of Shadow Protection",
F8 = "s|Prayer of Spirit",
-- F9
-- F10
F11 = "s|Resurrection",
F12 = "s|Mind Vision"
}
local priestHoly = {
shift = {
[2] = "s|Desperate Prayer",
F = "m|/cast [@mouseover,exists,help] Guardian Spirit",
C = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Circle of Healing"
},
ctrl = {
V = "m|/use Healthstone"
}
}
local priestDiscipline = {
shift = {
[2] = "s|Desperate Prayer",
F = "m|/cast [@mouseover,exists,help][@target,exists][@player] Penance",
C = "m|/cast [@mouseover,exists,help][@target,exists,help][@player] Pain Suppression",
V = "m|/cast [@player] Power Infusion"
}
}
local priestShadow = {
shift = {
[2] = "s|Dispersion",
F = "m|/cast [@mouseover,exists,harm][@target,exists] Psychic Horror",
},
ctrl = {
C = "s|Shadowform",
}
}
oBindings:RegisterKeyBindings("Discipline", bindings.base, priestBase, priestDiscipline)
oBindings:RegisterKeyBindings("Holy", bindings.base, priestBase, priestHoly)
oBindings:RegisterKeyBindings("Shadow", bindings.base, priestBase, priestShadow)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment