micahstairs / bga-innovation

MIT License
6 stars 2 forks source link

EAST INDIA COMPANY CHARTER doesn't do the last effect #1427

Closed ultimatefiend closed 8 months ago

ultimatefiend commented 8 months ago

"Choose a value other than 5. Return all cards of that value from all score piles. For each score pile from which cards are returned, draw and score a 5. If you do, junk all cards in the deck of the chosen value."

I returned twos and the two pile didn't get junked.

ultimatefiend commented 8 months ago

That logic doesn't appear in the code :

public function afterInteraction() { if (self::isSecondInteraction()) { $numCards = self::getAuxiliaryValue(); for ($i = 0; $i < $numCards; $i++) { self::drawAndScore(5); } } }

It looks like an oversight,