Browse Source

level cap increased to 80

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
f6df6db17b
  1. 4
      src/engine/objects/Experience.java
  2. 2
      src/engine/server/MBServerStatics.java

4
src/engine/objects/Experience.java

@ -444,8 +444,8 @@ public class Experience {
} }
} else { // Give EXP to a single character } else { // Give EXP to a single character
if (!killer.isAlive()) // Skip if the player is dead. //if (!killer.isAlive()) // Skip if the player is dead.
return; // return;
if (killer.getLevel() >= MBServerStatics.LEVELCAP) if (killer.getLevel() >= MBServerStatics.LEVELCAP)
return; return;

2
src/engine/server/MBServerStatics.java

@ -357,7 +357,7 @@ public class MBServerStatics {
public static final int COMBAT_SEND_DODGE = 20; public static final int COMBAT_SEND_DODGE = 20;
public static final int COMBAT_SEND_BLOCK = 21; public static final int COMBAT_SEND_BLOCK = 21;
public static final int COMBAT_SEND_PARRY = 22; 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 LEVEL_CON_WHITE = 7;
public static final int RESPAWN_TIMER = 90 * 1000; public static final int RESPAWN_TIMER = 90 * 1000;
public static final int DESPAWN_TIMER = 12 * 1000; public static final int DESPAWN_TIMER = 12 * 1000;

Loading…
Cancel
Save