v0.3.4: adjusted hunger, now takes ~10% longer to reach starving

This commit is contained in:
Evan Debenham 2016-02-06 21:50:04 -05:00 committed by Evan Debenham
parent 878ee86d7f
commit e45a4470d1
2 changed files with 3 additions and 5 deletions

View File

@ -36,8 +36,8 @@ public class Hunger extends Buff implements Hero.Doom {
private static final float STEP = 10f;
public static final float HUNGRY = 260f;
public static final float STARVING = 360f;
public static final float HUNGRY = 300f;
public static final float STARVING = 400f;
private float level;
private float partialDamage;

View File

@ -61,8 +61,6 @@ public class HornOfPlenty extends Artifact {
private static final float TIME_TO_EAT = 3f;
private float energy = 36f;
public static final String AC_EAT = "EAT";
public static final String AC_STORE = "STORE";
@ -87,7 +85,7 @@ public class HornOfPlenty extends Artifact {
if (!isEquipped(hero)) GLog.i( Messages.get(Artifact.class, "need_to_equip") );
else if (charge == 0) GLog.i( Messages.get(this, "no_food") );
else {
((Hunger) hero.buff(Hunger.class)).satisfy(energy * charge);
hero.buff(Hunger.class).satisfy((Hunger.STARVING/10) * charge);
//if you get at least 100 food energy from the horn
if (charge >= 3) {