From 42b2f886d5baa606995be0796af2dc3cb0957330 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 7 Feb 2024 21:26:33 -0600 Subject: [PATCH] xp and conc granted for noob --- src/engine/InterestManagement/InterestManager.java | 7 +++---- src/engine/objects/PlayerCharacter.java | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index 6dd8f66d..410479af 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -11,6 +11,7 @@ package engine.InterestManagement; import engine.Enum; import engine.Enum.DispatchChannel; import engine.Enum.GameObjectType; +import engine.gameManager.ChatManager; import engine.gameManager.GroupManager; import engine.gameManager.PowersManager; import engine.gameManager.SessionManager; @@ -545,10 +546,7 @@ 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); + if(player.getPromotionClass() == null){ PowersManager.applyPower(player,player,Vector3fImmutable.ZERO,496064712,40,false); PowersManager.applyPower(player,player,Vector3fImmutable.ZERO,496097480,40,false); PowersManager.applyPower(player,player,Vector3fImmutable.ZERO,495999176,40,false); @@ -559,6 +557,7 @@ public enum InterestManager implements Runnable { PowersManager.applyPower(player,player,Vector3fImmutable.ZERO,496617320,40,false); PowersManager.applyPower(player,player,Vector3fImmutable.ZERO,498982927,40,false); PowersManager.applyPower(player,player,Vector3fImmutable.ZERO,441156479,40,false); + ChatManager.chatSystemInfo(player, "You Have Been Granted Blessings!"); } if(player.getPromotionClass() == null){ player.grantXP(200000 - player.getExp()); diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 094547b5..6240af5d 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -1159,7 +1159,6 @@ 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) {