public AkromaAngelOfWrath(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{5}{W}{W}{W}"); this.supertype.add("Legendary"); this.subtype.add("Angel"); this.power = new MageInt(6); this.toughness = new MageInt(6); this.addAbility(FlyingAbility.getInstance()); this.addAbility(FirstStrikeAbility.getInstance()); this.addAbility(VigilanceAbility.getInstance()); this.addAbility(TrampleAbility.getInstance()); this.addAbility(HasteAbility.getInstance()); // protection from black and from red this.addAbility(ProtectionAbility.from(ObjectColor.BLACK, ObjectColor.RED)); }
@Override public void build() { // Creatures you control have flying, first strike, vigilance, trample, haste, and protection // from black and from red. CompoundAbility abilities = new CompoundAbility( FlyingAbility.getInstance(), FirstStrikeAbility.getInstance(), VigilanceAbility.getInstance(), TrampleAbility.getInstance(), HasteAbility.getInstance(), new ProtectionAbility(filterBlack), new ProtectionAbility(filterRed)); this.addAbility( new SimpleStaticAbility( Constants.Zone.BATTLEFIELD, new GainAbilityControlledEffect( abilities, Constants.Duration.WhileOnBattlefield, new FilterControlledCreaturePermanent("Creatures you control")))); }