V0.2.0: Buffed Ring of Elements, resistance and duration factors increased
This commit is contained in:
parent
69b7e5a9fc
commit
2e85c6cf33
|
@ -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<Class<?>> 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user