v0.3.0: cursed wands no longer lose levels

This commit is contained in:
Evan Debenham 2015-05-25 21:49:01 -04:00
parent ac3f9b758a
commit 99af72cfe3

View File

@ -255,12 +255,11 @@ public abstract class Wand extends Item {
}
}
if (Random.Float() < 0.3f){
upgrade( Random.Int(n) );
upgrade(n);
if (Random.Float() < 0.3f) {
cursed = true;
cursedKnown = false;
} else
upgrade(n);
}
return this;
}