From 39512b167eca0790ffccbec764d6bef86b76844e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 9 Jun 2016 15:53:16 -0400 Subject: [PATCH] v0.4.0: weapon gen bugfix --- .../items/weapon/melee/MeleeWeapon.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MeleeWeapon.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MeleeWeapon.java index 950d224ab..0d0b89647 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MeleeWeapon.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MeleeWeapon.java @@ -125,15 +125,5 @@ public class MeleeWeapon extends Weapon { } return price; } - - @Override - public Item random() { - super.random(); - - if (Random.Int( 10 + level() ) == 0) { - enchant(); - } - - return this; - } + }