From 19a0f25414573117d7954cb9e2bbf6d05be43369 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 11 Sep 2019 22:21:01 -0400 Subject: [PATCH] v0.7.5: adjusted bone piles to always be haunted if they spawn with a cursed item --- .../levels/rooms/secret/SecretSummoningRoom.java | 2 +- .../shatteredpixeldungeon/levels/rooms/special/PitRoom.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretSummoningRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretSummoningRoom.java index 62ac30446..add5d3faa 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretSummoningRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretSummoningRoom.java @@ -49,7 +49,7 @@ public class SecretSummoningRoom extends SecretRoom { Painter.fill(level, this, 1, Terrain.SECRET_TRAP); Point center = center(); - level.drop(Generator.random(), level.pointToCell(center)).setHauntedIfCursed(0.75f).type = Heap.Type.SKELETON; + level.drop(Generator.random(), level.pointToCell(center)).setHauntedIfCursed(1f).type = Heap.Type.SKELETON; for (Point p : getPoints()){ int cell = level.pointToCell(p); diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/PitRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/PitRoom.java index 53dc60dde..1263c3780 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/PitRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/PitRoom.java @@ -81,7 +81,7 @@ public class PitRoom extends SpecialRoom { int n = Random.IntRange( 1, 2 ); for (int i=0; i < n; i++) { - level.drop( prize( level ), remains ).setHauntedIfCursed(0.75f); + level.drop( prize( level ), remains ).setHauntedIfCursed(1f); } }