From 8644df21909bd81a72855f48bb2dca2de30de4b8 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 3 Jun 2015 16:04:23 -0400 Subject: [PATCH] v0.3.0c: mage's staff no longer loses strength requirement from being upgraded --- .../items/weapon/melee/MagesStaff.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MagesStaff.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MagesStaff.java index 1f926781f..d50f18cdd 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MagesStaff.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/MagesStaff.java @@ -65,6 +65,15 @@ public class MagesStaff extends MeleeWeapon { this.wand = wand; } + @Override + public Item upgrade(boolean enchant) { + MIN++; + MAX++; + //does not lose strength requirement + + return super.upgrade( enchant ); + } + @Override public ArrayList actions(Hero hero) { ArrayList actions = super.actions( hero );