v0.8.0: fixed incorrect spawn rates from demon spawners, and some items not appearing on floor 21.
This commit is contained in:
parent
44af718f92
commit
b1f7023d78
|
@ -110,7 +110,7 @@ public class DemonSpawner extends Mob {
|
|||
spawnCooldown += 60;
|
||||
if (Dungeon.depth > 21){
|
||||
//60/53.33/46.67/40 turns to spawn on floor 21/22/23/24
|
||||
spawnCooldown -= Math.max(40, (Dungeon.depth-21)*6.67);
|
||||
spawnCooldown -= Math.min(20, (Dungeon.depth-21)*6.67);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -174,7 +174,7 @@ public abstract class Level implements Bundlable {
|
|||
|
||||
Random.pushGenerator( Dungeon.seedCurDepth() );
|
||||
|
||||
if (!(Dungeon.bossLevel() || Dungeon.depth == 21) /*final shop floor*/) {
|
||||
if (!(Dungeon.bossLevel())) {
|
||||
|
||||
if (Dungeon.isChallenged(Challenges.NO_FOOD)){
|
||||
addItemToSpawn( new SmallRation() );
|
||||
|
|
Loading…
Reference in New Issue
Block a user