From ababc270ddeca71493398a5904863cd5ceff20a2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 9 Jun 2016 04:32:07 -0400 Subject: [PATCH] v0.4.0: adjusted shop generation --- AndroidManifest.xml | 2 +- .../levels/painters/ShopPainter.java | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index aba47cf4e..00c5c9544 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@ diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/ShopPainter.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/ShopPainter.java index 419f4cc85..8826d33cc 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/ShopPainter.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/ShopPainter.java @@ -53,11 +53,11 @@ import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfMagicMappi import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfRemoveCurse; import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.BattleAxe; -import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Glaive; +import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Greatsword; +import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.HandAxe; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Longsword; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Mace; -import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Quarterstaff; -import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Spear; +import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.NewShortsword; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Sword; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.WarHammer; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.missiles.CurareDart; @@ -127,7 +127,7 @@ public class ShopPainter extends Painter { switch (Dungeon.depth) { case 6: - itemsToSpawn.add( (Random.Int( 2 ) == 0 ? new Quarterstaff() : new Spear()).identify() ); + itemsToSpawn.add( (Random.Int( 2 ) == 0 ? new NewShortsword().identify() : new HandAxe()).identify() ); itemsToSpawn.add( Random.Int( 2 ) == 0 ? new IncendiaryDart().quantity(Random.NormalIntRange(2, 4)) : new CurareDart().quantity(Random.NormalIntRange(1, 3))); @@ -135,7 +135,7 @@ public class ShopPainter extends Painter { break; case 11: - itemsToSpawn.add( (Random.Int( 2 ) == 0 ? new Sword() : new Mace()).identify() ); + itemsToSpawn.add( (Random.Int( 2 ) == 0 ? new Sword().identify() : new Mace()).identify() ); itemsToSpawn.add( Random.Int( 2 ) == 0 ? new CurareDart().quantity(Random.NormalIntRange(2, 5)) : new Shuriken().quantity(Random.NormalIntRange(3, 6))); @@ -143,7 +143,7 @@ public class ShopPainter extends Painter { break; case 16: - itemsToSpawn.add( (Random.Int( 2 ) == 0 ? new Longsword() : new BattleAxe()).identify() ); + itemsToSpawn.add( (Random.Int( 2 ) == 0 ? new Longsword().identify() : new BattleAxe()).identify() ); itemsToSpawn.add( Random.Int( 2 ) == 0 ? new Shuriken().quantity(Random.NormalIntRange(4, 7)) : new Javelin().quantity(Random.NormalIntRange(3, 6))); @@ -151,7 +151,7 @@ public class ShopPainter extends Painter { break; case 21: - itemsToSpawn.add( Random.Int( 2 ) == 0 ? new Glaive().identify() : new WarHammer().identify() ); + itemsToSpawn.add( Random.Int( 2 ) == 0 ? new Greatsword().identify() : new WarHammer().identify() ); itemsToSpawn.add( Random.Int(2) == 0 ? new Javelin().quantity(Random.NormalIntRange(4, 7)) : new Tamahawk().quantity(Random.NormalIntRange(4, 7)));