Fix zoom out for large sprites and trade full heal for elixir in shop
parent
133c1c364a
commit
f87dbcbac3
|
@ -965,9 +965,9 @@ export default class BattleScene extends Phaser.Scene {
|
||||||
return resolve();
|
return resolve();
|
||||||
|
|
||||||
const defaultWidth = this.arenaBg.width * 6;
|
const defaultWidth = this.arenaBg.width * 6;
|
||||||
const defaultHeight = this.arenaBg.height * 6;
|
const defaultHeight = 132 * 6;
|
||||||
const scaledWidth = this.arenaBg.width * scale;
|
const scaledWidth = this.arenaBg.width * scale;
|
||||||
const scaledHeight = this.arenaBg.height * scale;
|
const scaledHeight = 132 * scale;
|
||||||
|
|
||||||
this.tweens.add({
|
this.tweens.add({
|
||||||
targets: this.field,
|
targets: this.field,
|
||||||
|
|
|
@ -1267,10 +1267,10 @@ export function getPlayerShopModifierTypeOptionsForWave(waveIndex: integer, base
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
new ModifierTypeOption(modifierTypes.SUPER_POTION(), 0, baseCost * 0.45),
|
new ModifierTypeOption(modifierTypes.SUPER_POTION(), 0, baseCost * 0.45),
|
||||||
new ModifierTypeOption(modifierTypes.ELIXIR(), 0, baseCost)
|
new ModifierTypeOption(modifierTypes.FULL_HEAL(), 0, baseCost),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
new ModifierTypeOption(modifierTypes.FULL_HEAL(), 0, baseCost),
|
new ModifierTypeOption(modifierTypes.ELIXIR(), 0, baseCost),
|
||||||
new ModifierTypeOption(modifierTypes.MAX_ETHER(), 0, baseCost)
|
new ModifierTypeOption(modifierTypes.MAX_ETHER(), 0, baseCost)
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue