Mercurial > wow > reaction
diff PetActionButton.lua @ 297:f7a5676c9517
5.04 updates:
- refresh button checked state and cooldown in C-code
- display count for actions with charges
- update action button events
- pet action buttons - filter UNIT_AURA events by 'pet' type
author | Flick |
---|---|
date | Wed, 14 Nov 2012 16:34:14 -0800 |
parents | 276165a0e860 |
children |
line wrap: on
line diff
--- a/PetActionButton.lua Tue Sep 11 16:51:29 2012 -0700 +++ b/PetActionButton.lua Wed Nov 14 16:34:14 2012 -0800 @@ -47,7 +47,6 @@ "PLAYER_FARSIGHT_FOCUS_CHANGED", "UNIT_PET", "UNIT_FLAGS", -"UNIT_AURA", "PET_BAR_UPDATE", "PET_BAR_UPDATE_COOLDOWN", "PET_BAR_UPDATE_USABLE", @@ -145,6 +144,7 @@ for _, evt in pairs(eventList) do f:RegisterEvent(evt) end + f:RegisterUnitEvent("UNIT_AURA","pet") -- attach to skinner bar:SkinButton(self,