Browse Source

xp and conc granted for noob

lakebane-master
FatBoy-DOTC 11 months ago
parent
commit
e8973ecb6d
  1. 12
      src/engine/InterestManagement/InterestManager.java

12
src/engine/InterestManagement/InterestManager.java

@ -546,19 +546,13 @@ public enum InterestManager implements Runnable {
return; return;
} }
} }
if(player.getExp() < 350000){ if(player.getPromotionClass() == null){
ItemBase itemBase = ItemBase.getItemBase(980066); player.setLevel((short)10);
MobLoot ml = new MobLoot(player,ItemBase.getItemBase(980066),false);
if(!player.receivedConc){
MobLoot ml = new MobLoot(player,itemBase,false);
ml.promoteToItem(player); ml.promoteToItem(player);
player.receivedConc = true; player.receivedConc = true;
} }
} }
if(player.getPromotionClass() == null){
player.grantXP(200000 - player.getExp());
}
}
public synchronized void HandleLoadForTeleport(PlayerCharacter playerCharacter) { public synchronized void HandleLoadForTeleport(PlayerCharacter playerCharacter) {

Loading…
Cancel
Save