From e033cfb4d9aaf3ddf0ce065e63e1f02dfa720848 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 9 Aug 2015 03:14:07 -0400 Subject: [PATCH] v0.3.1: ethereal chains now properly cap at level 10 --- .../shatteredpixeldungeon/items/artifacts/EtherealChains.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java index 07d616308..fb9ff745d 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java @@ -231,7 +231,7 @@ public class EtherealChains extends Artifact { exp += Math.round(levelPortion*100); partialCharge += levelPortion*10f; - if (exp > 100+level*50){ + if (exp > 100+level*50 && level < levelCap){ exp -= 100+level*50; GLog.p("Your chains grow stronger!"); upgrade();