From 2e85c6cf33907bfeec4ce2c62cb63f1cec847e19 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 12 Sep 2014 14:43:03 -0400 Subject: [PATCH] V0.2.0: Buffed Ring of Elements, resistance and duration factors increased --- .../shatteredpixeldungeon/items/rings/RingOfElements.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/rings/RingOfElements.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/rings/RingOfElements.java index 8a21fd7aa..dfad89b55 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/rings/RingOfElements.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/rings/RingOfElements.java @@ -29,7 +29,6 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.traps.LightningTrap; import com.watabou.utils.Random; public class RingOfElements extends Ring { - //TODO: need to rebalance this { name = "Ring of Elements"; @@ -64,7 +63,7 @@ public class RingOfElements extends Ring { public class Resistance extends RingBuff { public HashSet> resistances() { - if (Random.Int( level + 3 ) >= 3) { + if (Random.Int( level + 2 ) >= 2) { return FULL; } else { return EMPTY; @@ -72,7 +71,7 @@ public class RingOfElements extends Ring { } public float durationFactor() { - return level < 0 ? 1 : (2 + 0.5f * level) / (2 + level); + return level < 0 ? 1 : (1 + 0.5f * level) / (1 + level); } } }