obstacles and chest loot
This commit is contained in:
@@ -30,6 +30,7 @@ public class PotionObj extends Entity {
|
||||
entity.life += value;
|
||||
if(panel.player.life > panel.player.maxLife) panel.player.life = panel.player.maxLife;
|
||||
panel.playSE(2);
|
||||
panel.player.inventory.remove(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user