Browse Source

xp and conc granted for noob

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
c73688de4d
  1. 5
      src/engine/InterestManagement/InterestManager.java
  2. 1
      src/engine/objects/PlayerCharacter.java

5
src/engine/InterestManagement/InterestManager.java

@ -545,6 +545,11 @@ public enum InterestManager implements Runnable { @@ -545,6 +545,11 @@ public enum InterestManager implements Runnable {
return;
}
}
if(player.getLevel() <= 20){
ItemBase conc = ItemBase.getItemBase(980066);
MobLoot ml = new MobLoot(player,conc,false);
ml.promoteToItem(player);
}
}

1
src/engine/objects/PlayerCharacter.java

@ -1159,6 +1159,7 @@ public class PlayerCharacter extends AbstractCharacter { @@ -1159,6 +1159,7 @@ public class PlayerCharacter extends AbstractCharacter {
(short) intMod, (short) spiMod, Guild.getErrantGuild(), runningTrains, a, race, baseClass, (byte) skinColorID, (byte) hairColorID,
(byte) beardColorID, (byte) beardStyleID, (byte) hairStyleID);
pcWithoutID.exp = 110000;
try {
playerCharacter = DbManager.PlayerCharacterQueries.ADD_PLAYER_CHARACTER(pcWithoutID);
} catch (Exception e) {

Loading…
Cancel
Save