Mercurial > wow > buffalo2
comparison Constants.lua @ 0:3dbcad2b387d
initial push
| author | Nenue |
|---|---|
| date | Wed, 30 Mar 2016 02:24:56 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3dbcad2b387d |
|---|---|
| 1 --- ${PACKAGE_NAME} | |
| 2 -- @file-author@ | |
| 3 -- @project-revision@ @project-hash@ | |
| 4 -- @file-revision@ @file-hash@ | |
| 5 -- Created: 3/22/2016 3:14 PM | |
| 6 local _, A = ... | |
| 7 local B = A.frame | |
| 8 | |
| 9 ----------------------- | |
| 10 -- Buff frames metadata | |
| 11 ----------------------- | |
| 12 local legendAlpha = 0.5 | |
| 13 B.displays.BuffButton = { | |
| 14 legendColor = {0, 1, 0, legendAlpha}, | |
| 15 maxIcons = BUFF_MAX_DISPLAY, | |
| 16 actualIcons = function () return _G.BUFF_ACTUAL_DISPLAY end, | |
| 17 buffName = 'BuffButton', | |
| 18 drawCount = {}, | |
| 19 filters = 'HELPFUL', | |
| 20 anchorTemplate = 'VeneerAnchorTemplate', | |
| 21 } | |
| 22 B.displays.DebuffButton = { | |
| 23 legendColor = {1, 0, 0, legendAlpha}, | |
| 24 maxIcons = DEBUFF_MAX_DISPLAY, | |
| 25 actualIcons = function () return _G.DEBUFF_ACTUAL_DISPLAY end, | |
| 26 buffName = 'DebuffButton', | |
| 27 drawCount = {}, | |
| 28 filters = 'HARMFUL', | |
| 29 anchorTemplate = 'VeneerAnchorTemplate', | |
| 30 } | |
| 31 B.displays.TempEnchant = { | |
| 32 legendColor = {1, 0, 0.5, legendAlpha}, | |
| 33 maxIcons = NUM_TEMP_ENCHANT_FRAMES, | |
| 34 actualIcons = function () return BuffFrame.numEnchants end, | |
| 35 buffName = 'TempEnchant', | |
| 36 drawCount = {}, | |
| 37 anchorTemplate = 'VeneerAnchorTemplate', | |
| 38 } | |
| 39 B.displays.ConsolidatedBuff = { | |
| 40 legendColor = {0.5, 0.5, 0.5, legendAlpha}, | |
| 41 maxIcons = 9, | |
| 42 actualIcons = function() return select(2, GetRaidBuffInfo()) end, | |
| 43 buffName = 'ConsolidatedBuff', | |
| 44 anchorTemplate = 'VeneerConsolidatedBuffsAnchor', | |
| 45 buffTemplate = 'VeneerRaidBuffTemplate', | |
| 46 drawCount = {}, | |
| 47 filters = 'HELPFUL', | |
| 48 } | |
| 49 | |
| 50 ----------------------- | |
| 51 -- RaidBuff visual args | |
| 52 ----------------------- | |
| 53 B.BuffStyles = { | |
| 54 ["active"] = { | |
| 55 SetDesaturated = false, | |
| 56 Color = {1, 1, 1, 1}, | |
| 57 SetBlendMode = 'BLEND', | |
| 58 TextColor = {1,1,1,1}, | |
| 59 }, | |
| 60 ["missing"] = { | |
| 61 SetDesaturated = false, | |
| 62 Color = {1, 0, 0, 0.5}, | |
| 63 SetBlendMode = 'ADD', | |
| 64 TextColor = {1,0,0,1}, | |
| 65 }, | |
| 66 ["available"] = { | |
| 67 SetDesaturated = true, | |
| 68 Color = {0.35, 1, 0.35, 0.5}, | |
| 69 SetBlendMode = 'ADD', | |
| 70 TextColor = {1, 1, 0, 1}, | |
| 71 }, | |
| 72 } | |
| 73 | |
| 74 --- RaidBuff availability criteria | |
| 75 -- @field spellID - UnitAura() == true | |
| 76 -- @field spec - test for spec choice | |
| 77 -- @field auraType - UnitAura() == true, and no other tests of the same value have returned true prior | |
| 78 -- @field talent - test for talent selection | |
| 79 -- @field petFamily - test pet family | |
| 80 -- @field [true] - passive group aura | |
| 81 B.ClassRaidBuffs = { | |
| 82 -- stats | |
| 83 [1] = { | |
| 84 ['HUNTER'] = { | |
| 85 {talent = {155228}, spellID = 160206, spellName = 'Lone Wolf: Power of the Primates', auraType = 'lonewolf'}, | |
| 86 {petFamily = 'Dog'}, -- active pet family | |
| 87 {petFamily = 'Gorilla'}, | |
| 88 {petFamily = 'Shale Spider'}, | |
| 89 {petFamily = 'Worm'}, | |
| 90 }, | |
| 91 ['DRUID'] = { | |
| 92 {spellID = 1126, spellName = 'Mark of the Wild'}, | |
| 93 }, | |
| 94 ['MONK'] = { | |
| 95 {spellID = 115921, spellName = 'Legacy of the Emperor'}, | |
| 96 {spellID = 116781, spellName = 'Legacy of the White Tiger'} -- windwalker, replaces emperor internally | |
| 97 }, | |
| 98 ['PALADIN'] = {spellID = 20217, spellName = 'Blessing of Kings', auraType = 'blessing'}, | |
| 99 }, | |
| 100 | |
| 101 -- stamina | |
| 102 [2] = { | |
| 103 ['HUNTER'] = { | |
| 104 {talent = {155228}, spellID = 160199, spellName = 'Lone Wolf: Fortitude of the Bear', auraType = 'lonewolf'}, | |
| 105 {petFamily = 'Bear'}, -- active pet family | |
| 106 {petFamily = 'Goat'}, | |
| 107 {petFamily = 'Rylak'}, | |
| 108 {petFamily = 'Silithid'}, | |
| 109 }, | |
| 110 ['PRIEST'] = { | |
| 111 {spellID = 21562, 'Power Word: Fortitude'} | |
| 112 }, | |
| 113 ['WARRIOR'] = { | |
| 114 {spellID = 469, spellName = 'Commanding Shout', auraType = 'shout'} | |
| 115 }, | |
| 116 ['WARLOCK'] = { | |
| 117 {true} | |
| 118 } | |
| 119 }, | |
| 120 | |
| 121 -- attack power | |
| 122 [3] = { | |
| 123 ['HUNTER'] = { | |
| 124 {true}, | |
| 125 }, | |
| 126 ['DEATHKNIGHT'] = { | |
| 127 {spec = 2}, | |
| 128 {spec = 3}, | |
| 129 }, | |
| 130 ['WARRIOR'] = { | |
| 131 {spellName = 'Battle Shout', auraType = 'shout'} | |
| 132 } | |
| 133 }, | |
| 134 | |
| 135 -- HASTE | |
| 136 [4] = { | |
| 137 ['HUNTER'] = { | |
| 138 {talent = {155228}, spellID = 160203, spellName = 'Lone Wolf: Haste of the Hyena', auraType = 'lonewolf'}, | |
| 139 {petFamily = 'Hyena'}, -- active pet family | |
| 140 {petFamily = 'Sporebat'}, | |
| 141 {petFamily = 'Rylak'}, | |
| 142 {petFamily = 'Wasp'}, | |
| 143 }, | |
| 144 ['DEATHKNIGHT'] = { | |
| 145 {spec = 2}, -- unholy aura | |
| 146 {spec = 3}, | |
| 147 }, | |
| 148 ['PRIEST'] = { | |
| 149 {spec = 3}, -- mind quickening | |
| 150 }, | |
| 151 ['ROGUE'] = { | |
| 152 true -- swiftblade's | |
| 153 }, | |
| 154 ['SHAMAN'] = { | |
| 155 true -- grace of air | |
| 156 }, | |
| 157 }, | |
| 158 | |
| 159 -- SPELL POWER | |
| 160 [5] = { | |
| 161 ['HUNTER'] = { | |
| 162 {talent = {155228}, spellID = 160205, spellName = 'Lone Wolf: Wisdom of the Serpent', auraType = 'lonewolf'}, | |
| 163 {petFamily = 'Waterstrider'}, -- active pet family | |
| 164 {petFamily = 'Serpent'}, | |
| 165 {petFamily = 'Silithid'}, | |
| 166 }, | |
| 167 ['MAGE'] = { | |
| 168 {spellID = 1459, spellName = 'Arcane Brilliance'}, -- arcane brilliance | |
| 169 {spellID = 61316, spellName = 'Dalaran Brilliance'}, -- dalaran brilliance | |
| 170 }, | |
| 171 ['WARLOCK'] = { | |
| 172 {spellID = 109773,spellName = 'Dark Intent' } | |
| 173 }, | |
| 174 }, | |
| 175 | |
| 176 -- CRITICAL STRIKE | |
| 177 [6] = { | |
| 178 ['HUNTER'] = { | |
| 179 {talent = {155228}, spellID = 160200, spellName = 'Lone Wolf: Ferocity of the Raptor', auraType = 'lonewolf'}, | |
| 180 {petFamily = 'Devilsaur'}, -- active pet family | |
| 181 {petFamily = 'Quilen'}, | |
| 182 {petFamily = 'Raptor'}, | |
| 183 {petFamily = 'Shale Spider'}, | |
| 184 {petFamily = 'Waterstrider'}, | |
| 185 {petFamily = 'Wolf'}, | |
| 186 }, | |
| 187 ['DRUID'] = { | |
| 188 {spec = 2, spellID = 17007, auraType = 'druidform'} | |
| 189 }, | |
| 190 ['MAGE'] = { | |
| 191 {spellID = 1459, spellName = 'Arcane Brilliance'}, -- arcane brilliance | |
| 192 {spellID = 61316, spellName = 'Dalaran Brilliance'}, -- dalaran brilliance | |
| 193 }, | |
| 194 ['MONK'] = { | |
| 195 {spellID = 116781, spellName = 'Legacy of the White Tiger', spec = 2} -- windwalker | |
| 196 } | |
| 197 }, | |
| 198 | |
| 199 -- MASTERY | |
| 200 [7] = { | |
| 201 ['HUNTER'] = { | |
| 202 {talent = {155228}, spellID = 160198, spellName = 'Lone Wolf: Grace of the Cat', auraType = 'lonewolf'}, | |
| 203 {petFamily = 'Cat'}, -- active pet family | |
| 204 {petFamily = 'Hydra'}, | |
| 205 {petFamily = 'Spirit Beast'}, | |
| 206 {petFamily = 'Tallstrider'}, | |
| 207 }, | |
| 208 ['DEATHKNIGHT'] = { | |
| 209 {spec = 1} | |
| 210 }, | |
| 211 ['DRUID'] = { | |
| 212 {spec = 1, spellID = 24907, auraType = 'druidform'}, | |
| 213 }, | |
| 214 ['PALADIN'] = { | |
| 215 {spec = 1, spellID = 19740, spellName = 'Blessing of Might', auraType = 'blessing'} | |
| 216 }, | |
| 217 ['SHAMAN'] = {true}, | |
| 218 }, | |
| 219 | |
| 220 -- MULTISTRIKE | |
| 221 [8] = { | |
| 222 ['HUNTER'] = { | |
| 223 {talent = {155228}, spellID = 172968, spellName = 'Lone Wolf: Quickness of the Dragonhawk', auraType = 'lonewolf'}, | |
| 224 {petFamily = 'Bat'}, -- active pet family | |
| 225 {petFamily = 'Clefthoof'}, | |
| 226 {petFamily = 'Corehound'}, | |
| 227 {petFamily = 'Dragonhawk'}, | |
| 228 {petFamily = 'Wind Serpent'}, | |
| 229 }, | |
| 230 ['MONK'] = { | |
| 231 {spec = 2 } | |
| 232 }, -- Windflurry, | |
| 233 ['PRIEST'] = { | |
| 234 {spec = 3 } | |
| 235 }, -- quickening, | |
| 236 ['ROGUE'] = {true}, -- swiftblade's | |
| 237 ['WARLOCK'] = { | |
| 238 {spellID = 109773,spellName = 'Dark Intent' } | |
| 239 }, | |
| 240 }, | |
| 241 | |
| 242 -- VERSATILITY | |
| 243 [9] = { | |
| 244 ['HUNTER'] = { | |
| 245 {talent = {155228}, spellID = 172967, spellName = 'Lone Wolf: Versatility of the Ravager', auraType = 'lonewolf'}, | |
| 246 {petFamily = 'Ravager'}, -- active pet family | |
| 247 {petFamily = 'Boar'}, | |
| 248 {petFamily = 'Porcupine'}, | |
| 249 {petFamily = 'Clefthoof'}, | |
| 250 {petFamily = 'Stag'}, | |
| 251 {petFamily = 'Worm'}, | |
| 252 {petFamily = 'Bird of Prey'}, | |
| 253 }, | |
| 254 ['DEATH KNIGHT'] = { | |
| 255 {spec = 2}, -- unholy aura | |
| 256 {spec = 3}, | |
| 257 }, | |
| 258 ['DRUID'] = { | |
| 259 {spellID = 1126, spellName = 'Mark of the Wild'}, | |
| 260 }, | |
| 261 ['PALADIN'] = { | |
| 262 {spec = 2}, -- retribution | |
| 263 }, | |
| 264 ['WARRIOR'] = { | |
| 265 {spec = 2}, -- arms or fury | |
| 266 {spec = 3}, | |
| 267 }, | |
| 268 } | |
| 269 } | |
| 270 | |
| 271 ------------------------- | |
| 272 -- Default config values | |
| 273 ------------------------- | |
| 274 B.ConfDefaults = { | |
| 275 -- defaulted to on for first-time setup | |
| 276 ConfigMode = true, | |
| 277 GuidesMode = true, | |
| 278 | |
| 279 BuffButtonAnchor = {'TOPRIGHT', 'UIParent', 'TOPRIGHT', -200, -5}, | |
| 280 BuffButtonMax = 24, | |
| 281 BuffButtonPerRow = 10, | |
| 282 BuffButtonSize = 50, | |
| 283 BuffButtonSpacing = 4, | |
| 284 BuffButtonZoom = 15, | |
| 285 BuffButtonVertexColor = {}, | |
| 286 BuffButtonPoint = {'TOPRIGHT', 'TOPRIGHT'}, | |
| 287 BuffButtonDurationSize = 16, | |
| 288 BuffButtonDurationPoint = {'BOTTOM', 'BOTTOM', 0, -1}, | |
| 289 BuffButtonCountSize = 18, | |
| 290 BuffButtonCountPoint = {'TOPRIGHT', 'TOPRIGHT', -3, -3}, | |
| 291 BuffButtonRelativeX = -1, | |
| 292 BuffButtonRelativeY = -1, | |
| 293 | |
| 294 BuffButtonColor = {1, 1, 1, 1}, | |
| 295 BuffButtonPlayerColor = {1,1,1,1}, | |
| 296 BuffButtonRaidColor = {0.25,1,0.25,1}, | |
| 297 BuffButtonBossColor = {1,0.5,0,1}, | |
| 298 BuffButtonBorder = 1, | |
| 299 | |
| 300 BuffButtonWarningFade = true, | |
| 301 BuffButtonShowSelfCast = true, | |
| 302 | |
| 303 DebuffButtonAnchor = {'TOPRIGHT', 'UIParent', 'TOPRIGHT', -200, -200}, | |
| 304 DebuffButtonMax = 12, | |
| 305 DebuffButtonPerRow = 10, | |
| 306 DebuffButtonSize = 50, | |
| 307 DebuffButtonSpacing = 4, | |
| 308 DebuffButtonDurationSize = 16, | |
| 309 DebuffButtonZoom = 15, | |
| 310 DebuffButtonVertexColor = {}, | |
| 311 DebuffButtonPoint = {'TOPRIGHT','TOPRIGHT'}, | |
| 312 DebuffButtonRelativeX = -1, | |
| 313 DebuffButtonRelativeY = -1, | |
| 314 | |
| 315 | |
| 316 TempEnchantAnchor = {'TOPRIGHT', 'UIParent', 'TOPRIGHT', -200, -300}, | |
| 317 TempEnchantMax = 2, | |
| 318 TempEnchantPerRow = 10, | |
| 319 TempEnchantSize = 50, | |
| 320 TempEnchantSpacing = 4, | |
| 321 TempEnchantDurationSize = 16, | |
| 322 TempEnchantZoom = 15, | |
| 323 TempEnchantVertexColor = {}, | |
| 324 TempEnchantPoint = {'TOPRIGHT', 'TOPRIGHT'}, | |
| 325 TempEnchantRelativeX = -1, | |
| 326 TempEnchantRelativeY = -1, | |
| 327 TempEnchantColor = {1,0,0.5,1}, | |
| 328 | |
| 329 ConsolidatedBuffAnchor = {'TOPRIGHT', 'UIParent', 'TOPRIGHT', 0, 0}, | |
| 330 ConsolidatedBuffIcon = false, | |
| 331 ConsolidatedBuffMax = 9, | |
| 332 ConsolidatedBuffSize = 16, | |
| 333 ConsolidatedBuffParent = 'BuffButton', | |
| 334 ConsolidatedBuffPosition = 1, | |
| 335 ConsolidatedBuffSpacing = 1, | |
| 336 ConsolidatedBuffBorder = 0, | |
| 337 ConsolidatedBuffPerRow = 3, | |
| 338 ConsolidatedBuffPoint = {'TOPRIGHT', 'TOPRIGHT'}, | |
| 339 ConsolidatedBuffRelativeX = -1, | |
| 340 ConsolidatedBuffRelativeY = -1, | |
| 341 ConsolidatedBuffDurationSize = 0, | |
| 342 ConsolidatedBuffDurationPoint = {'BOTTOM', 'BOTTOM', 0, 0}, | |
| 343 ConsolidatedBuffCountPoint = {'BOTTOM', 'BOTTOM', 0, 0}, | |
| 344 | |
| 345 RaidShowMissing = true, | |
| 346 | |
| 347 } |
