comparison Turok/Modules/Timer/Aura.lua @ 9:9400a0ff8540

Ugh Timer: - container update directionality - talent update iterates over a non-volatile table to carry out updates - index management steps organized - talentRow status implemented, returns the spell associated with the talent chosen from that row CombatLog: - sort out font controls and unbork arguments
author Nenue
date Sun, 21 Feb 2016 13:08:30 -0500
parents a9b8b0866ece
children 0b1a2f3dbfc4
comparison
equal deleted inserted replaced
8:7790dff0fe13 9:9400a0ff8540
13 local print = function(...) 13 local print = function(...)
14 if _G.Devian and _G.DevianDB.workspace ~= 1 then 14 if _G.Devian and _G.DevianDB.workspace ~= 1 then
15 _G.print('Aura', ...) 15 _G.print('Aura', ...)
16 end 16 end
17 end 17 end
18 print('Peep!', ...)
19 --@end-debug@ 18 --@end-debug@
20 19
21 T.defaults.spirit.aura = { 20 T.defaults.spirit.aura = {
22 counterText = "%p", 21 counterText = "%p",
23 subCounterText = "%.p", 22 subCounterText = "%.p",
53 } 52 }
54 53
55 --- takes user supplied values or fills itself with the cvar values provided 54 --- takes user supplied values or fills itself with the cvar values provided
56 p.Init = function(self, auraName, auraFilters, auraUnit) 55 p.Init = function(self, auraName, auraFilters, auraUnit)
57 56
58 _G.print('Prototype', 'Aura.Init') 57 print('Aura.Init')
59 self.unit = auraUnit and auraUnit or self.dvars.unit 58 self.unit = auraUnit and auraUnit or self.dvars.unit
60 self.spellName = auraName and auraName or self.spellName 59 self.spellName = auraName and auraName or self.spellName
61 self.filters = auraFilters and auraFilters or self.dvars.filters 60 self.filters = auraFilters and auraFilters or self.dvars.filters
62 -- set inversion states, states 0 and 1 are only processed when prevState differs 61 -- set inversion states, states 0 and 1 are only processed when prevState differs
63 if self.cvars.inverse then 62 if self.cvars.inverse then