mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
shared-code-user-score-task
This commit is contained in:
@@ -4,7 +4,8 @@ import {
|
||||
MAX_STAT_POINTS
|
||||
} from '../constants';
|
||||
import { toNextLevel } from '../statHelpers';
|
||||
module.exports = function (user, stats, req, analytics) {
|
||||
|
||||
module.exports = function updateStats (user, stats, req, analytics) {
|
||||
let allocatedStatPoints;
|
||||
let totalStatPoints;
|
||||
let experienceToNextLevel;
|
||||
|
||||
Reference in New Issue
Block a user