comparison SkeletonKey/HotKey.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 1aba8a6fd4a9
children 9eebce04e69b
comparison
equal deleted inserted replaced
53:29c89dbe07ac 54:a545933ddf3d
77 kb:RegisterEvent(event) 77 kb:RegisterEvent(event)
78 hotkey[event] = hotkey.UpdateFromEvent 78 hotkey[event] = hotkey.UpdateFromEvent
79 end 79 end
80 hotkey.wrapEvent('UNIT_PET', 'pet') 80 hotkey.wrapEvent('UNIT_PET', 'pet')
81 end 81 end
82
82 83
83 hotkey.init = function() 84 hotkey.init = function()
84 hooksecurefunc("ActionBarButtonEventsFrame_RegisterFrame", hotkey.RegisterFrame) 85 hooksecurefunc("ActionBarButtonEventsFrame_RegisterFrame", hotkey.RegisterFrame)
85 end 86 end
86 87