v0.4.0: updated wand curse logic

This commit is contained in:
Evan Debenham
2016-06-11 14:21:42 -04:00
committed by Evan Debenham
parent 3f9c7cf6f8
commit 6b700a96eb
2 changed files with 9 additions and 5 deletions
@@ -155,6 +155,7 @@ public class MagesStaff extends MeleeWeapon {
public Item imbueWand(Wand wand, Char owner){
wand.cursed = false;
this.wand = null;
//syncs the level of the two items.
@@ -176,7 +177,6 @@ public class MagesStaff extends MeleeWeapon {
wand.maxCharges = Math.min(wand.maxCharges + 1, 10);
wand.curCharges = wand.maxCharges;
wand.identify();
wand.cursed = false;
if (owner != null) wand.charge(owner);
name = Messages.get(wand, "staff_name");