working on making levelling smoother

This commit is contained in:
2018-10-23 15:56:21 +11:00
parent 5173807d5f
commit 3745a1efc4
2 changed files with 124 additions and 57 deletions

View File

@@ -42,9 +42,11 @@ exports.LevelUp = function(client, member) { //NOTE: why is this called separate
let rankUp = exports.RankUp(client, member, level);
if (rankUp == "rankUp") {
return rankUp;
return [rankUp, level, statPoints];
} else if (responseMessage === "levelup") {
return "levelUp";
return ["levelUp", level, statPoints];
} else {
return ["", level, statPoints];
}
}