@Override public TargetsHaveToTargetPermanentIfAbleEffect copy() { return new TargetsHaveToTargetPermanentIfAbleEffect(this); }
public StandardBearer(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.FLAGBEARER); this.power = new MageInt(1); this.toughness = new MageInt(1); // While choosing targets as part of casting a spell or activating an ability, your opponents must choose at least one Flagbearer on the battlefield if able. this.addAbility(new SimpleStaticAbility(new TargetsHaveToTargetPermanentIfAbleEffect())); }
public CoalitionHonorGuard(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.FLAGBEARER); this.power = new MageInt(2); this.toughness = new MageInt(4); // While choosing targets as part of casting a spell or activating an ability, your opponents must choose at least one Flagbearer on the battlefield if able. this.addAbility(new SimpleStaticAbility(new TargetsHaveToTargetPermanentIfAbleEffect())); }
public CoalitionFlag(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{W}"); this.subtype.add(SubType.AURA); // Enchant creature you control TargetPermanent auraTarget = new TargetControlledCreaturePermanent(); this.getSpellAbility().addTarget(auraTarget); this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature)); Ability ability = new EnchantAbility(auraTarget.getTargetName()); this.addAbility(ability); // Enchanted creature is a Flagbearer. this.addAbility(new SimpleStaticAbility(new SetCardSubtypeAttachedEffect( Duration.WhileOnBattlefield, AttachmentType.AURA, SubType.FLAGBEARER ))); // While choosing targets as part of casting a spell or activating an ability, your opponents must choose at least one Flagbearer on the battlefield if able. this.addAbility(new SimpleStaticAbility(new TargetsHaveToTargetPermanentIfAbleEffect())); }