v3.0.0: reduced cases where disarming traps would fail to teleport
This commit is contained in:
@@ -84,7 +84,7 @@ public class DisarmingTrap extends Trap{
|
||||
if (weapon != null && !weapon.cursed) {
|
||||
|
||||
int cell;
|
||||
int tries = 20;
|
||||
int tries = 50;
|
||||
do {
|
||||
cell = Dungeon.level.randomRespawnCell( null );
|
||||
if (tries-- < 0 && cell != -1) break;
|
||||
|
||||
Reference in New Issue
Block a user