This commit is contained in:
Brian Fertig 2026-03-23 22:31:50 -06:00
parent eabf10ca4a
commit 313f14b956
5 changed files with 12 additions and 6 deletions

Binary file not shown.

BIN
assets/audio/fx/fuse.mp3 Normal file

Binary file not shown.

View File

@ -23,8 +23,8 @@
}, },
{ {
"name": "rupture", "name": "rupture",
"description": "Apply rupture stacks to target. Each stack deals 1 damage at the start of the turn.", "description": "Apply rupture stacks to target. Each stack deals value damage at the start of the turn.",
"allDescription": "Apply rupture stacks to ALL enemy cards. Each stack deals 1 damage at the start of the turn.", "allDescription": "Apply rupture stacks to ALL enemy cards. Each stack deals value damage at the start of the turn.",
"trigger": "on_attack", "trigger": "on_attack",
"category": "offense", "category": "offense",
"supportsAll": true "supportsAll": true
@ -59,7 +59,7 @@
}, },
{ {
"name": "protect", "name": "protect",
"description": "Before battle: grant +value armor to self and adjacent lane cards. Removed after each turn.", "description": "Before battle: grant +value armor to self and half to adjacent lane cards. Removed after each turn.",
"trigger": "preBattle", "trigger": "preBattle",
"category": "defense" "category": "defense"
}, },
@ -79,8 +79,8 @@
}, },
{ {
"name": "weaken", "name": "weaken",
"description": "Reduce all of target's skill values by value.", "description": "Reduce target's armor and attack by half of value.",
"allDescription": "Reduce ALL enemy cards' skill values by value.", "allDescription": "Reduce ALL enemy cards' armor and attack by value.",
"trigger": "on_attack", "trigger": "on_attack",
"category": "control", "category": "control",
"supportsAll": true "supportsAll": true

View File

@ -69,6 +69,8 @@ export class BootScene extends Phaser.Scene {
this.load.audio('sfx_store_buy', 'assets/audio/fx/buy.mp3'); this.load.audio('sfx_store_buy', 'assets/audio/fx/buy.mp3');
this.load.audio('sfx_store_card', 'assets/audio/fx/card.mp3'); this.load.audio('sfx_store_card', 'assets/audio/fx/card.mp3');
this.load.audio('sfx_store_card_bonus', 'assets/audio/fx/card-bonus.mp3'); this.load.audio('sfx_store_card_bonus', 'assets/audio/fx/card-bonus.mp3');
this.load.audio('sfx_fuse', 'assets/audio/fx/fuse.mp3');
this.load.audio('sfx_fuse_card', 'assets/audio/fx/fuse-card.mp3');
this.load.audio('music_main_menu', 'assets/audio/music/main_menu.mp3'); this.load.audio('music_main_menu', 'assets/audio/music/main_menu.mp3');

View File

@ -578,6 +578,9 @@ export class FusionScene extends Phaser.Scene {
return; return;
} }
// Play fuse sound effect
this.sound.play('sfx_fuse', { volume: 0.8 });
// Lock UI // Lock UI
this.state = 'FUSING'; this.state = 'FUSING';
this._fuseBtnBg.setVisible(false); this._fuseBtnBg.setVisible(false);
@ -870,7 +873,8 @@ export class FusionScene extends Phaser.Scene {
targets: resultCard, targets: resultCard,
scaleX: 1, scaleY: 1, alpha: 1, angle: 0, scaleX: 1, scaleY: 1, alpha: 1, angle: 0,
duration: 500, delay: 300, duration: 500, delay: 300,
ease: 'Back.Out' ease: 'Back.Out',
onStart: () => { this.sound.play('sfx_fuse_card', { volume: 0.8 }); }
}); });
// Rarity glow // Rarity glow