Mercurial > wow > buffalo2
diff Modules/ArtifactPower.lua @ 115:8c94bee4fdfc
- AddHandler simplified
- Centralized combat start/stop hooks
- WorldState removed
author | Nenue |
---|---|
date | Tue, 28 Mar 2017 07:02:26 -0400 |
parents | 7c77fde36287 |
children | ddfe19d70a34 |
line wrap: on
line diff
--- a/Modules/ArtifactPower.lua Mon Mar 27 00:39:29 2017 -0400 +++ b/Modules/ArtifactPower.lua Tue Mar 28 07:02:26 2017 -0400 @@ -13,7 +13,10 @@ scanQueue = {}, ItemButtons = {}, anchorPoint = 'TOP', + anchorPriority = 2, anchorFrom = 'TOP', + moduleName = 'Artifactor', + HideCombat = true } local defaultSettings = { firstUse = true, @@ -53,7 +56,7 @@ self:RegisterEvent('PLAYER_REGEN_DISABLED') self:RegisterEvent('PLAYER_ENTERING_WORLD') self:RegisterEvent('ITEM_LOCK_CHANGED') -- use to clear bag slot cache data - Veneer:AddHandler(self, self.anchorPoint, 2) + Veneer:AddHandler(self) SLASH_VENEER_AP1 = "/vap" SLASH_VENEER_AP2 = "/veneerap" SlashCmdList.VENEER_AP = function(arg)