From 3974d3a2553aa08d6596b33cdbc3a862523e02b9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 5 Jun 2016 17:28:31 -0400 Subject: [PATCH] v0.4.0: fixed a bug where sandals of nature were gaining charge at level 0. --- .../shatteredpixeldungeon/items/artifacts/SandalsOfNature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java index af20c7d60..1b5c3e8d7 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java @@ -154,7 +154,7 @@ public class SandalsOfNature extends Artifact { public class Naturalism extends ArtifactBuff{ public void charge() { - if (charge < target.HT){ + if (level() > 0 && 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) )); updateQuickslot();