v0.3.0: added class aliases and generator chances for new wands.

This commit is contained in:
Evan Debenham 2015-05-07 01:45:04 -04:00
parent 0f27550960
commit 42af14f98a
2 changed files with 39 additions and 15 deletions

View File

@ -55,13 +55,36 @@ public class ShatteredPixelDungeon extends Game {
com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon.class,
"com.shatteredpixel.shatteredpixeldungeon.items.LloydsBeacon" );
// 0.3.0
// 0.3.0, lots of wands
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfVenom.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfPoison" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFrost.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfSlowness" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFireblast.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFirebolt" );
//TODO: add when this one is implemented
//com.watabou.utils.Bundle.addAlias(
// com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfCorruption.class,
// "com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfAmok" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfBlastWave.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfTelekinesis" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFlock" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfAvalanche" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfBlink" );
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile.class,
"com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfTeleportation" );
}

View File

@ -115,21 +115,22 @@ public class Generator {
PotionOfFrost.class };
Category.POTION.probs = new float[]{ 45, 4, 15, 10, 15, 10, 0, 20, 12, 10, 0, 10 };
//TODO: add last ones when implemented
Category.WAND.classes = new Class<?>[]{
WandOfTeleportation.class,
WandOfSlowness.class,
WandOfFireblast.class,
WandOfRegrowth.class,
WandOfPoison.class,
WandOfBlink.class,
WandOfLightning.class,
WandOfAmok.class,
WandOfTelekinesis.class,
WandOfFlock.class,
WandOfMagicMissile.class,
WandOfLightning.class,
WandOfDisintegration.class,
WandOfAvalanche.class };
Category.WAND.probs = new float[]{ 10, 10, 15, 6, 10, 11, 15, 10, 6, 10, 0, 5, 5 };
WandOfFireblast.class,
WandOfVenom.class,
WandOfBlastWave.class,
//WandOfLivingEarth.class,
WandOfFrost.class,
WandOfPrismaticLight.class,
//WandOfWarding.class,
//WandOfTransfusion.class,
//WandOfCorruption.class,
WandOfRegrowth.class };
Category.WAND.probs = new float[]{ 4, 4, 4, 4, 4, 3, /*3,*/ 3, 3, /*3, 3, 3,*/ 3 };
Category.WEAPON.classes = new Class<?>[]{
Dagger.class,