diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 01ad7b5..5f34753 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -19,7 +19,10 @@ end function core:StoreValorPoints() local _,_,_,earnedThisWeek = GetCurrencyInfo(396) local name = UnitName('player') + local level = UnitLevel('player') - self.db.profile.valorPoints[name] = earnedThisWeek - print('Storing',earnedThisWeek,'for',name) + if(level == 85) then + self.db.profile.valorPoints[name] = earnedThisWeek + print('Storing',earnedThisWeek,'for',name) + end end \ No newline at end of file