Simple printing of Valor Point information.
This commit is contained in:
parent
5c98139097
commit
c7dbcfac41
1 changed files with 7 additions and 0 deletions
|
@ -26,9 +26,16 @@ function core:OnEnable()
|
|||
self.db.profile.lockouts[name] = {}
|
||||
end
|
||||
|
||||
self:RegisterChatCommand('ct','ViewChores');
|
||||
self:RegisterEvent('UPDATE_INSTANCE_INFO','UpdateChores')
|
||||
end
|
||||
|
||||
function core:ViewChores()
|
||||
for k,v in pairs(self.db.profile.valorPoints) do
|
||||
print(k,'has',v,'Valor Points this week.')
|
||||
end
|
||||
end
|
||||
|
||||
function core:UpdateChores()
|
||||
local level = UnitLevel('player')
|
||||
|
||||
|
|
Loading…
Reference in a new issue