diff SkeletonKey/SkeletonKey.lua @ 54:a545933ddf3d

- pet ability binding macro now contains a /cast line for all known abilities with the same subtext, fixing an issue where swapping pets during combat breaks the key binding
author Nenue
date Sun, 21 Aug 2016 03:13:32 -0400
parents 81a7c71c4483
children d8bb2629fea8
line wrap: on
line diff
--- a/SkeletonKey/SkeletonKey.lua	Fri Aug 19 10:47:06 2016 -0400
+++ b/SkeletonKey/SkeletonKey.lua	Sun Aug 21 03:13:32 2016 -0400
@@ -5,14 +5,7 @@
 -- @file-revision@ @file-hash@
 -- Created: 6/16/2016 3:47 AM
 --------------------------------------------
--- kb
---   .StoreBinding(button, key)                     bind current keystroke to command
---   .GetSlot(index)                         return display slot
---   .SetSlot(button, command, name, icon)   assign display slot
---   .ReleaseSlot(button)                       clear button command
---   .UpdateSlot(button)                       update button contents
---   .SelectProfile(name)                         set profile character
---   .ApplyBindings(bindings)                   walk table with SetBinding()
+-- Header script
 
 local _
 local kb, print = LibStub("LibKraken").register(KeyBinder)
@@ -22,7 +15,6 @@
 local L = kb.L
 
 --- Caps Lock literals
-local CLASS_ICON_TEXTURE = "Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES"
 L.BINDING_ASSIGNED = '|cFF00FF00%s|r assigned to |cFFFFFF00%s|r (%s).'
 L.BINDING_REMOVED = '|cFFFFFF00%s|r (|cFF00FFFF%s|r) unbound.'
 L.BINDING_FAILED_PROTECTED = '|cFFFF4400Cannot use |r|cFF00FF00%s|r|cFFFF4400 (currently |cFFFFFF00%s|r|cFFFF4400). Uncheck "Safety" to ignore this restraint.|r'