v0.3.2: thieves now cannot steal upgraded items
This commit is contained in:
parent
c9d196622b
commit
a54b610fdd
|
@ -135,7 +135,7 @@ public class Thief extends Mob {
|
||||||
|
|
||||||
Item item = hero.belongings.randomUnequipped();
|
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() );
|
GLog.w( TXT_STOLE, this.name, item.name() );
|
||||||
Dungeon.quickslot.clearItem( item );
|
Dungeon.quickslot.clearItem( item );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user