Commit 37e1ffed authored by gentlespoon's avatar gentlespoon Committed by Melledy
Browse files

Fix incorrect ascension level in givechar command

parent 22cbe748
......@@ -63,9 +63,10 @@ public final class GiveCharCommand implements CommandHandler {
// Calculate ascension level.
int ascension;
if (level <= 40) {
ascension = (int) Math.ceil(level / 20f);
ascension = (int) Math.ceil(level / 20f) - 1;
} else {
ascension = (int) Math.ceil(level / 10f) - 3;
ascension = Math.min(ascension, 6);
}
Avatar avatar = new Avatar(avatarId);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment