From e94d2b4874a09c3f275267d31b10d638ac608ea3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 11 Jun 2016 18:33:57 -0400 Subject: [PATCH] v0.4.0: fixed statues sometimes having cursed weapons --- .../shatteredpixeldungeon/actors/mobs/Statue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Statue.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Statue.java index 95ebc0ebe..401da8681 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Statue.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Statue.java @@ -55,7 +55,7 @@ public class Statue extends Mob { do { weapon = (Weapon)Generator.random( Generator.Category.WEAPON ); - } while (!(weapon instanceof MeleeWeapon) || weapon.level() < 0); + } while (!(weapon instanceof MeleeWeapon) || weapon.cursed); weapon.identify(); weapon.enchant( Enchantment.random() );