Skip to content

Commit

Permalink
Update all bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
haste committed May 14, 2011
1 parent 24a0083 commit 930efa1
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 30 deletions.
4 changes: 0 additions & 4 deletions bindings/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ bindings.base = {
V = 'm|/mount'
},

shift = {
V = "m|/cast Traveler's Tundra Mammoth"
},

F8 = "m|/run ReloadUI()",
F9 = "TOGGLECHARACTER0",
F10 = "TOGGLETALENTS",
Expand Down
83 changes: 77 additions & 6 deletions bindings/priest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ if(select(2, UnitClass'player') ~= 'PRIEST') then return end

local _, bindings = ...


local healBase = {
's|Prayer of Mending',
[3] = 's|Prayer of Healing',
[4] = 's|Holy Fire',
[5] = 's|Smite',
[6] = 's|Renew',
[7] = 's|Hymn of Hope',

shift = {
[3] = 's|Shadow Word: Pain',
[4] = 's|Holy Nova',

F5 = 's|Prayer of Fortitude',
F6 = 's|Prayer of Spirit',
F7 = 's|Prayer of Shadow Protection',
F5 = 's|Power Word: Fortitude',
F6 = 's|Shadow Protection',
},

alt = {
Expand All @@ -36,12 +36,13 @@ local healBase = {
G = 's|Fade',
C = 'm|/use 14',
Q = 's|Mass Dispel',
V = 's|Inner Fire',
X = 's|Shoot',
A = 's|Binding Heal',

['`'] = 's|Power Word: Barrier',

F5 = 's|Power Word: Fortitude',
F6 = 's|Divine Spirit',
F6 = 's|Shadow Protection',
F7 = 's|Fear Ward',
F11 = 's|Resurrection',
F12 = [[m|/clearfocus [modifier:alt][@focus,dead][@focus,help][@focus,noexists]
Expand All @@ -51,20 +52,90 @@ local healBase = {

local disc = {
[2] = 's|Penance',
[4] = 's|Holy Fire',

V = 's|Inner Will',
H = 's|Power Infusion',

shift = {
[3] = 's|Archangel',
},

ctrl = {
[3] = 's|Pain Suppression',
},
}

local holy = {
[2] = 's|Circle of Healing',
[4] = 's|Divine Hymn',

V = 's|Inner Will',
['`'] = 's|Leap of Faith',

BUTTON4 = 's|Lightwell',
BUTTON5 = 's|Chakra',

ctrl = {
[3] = 's|Guardian Spirit',
[4] = 'm|/click ActionButton1',
},
}

local shadow = {
"s|Shadow Word: Death",
"s|Shadow Word: Pain",
"s|Vampiric Touch",
"m|/cast [nochanneling:Mind Flay] Mind Flay",
"m|/cast [nochanneling:Mind Flay] Mind Blast",
"s|Dispersion",

V = 's|Inner Fire',
A = 's|Mind Spike',

BUTTON4 = 's|Mind Sear',
BUTTON5 = 's|Shadowform',

shift = {
"s|Devouring Plague",
"s|Shadow Word: Pain (Rank 1)",
's|Archangel',
"s|Flash Heal",
"s|Greater Heal",
V = "s|Vampiric Embrace",
},

alt = {
[1] = "s|Dispel Magic",
[2] = "s|Cure Disease",
},

ctrl = {
[[m|/cast [nopet] Shadowfiend
/petattack
/cast Shadowcrawl]],

[2] = "s|Mind Control",
C = 's|Psychic Scream',
},

W = "s|Power Word: Shield",
G = "s|Fade",
C = "m|/use 14",
D = "s|Mana Burn",
Q = "s|Mass Dispel",
V = "s|Inner Fire",
X = "s|Shoot",

F5 = "s|Power Word: Fortitude",
F6 = "s|Shadow Protection",
F7 = "s|Fear Ward",
F11 = "s|Resurrection",
F12 = [[m|/clearfocus [modifier:alt][@focus,dead][@focus,help][@focus,noexists]
/focus [@focus,noexists]
/cast [@focus]Shackle Undead]],
}

oBindings:RegisterKeyBindings('Discipline', bindings.base, healBase, disc)
oBindings:RegisterKeyBindings('Holy', bindings.base, healBase, holy)
oBindings:RegisterKeyBindings('Shadow', bindings.base, shadow)
22 changes: 22 additions & 0 deletions bindings/shaman.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
if(select(2, UnitClass'player') ~= 'SHAMAN') then return end

local _, bindings = ...

local elemental = {
's|Lightning Bolt',
's|Chain Lightning',

[4] = 's|Flame Shock',
[5] = 's|Elemental Mastery',

V = 's|Water Shield',

BUTTON4 = 's|Totemic Recall',
BUTTON5 = 's|Call of the Elements',

shift = {
V = 's|Flametongue Weapon',
},
}

oBindings:RegisterKeyBindings('Elemental', bindings.base, elemental)
170 changes: 150 additions & 20 deletions bindings/warlock.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,179 @@ if(select(2, UnitClass'player') ~= 'WARLOCK') then return end
local _, bindings = ...

local affliction = {
's|Haunt',
's|Shadow Bolt',
's|Drain Life',
's|Drain Soul',
's|Corruption',
's|Unstable Affliction',
's|Corruption',
's|Life Tap',
's|Haunt',

['`'] = 'm|/use [mod:alt]Demonic Circle: Summon;[nomod:alt]Demonic Circle: Teleport',

A = 's|Shadowflame',
Z = 's|Soul Harvest',
P = 's|Death Coil',
G = 's|Soulshatter',
V = 's|Fel Armor',
C = 's|Enslave Demon',
X = 's|Shoot',
W = 's|Fear',
D = 's|Health Funnel',
X = 's|Shoot',
Q = 's|Shadowburn',
G = 's|Soulshatter',
V = 's|Demon Soul',
D = 'm|/target Obnoxious Fiend',

F1 = 's|Summon Imp',
F2 = 's|Summon Voidwalker',
F3 = 's|Summon Succubus',
F4 = 's|Summon Felhunter',

F7 = 's|Fel Armor',
F8 = 's|Dark Intent',

F11 = 's|Ritual of Summoning',
F12 = 's|Enslave Demon',

BUTTON4 = 'm|/petattack',
BUTTON5 = 'm|/swapactionbar 1 2',

F12 = 's|Banish',
shift = {
's|Immolate',
's|Corruption',
's|Shadow Bolt',

V = 's|Shadow Ward',
},

alt = {
's|Seed of Corruption',
's|Drain Life',
's|Drain Mana',
'm|/petattack',
's|Shadowfury',
},

ctrl = {
C = 's|Howl of Terror'
},

bar2 = {
's|Bane of Agony',
's|Bane of Doom',
's|Bane of Havoc',
's|Curse of the Elements',
's|Curse of Tongues',
},
}

local destruction = {
's|Incinerate',
's|Conflagrate',
's|Chaos Bolt',
's|Soul Fire',
's|Life Tap',

['`'] = 'm|/use [mod:alt]Demonic Circle: Summon;[nomod:alt]Demonic Circle: Teleport',

A = 's|Shadowflame',
Z = 's|Soul Harvest',
P = 's|Death Coil',
W = 's|Fear',
X = 's|Shoot',
Q = 's|Shadowburn',
G = 's|Soulshatter',
V = 's|Demon Soul',
D = 'm|/target Obnoxious Fiend',

F1 = 's|Summon Imp',
F2 = 's|Summon Voidwalker',
F3 = 's|Summon Succubus',
F4 = 's|Summon Felhunter',

F7 = 's|Fel Armor',
F8 = 's|Dark Intent',

F11 = 's|Ritual of Summoning',
F12 = 's|Enslave Demon',


shift = {
's|Immolate',
's|Corruption',

V = 's|Shadow Ward',
},

alt = {
's|Seed of Corruption',
's|Shadowfury',
},

ctrl = {
's|Summon Imp',
's|Summon Voidwalker',
's|Summon Succubus',
's|Summon Felhunter',
C = 's|Howl of Terror'
},

bar2 = {
's|Bane of Agony',
's|Bane of Doom',
's|Bane of Havoc',
's|Curse of the Elements',
's|Curse of Tongues',
},
}

local demonology = {
's|Incinerate',
"s|Hand of Gul'dan",
's|Shadow Bolt',
's|Soul Fire',
's|Life Tap',

['`'] = 'm|/use [mod:alt]Demonic Circle: Summon;[nomod:alt]Demonic Circle: Teleport',

A = 's|Shadowflame',
Z = 's|Soul Harvest',
P = 's|Death Coil',
W = 's|Fear',
X = 's|Shoot',
Q = 's|Shadowburn',
G = 's|Soulshatter',
V = 's|Demon Soul',
D = 'm|/target Obnoxious Fiend',

F1 = 's|Summon Imp',
F2 = 's|Summon Voidwalker',
F3 = 's|Summon Succubus',
F4 = 's|Summon Felhunter',
F5 = 's|Summon Felguard',

F7 = 's|Fel Armor',
F8 = 's|Dark Intent',

F11 = 's|Ritual of Summoning',
F12 = 's|Enslave Demon',

BUTTON4 = 'm|/petattack',
BUTTON5 = 'm|/swapactionbar 1 2',

C = 's|Howl of Terror',
shift = {
's|Immolate',
's|Corruption',
"s|Hand of Gul'dan",
"s|Immolation Aura",

V = 's|Metamorphosis',
},

alt = {
's|Seed of Corruption',
's|Shadowfury',
},

ctrl = {
C = 's|Howl of Terror'
},

bar2 = {
's|Curse of Agony',
's|Curse of Weakness',
's|Bane of Agony',
's|Bane of Doom',
's|Bane of Havoc',
's|Curse of the Elements',
's|Curse of Tongues',
's|Curse of Doom',
},
}

Expand All @@ -62,3 +190,5 @@ oBindings:RegisterCallback(function(self, state)
end)

oBindings:RegisterKeyBindings('Affliction', bindings.base, affliction)
oBindings:RegisterKeyBindings('Destruction', bindings.base, destruction)
oBindings:RegisterKeyBindings('Demonology', bindings.base, demonology)

0 comments on commit 930efa1

Please sign in to comment.