v2.4.0: fixed trinket catalyst spawning after sewers on existing runs

This commit is contained in:
Evan Debenham
2024-05-13 13:15:48 -04:00
parent dded8c981a
commit 29cca96a47

View File

@@ -575,12 +575,12 @@ public class Dungeon {
public static boolean intStoneNeeded(){
//one stone on floors 1-3
return !LimitedDrops.INT_STONE.dropped() && Random.Int(4-depth) == 0;
return depth < 5 && !LimitedDrops.INT_STONE.dropped() && Random.Int(4-depth) == 0;
}
public static boolean trinketCataNeeded(){
//one trinket catalyst on floors 1-3
return !LimitedDrops.TRINKET_CATA.dropped() && Random.Int(4-depth) == 0;
return depth < 5 && !LimitedDrops.TRINKET_CATA.dropped() && Random.Int(4-depth) == 0;
}
public static boolean labRoomNeeded(){