Browse Source

xp and conc granted for noob

lakebane-master
FatBoy-DOTC 10 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 {
return; 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 {
(short) intMod, (short) spiMod, Guild.getErrantGuild(), runningTrains, a, race, baseClass, (byte) skinColorID, (byte) hairColorID, (short) intMod, (short) spiMod, Guild.getErrantGuild(), runningTrains, a, race, baseClass, (byte) skinColorID, (byte) hairColorID,
(byte) beardColorID, (byte) beardStyleID, (byte) hairStyleID); (byte) beardColorID, (byte) beardStyleID, (byte) hairStyleID);
pcWithoutID.exp = 110000;
try { try {
playerCharacter = DbManager.PlayerCharacterQueries.ADD_PLAYER_CHARACTER(pcWithoutID); playerCharacter = DbManager.PlayerCharacterQueries.ADD_PLAYER_CHARACTER(pcWithoutID);
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save