@Override public WinsCoinFlipTriggeredAbility copy() { return new WinsCoinFlipTriggeredAbility(this); }
public ZndrspltEyeOfWisdom(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}"); this.addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.HOMUNCULUS); this.power = new MageInt(1); this.toughness = new MageInt(4); // Partner with Okaun, Eye of Chaos (When this creature enters the battlefield, target player may put Okaun into their hand from their library, then shuffle.) this.addAbility(new PartnerWithAbility("Okaun, Eye of Chaos", true)); // At the beginning of combat on your turn, flip a coin until you lose a flip. this.addAbility(new BeginningOfCombatTriggeredAbility(new FlipUntilLoseEffect(), TargetController.YOU, false)); // Whenever a player wins a coin flip, draw a card. this.addAbility(new WinsCoinFlipTriggeredAbility(new DrawCardSourceControllerEffect(1))); }
public OkaunEyeOfChaos(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}"); this.addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.CYCLOPS); this.subtype.add(SubType.BERSERKER); this.power = new MageInt(3); this.toughness = new MageInt(3); // Partner with Zndrsplt, Eye of Wisdom (When this creature enters the battlefield, target player may put Zndrsplt into their hand from their library, then shuffle.) this.addAbility(new PartnerWithAbility("Zndrsplt, Eye of Wisdom", true)); // At the beginning of combat on your turn, flip a coin until you lose a flip. this.addAbility(new BeginningOfCombatTriggeredAbility(new FlipUntilLoseEffect(), TargetController.YOU, false)); // Whenever a player wins a coin flip, double Okaun's power and toughness until end of turn. this.addAbility(new WinsCoinFlipTriggeredAbility( new BoostSourceEffect( sourcePower, sourceToughness, Duration.EndOfTurn, true ).setText("double {this}'s power and toughness until end of turn") )); }