From 3fff7443947b9957c5132acd0e8a9f52765a593e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 19 Oct 2017 23:55:28 -0400 Subject: [PATCH] v0.6.2: fixed exp progression bugs with cloak of shadows --- .../shatteredpixeldungeon/items/artifacts/CloakOfShadows.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java index 80a2432c3..f3106f53d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java @@ -233,7 +233,7 @@ public class CloakOfShadows extends Artifact { ((Hero) target).interrupt(); } else { //target hero level is 1 + 2*cloak level - int lvlDiffFromTarget = ((Hero) target).lvl - 1+level()*2; + int lvlDiffFromTarget = ((Hero) target).lvl - (1+level()*2); //plus an extra one for each level after 6 if (level() >= 7){ lvlDiffFromTarget -= level()-6;