mirror of
https://github.com/Ratstail91/SANCTUM.git
synced 2025-11-29 02:24:27 +11:00
working on making levelling smoother
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user