app/cards/prosperity/forge.js
Function trash_cards
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static trash_cards(game, player_cards, selected_cards) {
let cost = _.reduce(selected_cards, (total_cost, card) => {
return total_cost + CostCalculator.calculate(game, card)
}, 0)