app/cards/menagerie/mastermind.js
Function duration
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
duration(game, player_cards, mastermind) {
game.log.push(`<strong>${player_cards.username}</strong> resolves ${CardView.render(mastermind)}`)
let eligible_cards = _.filter(player_cards.hand, (card) => {
return _.includes(_.words(card.types), 'action')
})