onDebuff:(ctx)=>{ctx.flags.nextTurnEnergyPenalty=(ctx.flags.nextTurnEnergyPenalty||0)+1;ctx.log("Scrum Master schedules another meeting! Lose 1 energy next turn.");}
onDebuff:(ctx)=>{ctx.flags.nextTurnEnergyPenalty=(ctx.flags.nextTurnEnergyPenalty||0)+1;ctx.log("David schedules another meeting! Lose 1 energy next turn.");}
audio.play().catch(e=>{});// Silently fail if no audio
audio.play().catch(e=>{console.log(e)});// Silently fail if no audio
}catch(e){
// Silently fail if audio not available
}
@ -251,6 +251,7 @@ export async function renderBattle(root) {
@@ -251,6 +251,7 @@ export async function renderBattle(root) {
constindex=parseInt(btn.dataset.play,10);
constcard=p.hand[index];
if(p.energy>=card.cost){
playSound('played-card.mp3')
root.play(index);
// Clear selection when card is played via mouse
root.selectedCardIndex=null;
@ -626,7 +627,7 @@ May this birthday bring joy in each moment you’ve got. </em></p>
@@ -626,7 +627,7 @@ May this birthday bring joy in each moment you’ve got. </em></p>
@ -668,7 +669,7 @@ May this birthday bring joy in each moment you’ve got. </em></p>
@@ -668,7 +669,7 @@ May this birthday bring joy in each moment you’ve got. </em></p>