Mercurial > wow > buffalo2
comparison BuffFrame/Constants.lua @ 59:07ef62fe201f
Re-write of BuffFrame module:
- uses secure hooks on blizzard BuffFrame.lua functions to determine needed action
- make use of built-in table behavior to reduce unnecessary frame updates
author | Nenue |
---|---|
date | Thu, 28 Jul 2016 18:27:56 -0400 |
parents | 4586229986e6 |
children |
comparison
equal
deleted
inserted
replaced
58:f253baf6022d | 59:07ef62fe201f |
---|---|
41 actualIcons = function () return BuffFrame.numEnchants end, | 41 actualIcons = function () return BuffFrame.numEnchants end, |
42 buffName = 'TempEnchant', | 42 buffName = 'TempEnchant', |
43 drawCount = {}, | 43 drawCount = {}, |
44 anchorTemplate = 'VeneerAnchorTemplate', | 44 anchorTemplate = 'VeneerAnchorTemplate', |
45 } | 45 } |
46 Aura.displays.ConsolidatedBuff = { | |
47 legendColor = {0.5, 0.5, 0.5, legendAlpha}, | |
48 maxIcons = 9, | |
49 actualIcons = function() return select(2, GetRaidBuffInfo()) end, | |
50 buffName = 'ConsolidatedBuff', | |
51 anchorTemplate = 'VeneerConsolidatedBuffsAnchor', | |
52 buffTemplate = 'VeneerRaidBuffTemplate', | |
53 drawCount = {}, | |
54 filters = 'HELPFUL', | |
55 } | |
56 | 46 |
57 ----------------------- | 47 ----------------------- |
58 -- RaidBuff visual args | 48 -- RaidBuff visual args |
59 ----------------------- | 49 ----------------------- |
60 Aura.BuffStyles = { | 50 Aura.BuffStyles = { |