app/cards/menagerie/events/toil.js
Function buy
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buy(game, player_cards) {
let buy_gainer = new BuyGainer(game, player_cards)
buy_gainer.gain(1)
let eligible_cards = _.filter(player_cards.hand, (card) => {