|
|
@ -209,7 +209,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
this.guildStatus = new AtomicInteger(0); |
|
|
|
this.guildStatus = new AtomicInteger(0); |
|
|
|
this.buildingUUID = -1; |
|
|
|
this.buildingUUID = -1; |
|
|
|
this.level = 10; |
|
|
|
this.setLevel((short)10); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -1290,7 +1290,8 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
//get level based on experience
|
|
|
|
//get level based on experience
|
|
|
|
player.level = (short) Experience.getLevel(player.exp); |
|
|
|
player.level = (short) Experience.getLevel(player.exp); |
|
|
|
|
|
|
|
if(player.level < 10) |
|
|
|
|
|
|
|
player.setLevel((short)10); |
|
|
|
player.setHealth(999999f); |
|
|
|
player.setHealth(999999f); |
|
|
|
player.mana.set(999999f); |
|
|
|
player.mana.set(999999f); |
|
|
|
player.stamina.set(999999f); |
|
|
|
player.stamina.set(999999f); |
|
|
|