v1.1.0: adjusted recipe costs for elixirs and spells

This commit is contained in:
Evan Debenham 2021-11-18 19:18:55 -05:00
parent 144e98c51e
commit 0213cfe318
7 changed files with 16 additions and 14 deletions

View File

@ -76,7 +76,7 @@ public class ElixirOfMight extends Elixir {
inputs = new Class[]{PotionOfStrength.class, AlchemicalCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 5;
cost = 6;
output = ElixirOfMight.class;
outQuantity = 1;

View File

@ -72,7 +72,7 @@ public class AquaBlast extends TargetedSpell {
inputs = new Class[]{PotionOfStormClouds.class, ArcaneCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 4;
cost = 2;
output = AquaBlast.class;
outQuantity = 12;

View File

@ -202,7 +202,7 @@ public class BeaconOfReturning extends Spell {
inputs = new Class[]{ScrollOfPassage.class, ArcaneCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 10;
cost = 8;
output = BeaconOfReturning.class;
outQuantity = 5;

View File

@ -68,7 +68,7 @@ public class FeatherFall extends Spell {
inputs = new Class[]{PotionOfLevitation.class, ArcaneCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 6;
cost = 8;
output = FeatherFall.class;
outQuantity = 2;

View File

@ -81,7 +81,7 @@ public class MagicalInfusion extends InventorySpell {
inputs = new Class[]{ScrollOfUpgrade.class, ArcaneCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 4;
cost = 3;
output = MagicalInfusion.class;
outQuantity = 1;

View File

@ -84,7 +84,7 @@ public class WildEnergy extends TargetedSpell {
inputs = new Class[]{ScrollOfMysticalEnergy.class, MetalShard.class};
inQuantity = new int[]{1, 1};
cost = 8;
cost = 6;
output = WildEnergy.class;
outQuantity = 5;

View File

@ -170,9 +170,11 @@ public class QuickRecipe extends Component {
height = 16;
width = 0;
int padding = inputs.size() == 1 ? 8 : 0;
for (ItemSlot item : inputs){
item.setRect(x + width, y, 16, 16);
width += 16;
item.setRect(x + width + padding, y, 16, 16);
width += 16 + padding;
}
arrow.setRect(x + width, y, 14, 16);
@ -180,6 +182,8 @@ public class QuickRecipe extends Component {
output.setRect(x + width, y, 16, 16);
width += 16;
width += padding;
}
//used to ensure that un-IDed items are not spoiled
@ -361,8 +365,6 @@ public class QuickRecipe extends Component {
result.add(null);
result.add(new QuickRecipe(new ElixirOfHoneyedHealing.Recipe()));
result.add(new QuickRecipe(new ElixirOfAquaticRejuvenation.Recipe()));
result.add(null);
result.add(null);
result.add(new QuickRecipe(new ElixirOfMight.Recipe()));
result.add(new QuickRecipe(new ElixirOfDragonsBlood.Recipe()));
result.add(new QuickRecipe(new ElixirOfIcyTouch.Recipe()));
@ -376,13 +378,13 @@ public class QuickRecipe extends Component {
result.add(null);
result.add(null);
result.add(new QuickRecipe(new AquaBlast.Recipe()));
result.add(new QuickRecipe(new FeatherFall.Recipe()));
result.add(new QuickRecipe(new ReclaimTrap.Recipe()));
result.add(new QuickRecipe(new FeatherFall.Recipe()));
result.add(null);
result.add(null);
result.add(new QuickRecipe(new CurseInfusion.Recipe()));
result.add(new QuickRecipe(new MagicalInfusion.Recipe()));
result.add(new QuickRecipe(new Alchemize.Recipe()));
result.add(new QuickRecipe(new MagicalInfusion.Recipe()));
result.add(new QuickRecipe(new CurseInfusion.Recipe()));
result.add(new QuickRecipe(new Recycle.Recipe()));
return result;
}