comparison Modules/Currency.lua @ 131:15a7f27b11e6 v7.3.2-20111027

- Fixed an infinite loop occurring with Artifact XP calculations on fresh 110 toons - Fixed combat state response - Mask out redundant cheevos (Cutting Edge/AotC and end boss)
author Nenue
date Mon, 20 Nov 2017 12:01:52 -0500
parents 799ec6dce9c3
children 86621c60512b
comparison
equal deleted inserted replaced
130:67b90544a7b7 131:15a7f27b11e6
132 end 132 end
133 return canShow 133 return canShow
134 end 134 end
135 end 135 end
136 end 136 end
137
138 self:RegisterEvent('PLAYER_REGEN_ENABLED')
139 self:RegisterEvent('PLAYER_REGEN_DISABLED')
137 end 140 end
138 141
139 function module:OnEvent (event, arg) 142 function module:OnEvent (event, arg)
140 print(self:GetName(), 'OnEvent', event, arg) 143 --print(self:GetName(), 'OnEvent', event, arg)
141 self:Update() 144 self:Update()
142 end 145 end
143 146
144 function module:Update() 147 function module:Update()
145 print(self:GetName(), 'Reanchor()') 148 --print(self:GetName(), 'Reanchor()')
146 if InCombatLockdown() then 149 if InCombatLockdown() then
147 self:SetShown(false) 150 self:SetShown(false)
148 return 151 return
149 end 152 end
150 153