v2.1.0: fixed tormented spirits having a 100% spawn rate, instead of 1%
This commit is contained in:
@@ -104,7 +104,7 @@ public class Wraith extends Mob {
|
|||||||
if ((!Dungeon.level.solid[pos] || Dungeon.level.passable[pos]) && Actor.findChar( pos ) == null) {
|
if ((!Dungeon.level.solid[pos] || Dungeon.level.passable[pos]) && Actor.findChar( pos ) == null) {
|
||||||
|
|
||||||
Wraith w;
|
Wraith w;
|
||||||
if (allowExotic && Random.Int(1) == 0){
|
if (allowExotic && Random.Int(100) == 0){
|
||||||
w = new TormentedSpirit();
|
w = new TormentedSpirit();
|
||||||
} else {
|
} else {
|
||||||
w = new Wraith();
|
w = new Wraith();
|
||||||
|
|||||||
Reference in New Issue
Block a user