Mercurial > wow > skeletonkey
comparison SkeletonKey/HotKey.lua @ 29:bb160c04de88
- update matching patterns used for picking up profession keybinds
| author | Nenue |
|---|---|
| date | Fri, 05 Aug 2016 12:25:18 -0400 |
| parents | 73df13211b22 |
| children | 1aba8a6fd4a9 |
comparison
equal
deleted
inserted
replaced
| 28:4d1c0a813411 | 29:bb160c04de88 |
|---|---|
| 150 | 150 |
| 151 hotkey.actionslot = function(self, event, slot) | 151 hotkey.actionslot = function(self, event, slot) |
| 152 print(actionSlots[slot], event, slot, GetActionInfo(slot)) | 152 print(actionSlots[slot], event, slot, GetActionInfo(slot)) |
| 153 --print(GetActionButtonForID(slot)) | 153 --print(GetActionButtonForID(slot)) |
| 154 local atype, aid = GetActionInfo(slot) | 154 local atype, aid = GetActionInfo(slot) |
| 155 if actionSlots[slot] then | |
| 155 hotkey.UpdateSkeletonKeyText(actionSlots[slot], atype, aid, HasAction(slot)) | 156 hotkey.UpdateSkeletonKeyText(actionSlots[slot], atype, aid, HasAction(slot)) |
| 157 end | |
| 158 | |
| 156 end | 159 end |
| 157 | 160 |
| 158 hotkey.player = function() | 161 hotkey.player = function() |
| 159 hotkey.actionbar() | 162 hotkey.actionbar() |
| 160 end | 163 end |
