v1.2.0: reduced energy from boss consumables, fixed recipes prices, reduced alchemize in stores
This commit is contained in:
parent
5a8cd90025
commit
dd34e08e5d
|
@ -92,6 +92,6 @@ public class ArcaneBomb extends Bomb {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients
|
//prices of ingredients
|
||||||
return quantity * (20 + 50);
|
return quantity * (20 + 30);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,6 +81,6 @@ public class ShrapnelBomb extends Bomb {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients
|
//prices of ingredients
|
||||||
return quantity * (20 + 100);
|
return quantity * (20 + 50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class CausticBrew extends Brew {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients
|
//prices of ingredients
|
||||||
return quantity * (30 + 50);
|
return quantity * (30 + 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class ElixirOfAquaticRejuvenation extends Elixir {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients
|
//prices of ingredients
|
||||||
return quantity * (30 + 50);
|
return quantity * (30 + 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class AquaHealing extends Buff {
|
public static class AquaHealing extends Buff {
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class ElixirOfArcaneArmor extends Elixir {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients
|
//prices of ingredients
|
||||||
return quantity * (50 + 40);
|
return quantity * (60 + 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
||||||
|
|
|
@ -48,6 +48,6 @@ public class GooBlob extends Item {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int energyVal() {
|
public int energyVal() {
|
||||||
return quantity * 4;
|
return quantity * 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,6 @@ public class MetalShard extends Item {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int energyVal() {
|
public int energyVal() {
|
||||||
return quantity * 6;
|
return quantity * 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class CurseInfusion extends InventorySpell {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients, divided by output quantity
|
//prices of ingredients, divided by output quantity
|
||||||
return Math.round(quantity * ((30 + 100) / 3f));
|
return Math.round(quantity * ((30 + 50) / 3f));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
||||||
|
|
|
@ -117,7 +117,7 @@ public class ReclaimTrap extends TargetedSpell {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients, divided by output quantity
|
//prices of ingredients, divided by output quantity
|
||||||
return Math.round(quantity * ((40 + 100) / 3f));
|
return Math.round(quantity * ((40 + 50) / 3f));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final String STORED_TRAP = "stored_trap";
|
private static final String STORED_TRAP = "stored_trap";
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class WildEnergy extends TargetedSpell {
|
||||||
@Override
|
@Override
|
||||||
public int value() {
|
public int value() {
|
||||||
//prices of ingredients, divided by output quantity
|
//prices of ingredients, divided by output quantity
|
||||||
return Math.round(quantity * ((50 + 100) / 5f));
|
return Math.round(quantity * ((50 + 50) / 5f));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
|
||||||
|
|
|
@ -189,7 +189,7 @@ public class ShopRoom extends SpecialRoom {
|
||||||
|
|
||||||
itemsToSpawn.add( TippedDart.randomTipped(2) );
|
itemsToSpawn.add( TippedDart.randomTipped(2) );
|
||||||
|
|
||||||
itemsToSpawn.add( new Alchemize().quantity(Random.IntRange(3, 4)));
|
itemsToSpawn.add( new Alchemize().quantity(Random.IntRange(2, 3)));
|
||||||
|
|
||||||
itemsToSpawn.add(ChooseBag(Dungeon.hero.belongings));
|
itemsToSpawn.add(ChooseBag(Dungeon.hero.belongings));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user