mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
refactor(stats): Address PR comments
This commit is contained in:
@@ -13,12 +13,12 @@ api = module.exports = {};
|
||||
|
||||
api.i18n = i18n;
|
||||
|
||||
import statHelpers from './statHelpers.js'
|
||||
import * as statHelpers from './statHelpers';
|
||||
|
||||
api.maxLevel = statHelpers.maxLevel;
|
||||
api.capByLevel = statHelpers.capByLevel;
|
||||
api.maxHealth = statHelpers.maxHealth;
|
||||
api.tnl = statHelpers.tnl;
|
||||
api.maxHealth = statHelpers.MAX_HEALTH;
|
||||
api.tnl = statHelpers.toNextLevel;
|
||||
api.diminishingReturns = statHelpers.diminishingReturns;
|
||||
|
||||
$w = api.$w = function(s) {
|
||||
|
||||
Reference in New Issue
Block a user