@Override public CombatDamageByToughnessEffect copy() { return new CombatDamageByToughnessEffect(this); }
public ArcadesTheStrategist(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}{W}{U}"); this.addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.ELDER); this.subtype.add(SubType.DRAGON); this.power = new MageInt(3); this.toughness = new MageInt(5); // Flying this.addAbility(FlyingAbility.getInstance()); // Vigilance this.addAbility(VigilanceAbility.getInstance()); // Whenever a creature with defender enters the battlefield under your control, draw a card. this.addAbility(new EntersBattlefieldControlledTriggeredAbility( new DrawCardSourceControllerEffect(1), filter )); // Each creature you control with defender assigns combat damage equal to its toughness rather than its power and can attack as though it didn't have defender. Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new CombatDamageByToughnessEffect(filter2, true).setText("Each creature you control with defender assigns combat damage equal to its toughness rather than its power")); ability.addEffect(new CanAttackAsThoughItDidntHaveDefenderAllEffect( Duration.WhileOnBattlefield, filter ).setText("and can attack as though it didn't have defender")); this.addAbility(ability); }
public BelligerentBrontodon(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{G}{W}"); this.subtype.add(SubType.DINOSAUR); this.power = new MageInt(4); this.toughness = new MageInt(6); // Each creature you control assigns combat damage equal to its toughness rather than its power. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CombatDamageByToughnessEffect(StaticFilters.FILTER_PERMANENT_CREATURE, true))); }
public DoranTheSiegeTower(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}{B}{G}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.TREEFOLK); this.subtype.add(SubType.SHAMAN); this.power = new MageInt(0); this.toughness = new MageInt(5); // Each creature assigns combat damage equal to its toughness rather than its power. this.addAbility(new SimpleStaticAbility( Zone.BATTLEFIELD, new CombatDamageByToughnessEffect( StaticFilters.FILTER_PERMANENT_CREATURE, false ) )); }
public AssaultFormation(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{G}"); // Each creature you control assigns combat damage equal to its toughness rather than its power. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CombatDamageByToughnessEffect(StaticFilters.FILTER_PERMANENT_CREATURE, true))); // {G}: Target creature with defender can attack this turn as though it didn't have defender. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CanAttackAsThoughItDidntHaveDefenderTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{G}")); ability.addTarget(new TargetCreaturePermanent(filter)); this.addAbility(ability); // {2}{G}: Creatures you control get +0/+1 until end of turn. this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.EndOfTurn), new ManaCostsImpl("{2}{G}"))); }
public HighAlert(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}{U}"); // Each creature you control assigns combat damage equal to its toughness rather than its power. this.addAbility(new SimpleStaticAbility( Zone.BATTLEFIELD, new CombatDamageByToughnessEffect( StaticFilters.FILTER_PERMANENT_CREATURE, true ) )); // Creatures you control can attack as though they didn't have defender. this.addAbility(new SimpleStaticAbility( Zone.BATTLEFIELD, new CanAttackAsThoughItDidntHaveDefenderAllEffect( Duration.WhileOnBattlefield, StaticFilters.FILTER_CONTROLLED_CREATURES ) )); // {2}{W}{U}: Untap target creature. Ability ability = new SimpleActivatedAbility(new UntapTargetEffect(), new ManaCostsImpl("{2}{W}{U}")); ability.addTarget(new TargetCreaturePermanent()); this.addAbility(ability); }