public final int calculateLevel() {
        for (int i = 1; i < 10; i++) {
            if (gp < GameConstants.getGuildExpNeededForLevel(i)) {
                return i;
            }
        }
        return 10;
    }