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());