v0.3.2: thieves now cannot steal upgraded items

This commit is contained in:
Evan Debenham 2015-11-02 13:03:36 -05:00 committed by Evan Debenham
parent c9d196622b
commit a54b610fdd

View File

@ -135,7 +135,7 @@ public class Thief extends Mob {
Item item = hero.belongings.randomUnequipped();
if (item != null && !item.unique ) {
if (item != null && !item.unique && item.level < 1 ) {
GLog.w( TXT_STOLE, this.name, item.name() );
Dungeon.quickslot.clearItem( item );