two small fixes

This commit is contained in:
theelk801 2023-10-19 20:37:08 -04:00
parent 555fdb707a
commit 845b9da215
2 changed files with 2 additions and 1 deletions

View file

@ -21,7 +21,7 @@ import java.util.UUID;
*/
public final class NukaColaVendingMachine extends CardImpl {
private static final FilterPermanent filter = new FilterPermanent(SubType.CLUE, "a Clue");
private static final FilterPermanent filter = new FilterPermanent(SubType.FOOD, "a Food");
public NukaColaVendingMachine(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");

View file

@ -65,6 +65,7 @@ class TruthOrConsequencesEffect extends OneShotEffect {
vote.doVotes(source, game);
player.drawCards(vote.getVoteCount(true), source, game);
TargetOpponent target = new TargetOpponent(true);
target.setRandom(true);
target.choose(outcome, source.getControllerId(), source.getSourceId(), source, game);
Player opponent = game.getPlayer(target.getFirstTarget());
return opponent == null || opponent.damage(3 * vote.getVoteCount(false), source, game) > 0;