|
|
@ -4801,11 +4801,18 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
//}
|
|
|
|
//}
|
|
|
|
if(this.isEnteredWorld() && this.isActive() && this.getLevel() < 10){ |
|
|
|
if(this.isEnteredWorld() && this.isActive() && this.getLevel() < 10){ |
|
|
|
this.setLevel((short) 10); |
|
|
|
this.setLevel((short) 10); |
|
|
|
MobLoot conc = new MobLoot(this,ItemBase.getItemBase(980066),false); |
|
|
|
boolean hasConc = false; |
|
|
|
this.getCharItemManager().addItemToInventory(conc); |
|
|
|
for(Item i : this.getCharItemManager().getInventory()){ |
|
|
|
this.getCharItemManager().addItemToInventory(conc.promoteToItem(this),1); |
|
|
|
if(i.getItemBaseID() == 980066){ |
|
|
|
|
|
|
|
hasConc = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(hasConc == false) { |
|
|
|
|
|
|
|
MobLoot conc = new MobLoot(this, ItemBase.getItemBase(980066), false); |
|
|
|
|
|
|
|
this.getCharItemManager().addItemToInventory(conc.promoteToItem(this), 1); |
|
|
|
this.getCharItemManager().updateInventory(); |
|
|
|
this.getCharItemManager().updateInventory(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error(e); |
|
|
|
Logger.error(e); |
|
|
|