From c73688de4d94afe479a3e6fdb928a0f5150e8df3 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 7 Feb 2024 20:52:00 -0600 Subject: [PATCH] xp and conc granted for noob --- src/engine/InterestManagement/InterestManager.java | 5 +++++ src/engine/objects/PlayerCharacter.java | 1 + 2 files changed, 6 insertions(+) diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index 0d4bb8d0..b29dd95f 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -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); + } } diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 6240af5d..094547b5 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/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, (byte) beardColorID, (byte) beardStyleID, (byte) hairStyleID); + pcWithoutID.exp = 110000; try { playerCharacter = DbManager.PlayerCharacterQueries.ADD_PLAYER_CHARACTER(pcWithoutID); } catch (Exception e) {