Update the button events to take into account the quantity field
This commit is contained in:
parent
9f5042d696
commit
7106b16aec
2 changed files with 20 additions and 6 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue