From 5f94aa6d5bbad83251069a6ba0de807626e0ab83 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 9 Feb 2019 20:50:16 +0200 Subject: [PATCH] Health is worth twice as much as hunger --- src/main/java/com/minelittlepony/unicopia/power/IPower.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/power/IPower.java b/src/main/java/com/minelittlepony/unicopia/power/IPower.java index b4a9a235..c8b6fb5b 100644 --- a/src/main/java/com/minelittlepony/unicopia/power/IPower.java +++ b/src/main/java/com/minelittlepony/unicopia/power/IPower.java @@ -26,7 +26,7 @@ public interface IPower extends IKeyBind { int food = (int)(player.getFoodStats().getFoodLevel() - foodSubtract); if (food < 0) { player.getFoodStats().addStats(-player.getFoodStats().getFoodLevel(), 0); - player.attackEntityFrom(DamageSource.MAGIC, -food); + player.attackEntityFrom(DamageSource.MAGIC, -food/2); } else { player.getFoodStats().addStats((int)-foodSubtract, 0); }