v0.8.0: various adjustments for floor 21 now being a demon halls floor

This commit is contained in:
Evan Debenham 2020-02-13 22:56:08 -05:00
parent 0277224f7e
commit 3836b54a64
4 changed files with 7 additions and 10 deletions

View File

@ -85,7 +85,7 @@ public class Torch extends Item {
@Override @Override
public int price() { public int price() {
return 10 * quantity; return 8 * quantity;
} }
} }

View File

@ -176,9 +176,8 @@ public class ShopRoom extends SpecialRoom {
w = (MeleeWeapon) Generator.random(Generator.wepTiers[4]); w = (MeleeWeapon) Generator.random(Generator.wepTiers[4]);
itemsToSpawn.add( Generator.random(Generator.misTiers[4]).quantity(2).identify() ); itemsToSpawn.add( Generator.random(Generator.misTiers[4]).quantity(2).identify() );
itemsToSpawn.add( new PlateArmor().identify() ); itemsToSpawn.add( new PlateArmor().identify() );
itemsToSpawn.add( new Torch() ); itemsToSpawn.add( new Torch().quantity(2) );
itemsToSpawn.add( new Torch() ); itemsToSpawn.add( new Torch().quantity(2) );
itemsToSpawn.add( new Torch() );
break; break;
} }
w.enchant(null); w.enchant(null);

View File

@ -148,10 +148,8 @@ public abstract class StandardRoom extends Room {
chances[16] = new float[]{20, 0,0, 0,0, 0,0, 15,5, 0,0, 1,1,1,1,1,1,1,1,1,1}; chances[16] = new float[]{20, 0,0, 0,0, 0,0, 15,5, 0,0, 1,1,1,1,1,1,1,1,1,1};
chances[20] = chances[19] = chances[18] = chances[17] = chances[16]; chances[20] = chances[19] = chances[18] = chances[17] = chances[16];
chances[21] = chances[5]; chances[21] = new float[]{20, 0,0, 0,0, 0,0, 0,0, 15,5, 1,1,1,1,1,1,1,1,1,1};
chances[26] = chances[25] = chances[24] = chances[23] = chances[22] = chances[21];
chances[22] = new float[]{20, 0,0, 0,0, 0,0, 0,0, 15,5, 1,1,1,1,1,1,1,1,1,1};
chances[26] = chances[25] = chances[24] = chances[23] = chances[22];
} }

View File

@ -369,11 +369,11 @@ public class GameScene extends PixelScene {
case 16: case 16:
WndStory.showChapter( WndStory.ID_CITY ); WndStory.showChapter( WndStory.ID_CITY );
break; break;
case 22: case 21:
WndStory.showChapter( WndStory.ID_HALLS ); WndStory.showChapter( WndStory.ID_HALLS );
break; break;
} }
if (Dungeon.hero.isAlive() && Dungeon.depth != 22) { if (Dungeon.hero.isAlive()) {
Badges.validateNoKilling(); Badges.validateNoKilling();
} }
break; break;