Browse Source

level cap increased to 80

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
915f182d79
  1. 2
      src/engine/objects/PlayerCharacter.java
  2. 2
      src/engine/server/MBServerStatics.java

2
src/engine/objects/PlayerCharacter.java

@ -4633,7 +4633,7 @@ public class PlayerCharacter extends AbstractCharacter { @@ -4633,7 +4633,7 @@ public class PlayerCharacter extends AbstractCharacter {
tmpLevel = targetLevel;
tmpLevel = (short) Math.min(tmpLevel, 75);
tmpLevel = (short) Math.min(tmpLevel, MBServerStatics.LEVELCAP);
while (this.level < tmpLevel) {
grantXP(Experience.getBaseExperience(tmpLevel) - this.exp);

2
src/engine/server/MBServerStatics.java

@ -357,7 +357,7 @@ public class MBServerStatics { @@ -357,7 +357,7 @@ public class MBServerStatics {
public static final int COMBAT_SEND_DODGE = 20;
public static final int COMBAT_SEND_BLOCK = 21;
public static final int COMBAT_SEND_PARRY = 22;
public static final short LEVELCAP = 75;
public static final short LEVELCAP = 80;
public static final int LEVEL_CON_WHITE = 7;
public static final int RESPAWN_TIMER = 90 * 1000;
public static final int DESPAWN_TIMER = 12 * 1000;

Loading…
Cancel
Save