v0.8.0: various adjustments for floor 21 now being a demon halls floor
This commit is contained in:
parent
0277224f7e
commit
3836b54a64
|
@ -85,7 +85,7 @@ public class Torch extends Item {
|
|||
|
||||
@Override
|
||||
public int price() {
|
||||
return 10 * quantity;
|
||||
return 8 * quantity;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -176,9 +176,8 @@ public class ShopRoom extends SpecialRoom {
|
|||
w = (MeleeWeapon) Generator.random(Generator.wepTiers[4]);
|
||||
itemsToSpawn.add( Generator.random(Generator.misTiers[4]).quantity(2).identify() );
|
||||
itemsToSpawn.add( new PlateArmor().identify() );
|
||||
itemsToSpawn.add( new Torch() );
|
||||
itemsToSpawn.add( new Torch() );
|
||||
itemsToSpawn.add( new Torch() );
|
||||
itemsToSpawn.add( new Torch().quantity(2) );
|
||||
itemsToSpawn.add( new Torch().quantity(2) );
|
||||
break;
|
||||
}
|
||||
w.enchant(null);
|
||||
|
|
|
@ -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[20] = chances[19] = chances[18] = chances[17] = chances[16];
|
||||
|
||||
chances[21] = chances[5];
|
||||
|
||||
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];
|
||||
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];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -369,11 +369,11 @@ public class GameScene extends PixelScene {
|
|||
case 16:
|
||||
WndStory.showChapter( WndStory.ID_CITY );
|
||||
break;
|
||||
case 22:
|
||||
case 21:
|
||||
WndStory.showChapter( WndStory.ID_HALLS );
|
||||
break;
|
||||
}
|
||||
if (Dungeon.hero.isAlive() && Dungeon.depth != 22) {
|
||||
if (Dungeon.hero.isAlive()) {
|
||||
Badges.validateNoKilling();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user