From 8733e99e03f538a22ae62b6be6706d77dd5eca6d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 28 Aug 2014 16:23:28 -0400 Subject: [PATCH] V0.2.0: normalized Cloak of Shadows starting level (should start at level = 0) --- .../items/artifacts/CloakOfShadows.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java index f671e061d..1cc5bc384 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java @@ -25,9 +25,9 @@ public class CloakOfShadows extends Artifact { { name = "Cloak of Shadows"; image = ItemSpriteSheet.ARTIFACT_CLOAK; - level = 1; - charge = level+4; - chargeCap = level+4; + level = 0; + charge = level+5; + chargeCap = level+5; defaultAction = AC_STEALTH; } @@ -138,7 +138,7 @@ public class CloakOfShadows extends Artifact { public boolean act() { if (charge < chargeCap) { if (!stealthed) - partialCharge += (chargeCap / (52-(level*2))); + partialCharge += (chargeCap / (50-(level*2))); if (partialCharge >= 1) { charge++; @@ -190,12 +190,12 @@ public class CloakOfShadows extends Artifact { exp += 10 + ((Hero)target).lvl; - //max level is 16 (20 charges) - if (exp >= level*50 && level < 16) { - exp -= level*50; - GLog.p("Your Cloak Grows Stronger!"); + //max level is 15 (20 charges) + if (exp >= (level+1)*50 && level < 15) { level++; chargeCap++; + exp -= level*50; + GLog.p("Your Cloak Grows Stronger!"); } QuickSlot.refresh(); @@ -215,7 +215,7 @@ public class CloakOfShadows extends Artifact { if (target.invisible > 0) target.invisible--; stealthed = false; - cooldown = 10 - (level / 4); + cooldown = 10 - (level / 3); QuickSlot.refresh();