Update the button events to take into account the quantity field

This commit is contained in:
Ethan Lane 2024-09-06 18:07:55 +01:00
parent 9f5042d696
commit 7106b16aec
2 changed files with 20 additions and 6 deletions

View file

@ -46,7 +46,7 @@ export default class Sacrifice extends Command {
return;
}
const cardValue = GetSacrificeAmount(cardData.card.type);
const cardValue = GetSacrificeAmount(cardData.card.type) * quantity;
const cardRarityString = CardRarityToString(cardData.card.type);
const description = [