@Override public RevealHandTargetEffect copy() { return new RevealHandTargetEffect(this); }
public ZamWesell(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}{U}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.SHAPESHIFTER, SubType.HUNTER); this.power = new MageInt(2); this.toughness = new MageInt(2); // When you cast Zam Wessel, target opponent reveals their hand. You may choose a creature card from it and have Zam Wessel enter the battlefield as a copy of that creature card. Ability ability = new CastSourceTriggeredAbility(new RevealHandTargetEffect()); ability.addEffect(new ZamWesselEffect()); ability.addTarget(new TargetOpponent()); this.addAbility(ability); }
public RagMan(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}{B}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.MINION); this.power = new MageInt(2); this.toughness = new MageInt(1); // {B}{B}{B}, {tap}: Target opponent reveals their hand and discards a creature card at random. Activate this ability only during your turn. Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new RevealHandTargetEffect(), new ManaCostsImpl("{B}{B}{B}"), MyTurnCondition.instance); ability.addCost(new TapSourceCost()); ability.addEffect(new RagManDiscardEffect()); ability.addTarget(new TargetOpponent()); this.addAbility(ability); }
public BalefulStare(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{U}"); // Target opponent reveals their hand. You draw a card for each Mountain and red card in it. this.getSpellAbility().addEffect(new RevealHandTargetEffect()); this.getSpellAbility().addEffect(new BalefulStareEffect()); this.getSpellAbility().addTarget(new TargetOpponent()); }
public WitheringGaze(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{U}"); // Target opponent reveals their hand. You draw a card for each Forest and green card in it. this.getSpellAbility().addEffect(new RevealHandTargetEffect()); this.getSpellAbility().addEffect(new WitheringGazeEffect()); this.getSpellAbility().addTarget(new TargetOpponent()); }
public ForceTelepathy(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{U/B}"); // Target player reveals his or her hand. this.getSpellAbility().addEffect(new RevealHandTargetEffect().setText("Target player reveals his or her hand")); this.getSpellAbility().addTarget(new TargetPlayer()); // Scry 2 this.getSpellAbility().addEffect(new ScryEffect(2)); }
public ThoughtcutterAgent(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{U}{B}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.ROGUE); this.power = new MageInt(1); this.toughness = new MageInt(1); // {U}{B}, {tap}: Target player loses 1 life and reveals their hand. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new ManaCostsImpl("{U}{B}")); ability.addCost(new TapSourceCost()); Effect revealEffect = new RevealHandTargetEffect(TargetController.ANY); revealEffect.setText("and reveals their hand"); ability.addEffect(revealEffect); ability.addTarget(new TargetPlayer()); this.addAbility(ability); }