V0.2.0: Buffed Ring of Elements, resistance and duration factors increased

This commit is contained in:
Evan Debenham 2014-09-12 14:43:03 -04:00
parent 69b7e5a9fc
commit 2e85c6cf33

View File

@ -29,7 +29,6 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.traps.LightningTrap;
import com.watabou.utils.Random; import com.watabou.utils.Random;
public class RingOfElements extends Ring { public class RingOfElements extends Ring {
//TODO: need to rebalance this
{ {
name = "Ring of Elements"; name = "Ring of Elements";
@ -64,7 +63,7 @@ public class RingOfElements extends Ring {
public class Resistance extends RingBuff { public class Resistance extends RingBuff {
public HashSet<Class<?>> resistances() { public HashSet<Class<?>> resistances() {
if (Random.Int( level + 3 ) >= 3) { if (Random.Int( level + 2 ) >= 2) {
return FULL; return FULL;
} else { } else {
return EMPTY; return EMPTY;
@ -72,7 +71,7 @@ public class RingOfElements extends Ring {
} }
public float durationFactor() { public float durationFactor() {
return level < 0 ? 1 : (2 + 0.5f * level) / (2 + level); return level < 0 ? 1 : (1 + 0.5f * level) / (1 + level);
} }
} }
} }