xp and conc granted for noob

This commit is contained in:
2024-02-07 21:38:02 -06:00
parent 4559519512
commit 2a06015a0e
2 changed files with 10 additions and 12 deletions
@@ -546,8 +546,17 @@ public enum InterestManager implements Runnable {
return;
}
}
if(player.getPromotionClass() == null){
if(player.getLevel() < 25){
ItemBase itemBase = ItemBase.getItemBase(980066);
boolean hasConc = false;
for(Item item : player.getCharItemManager().getInventory())
if(item.getItemBase().equals(itemBase))
hasConc = true;
if(!hasConc){
MobLoot ml = new MobLoot(player,itemBase,false);
ml.promoteToItem(player);
}
}
if(player.getPromotionClass() == null){
player.grantXP(200000 - player.getExp());
-11
View File
@@ -2229,17 +2229,6 @@ public class PlayerCharacter extends AbstractCharacter {
// Warehouse this event
CharacterRecord.updatePromotionClass(this);
// give buffs
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,496064712,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,496097480,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,495999176,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,496031944,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,496195784,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,496228552,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,294901960,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,496617320,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,498982927,40,false);
PowersManager.applyPower(this,this,Vector3fImmutable.ZERO,441156479,40,false);
return true;
}