v0.3.0: cursed wands no longer lose levels
This commit is contained in:
parent
ac3f9b758a
commit
99af72cfe3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user