V0.2.0: Changed artifacts to use upgrade() instead of level++

This commit is contained in:
Evan Debenham
2014-09-13 17:34:50 -04:00
parent 0ce1c3e701
commit 7abb24f723
6 changed files with 6 additions and 6 deletions
@@ -172,7 +172,7 @@ public class HornOfPlenty extends Artifact {
hero.busy();
hero.spend( TIME_TO_EAT );
curItem.level += ((Food)item).hornValue;
curItem.upgrade(((Food)item).hornValue);
if (curItem.level >= 30){
curItem.level = 30;
GLog.p("your horn has consumed all the food it can!");