Browse Source

grant conc pot when level set to 10

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
7efd276d52
  1. 4
      src/engine/InterestManagement/InterestManager.java

4
src/engine/InterestManagement/InterestManager.java

@ -533,6 +533,10 @@ public enum InterestManager implements Runnable { @@ -533,6 +533,10 @@ public enum InterestManager implements Runnable {
if(player.level < 10) {
player.setLevel((short) 10);
MobLoot conc = new MobLoot(player,ItemBase.getItemBase(980066),false);
//player.getCharItemManager().addItemToInventory(conc);
player.getCharItemManager().addItemToInventory(conc.promoteToItem(player),1);
player.getCharItemManager().updateInventory();
}
player.isBoxed = false;
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){

Loading…
Cancel
Save