forked from External/mage
two small fixes
This commit is contained in:
parent
555fdb707a
commit
845b9da215
2 changed files with 2 additions and 1 deletions
|
|
@ -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}");
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue