v0.4.1: fixed cursed items sometimes not being known from crypts
This commit is contained in:
parent
99babc1950
commit
df3a840d83
|
@ -77,7 +77,7 @@ public class CryptPainter extends Painter {
|
||||||
if (!prize.cursed){
|
if (!prize.cursed){
|
||||||
prize.upgrade();
|
prize.upgrade();
|
||||||
//curse the armor, unless it has a glyph
|
//curse the armor, unless it has a glyph
|
||||||
if (prize.glyph == null){
|
if (!prize.hasGoodGlyph()){
|
||||||
prize.cursed = prize.cursedKnown = true;
|
prize.cursed = prize.cursedKnown = true;
|
||||||
prize.inscribe(Armor.Glyph.randomCurse());
|
prize.inscribe(Armor.Glyph.randomCurse());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user