Rename and clean up MapleStat

This commit is contained in:
P0nk
2021-09-09 21:25:35 +02:00
parent 8f91d8e7ac
commit d35ead558f
13 changed files with 110 additions and 111 deletions

View File

@@ -25,7 +25,7 @@ package client.command.commands.gm2;
import client.Character;
import client.Client;
import client.MapleStat;
import client.Stat;
import client.command.Command;
import config.YamlConfig;
@@ -45,8 +45,8 @@ public class MaxStatCommand extends Command {
player.updateStrDexIntLuk(Short.MAX_VALUE);
player.setFame(13337);
player.updateMaxHpMaxMp(30000, 30000);
player.updateSingleStat(MapleStat.LEVEL, 255);
player.updateSingleStat(MapleStat.FAME, 13337);
player.updateSingleStat(Stat.LEVEL, 255);
player.updateSingleStat(Stat.FAME, 13337);
player.yellowMessage("Stats maxed out.");
}
}