From dfff62ef05994a35476b0118943e0a63c3c000eb Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 28 Nov 2014 16:26:31 -0500 Subject: [PATCH] v0.2.3: Sandals of nature buffed (in anticipation of nerfs to potion farming) --- .../items/artifacts/SandalsOfNature.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java index b8a93c8f8..3638f5f7a 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java @@ -175,8 +175,9 @@ public class SandalsOfNature extends Artifact { public class Naturalism extends ArtifactBuff{ public void charge() { - if (charge < 25*level){ - charge++; + if (charge < target.HT){ + //gain 1+(1*level)% of the difference between current charge and max HP. + charge+= (Math.round( (target.HT-charge) * (.01+ level*0.01) )); } } }