mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Add todo to investigate magic numbers
This commit is contained in:
@@ -205,6 +205,7 @@ habitrpg.controller('SettingsCtrl',
|
||||
$scope.gemGoldCap = function(subscription) {
|
||||
var baseCap = 25;
|
||||
var gemCapExtra = User.user.purchased.plan.consecutive.gemCapExtra;
|
||||
// @TODO: What are these magic numbers? 3? 5?
|
||||
var blocks = Content.subscriptionBlocks[subscription.key].months / 3 * 5;
|
||||
var flooredBlocks = Math.floor(blocks);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user