Browse Source

xp and conc granted for noob

lakebane-master
FatBoy-DOTC 11 months ago
parent
commit
42b2f886d5
  1. 7
      src/engine/InterestManagement/InterestManager.java
  2. 1
      src/engine/objects/PlayerCharacter.java

7
src/engine/InterestManagement/InterestManager.java

@ -11,6 +11,7 @@ package engine.InterestManagement; @@ -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 { @@ -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 { @@ -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());

1
src/engine/objects/PlayerCharacter.java

@ -1159,7 +1159,6 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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) {

Loading…
Cancel
Save