v0.2.3: artifacts can now be cursed (couple rough edges to smooth out)

This commit is contained in:
Evan Debenham
2014-11-19 01:36:36 -05:00
parent 268435d390
commit 0ba2ca4302
12 changed files with 143 additions and 66 deletions
@@ -171,7 +171,7 @@ public class ItemSlot extends Button {
int level = item.visiblyUpgraded();
if (level != 0 || (item.cursed && item.cursedKnown)) {
if (level != 0) {
bottomRight.text( item.levelKnown ? Utils.format( TXT_LEVEL, level ) : "" );
bottomRight.measure();
bottomRight.hardlight( level > 0 ? UPGRADED : DEGRADED );