v0.9.0: fixed secret maze prize items not being known uncursed
This commit is contained in:
parent
316e2f46d6
commit
73426c3f17
|
@ -102,6 +102,7 @@ public class SecretMazeRoom extends SecretRoom {
|
||||||
prize = Generator.randomArmor((Dungeon.depth / 5) + 1);
|
prize = Generator.randomArmor((Dungeon.depth / 5) + 1);
|
||||||
}
|
}
|
||||||
} while (prize.cursed || Challenges.isItemBlocked(prize));
|
} while (prize.cursed || Challenges.isItemBlocked(prize));
|
||||||
|
prize.cursedKnown = true;
|
||||||
|
|
||||||
//33% chance for an extra update.
|
//33% chance for an extra update.
|
||||||
if (Random.Int(3) == 0){
|
if (Random.Int(3) == 0){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user