Mercurial > wow > skeletonkey
comparison SkeletonKey/ActionTypes.lua @ 24:4804892802fe
- fix mount bindings
author | Nenue |
---|---|
date | Sat, 30 Jul 2016 21:08:28 -0400 |
parents | f6dd297cb812 |
children | c081f117c19d |
comparison
equal
deleted
inserted
replaced
23:0fb2dea6e716 | 24:4804892802fe |
---|---|
51 local atype = kb.ActionTypes | 51 local atype = kb.ActionTypes |
52 | 52 |
53 --- Caps Lock | 53 --- Caps Lock |
54 atype['mount'] = function(id, name) | 54 atype['mount'] = function(id, name) |
55 if id == SUMMON_RANDOM_FAVORITE_MOUNT_SPELL then | 55 if id == SUMMON_RANDOM_FAVORITE_MOUNT_SPELL then |
56 return 'mount_random', "/script C_MountJournal.SummonByID(0)", CLICK_KEYBINDER_MACRO | 56 return CLICK_KEYBINDER_MACRO, 'mount_random', "/script C_MountJournal.SummonByID(0)" |
57 else | 57 else |
58 return 'mount_'..id, "/script C_MountJournal.SummonByID("..id..")", CLICK_KEYBINDER_MACRO | 58 return CLICK_KEYBINDER_MACRO, 'mount_'..id, "/script C_MountJournal.SummonByID("..id..")" |
59 end | 59 end |
60 end | 60 end |
61 | 61 |
62 atype['macro'] = function(id, name) | 62 atype['macro'] = function(id, name) |
63 return CLICK_KEYBINDER_MACRO, 'macro_' .. tostring(name), id | 63 return CLICK_KEYBINDER_MACRO, 'macro_' .. tostring(name), id |