Example #1
0
 public LeoninAbunas(UUID ownerId) {
   super(ownerId, 8, "Leonin Abunas", Rarity.RARE, new CardType[] {CardType.CREATURE}, "{3}{W}");
   this.expansionSetCode = "MRD";
   this.subtype.add("Cat");
   this.subtype.add("Cleric");
   this.color.setWhite(true);
   this.power = new MageInt(2);
   this.toughness = new MageInt(5);
   this.addAbility(
       new SimpleStaticAbility(
           Zone.BATTLEFIELD,
           new GainAbilityControlledEffect(
               HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter, false)));
 }
Example #2
0
  public SpiritOfTheHearth(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{4}{W}{W}");
    this.subtype.add("Cat");
    this.subtype.add("Spirit");

    this.power = new MageInt(4);
    this.toughness = new MageInt(5);

    // Flying
    this.addAbility(FlyingAbility.getInstance());

    // You have hexproof.
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new GainAbilityControllerEffect(
                HexproofAbility.getInstance(), Duration.WhileOnBattlefield)));
  }
Example #3
0
  public Tromokratis(UUID ownerId) {
    super(ownerId, 55, "Tromokratis", Rarity.RARE, new CardType[] {CardType.CREATURE}, "{5}{U}{U}");
    this.expansionSetCode = "BNG";
    this.supertype.add("Legendary");
    this.subtype.add("Kraken");

    this.power = new MageInt(8);
    this.toughness = new MageInt(8);

    // Tromokratis has hexproof unless it's attacking or blocking.
    Effect effect =
        new ConditionalContinuousEffect(
            new GainAbilitySourceEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield),
            new InvertCondition(
                new SourceMatchesFilterCondition(new FilterAttackingOrBlockingCreature())),
            "{this} has hexproof unless it's attacking or blocking");
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));

    // Tromokratis can't be blocked unless all creatures defending player controls block it.
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedUnlessAllEffect()));
  }
Example #4
0
 public SwiftfootBoots(UUID ownerId) {
   super(
       ownerId,
       219,
       "Swiftfoot Boots",
       Rarity.UNCOMMON,
       new CardType[] {CardType.ARTIFACT},
       "{2}");
   this.expansionSetCode = "M12";
   this.subtype.add("Equipment");
   this.addAbility(
       new SimpleStaticAbility(
           Zone.BATTLEFIELD,
           new GainAbilityAttachedEffect(
               HexproofAbility.getInstance(), AttachmentType.EQUIPMENT)));
   this.addAbility(
       new SimpleStaticAbility(
           Zone.BATTLEFIELD,
           new GainAbilityAttachedEffect(HasteAbility.getInstance(), AttachmentType.EQUIPMENT)));
   this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(1)));
 }
Example #5
0
  public DrownyardBehemoth(UUID ownerId) {
    super(
        ownerId,
        4,
        "Drownyard Behemoth",
        Rarity.UNCOMMON,
        new CardType[] {CardType.CREATURE},
        "{9}");
    this.expansionSetCode = "EMN";
    this.subtype.add("Eldrazi");
    this.subtype.add("Crab");
    this.power = new MageInt(5);
    this.toughness = new MageInt(7);

    // Flash
    this.addAbility(FlashAbility.getInstance());
    // Emerge {7}{U}
    this.addAbility(new EmergeAbility(this, new ManaCostsImpl<>("{7}{U}")));

    // Drownyard Behemoth has hexproof as long as it entered the battlefield this turn.
    this.addAbility(
        new AsEntersBattlefieldAbility(
            new GainAbilitySourceEffect(HexproofAbility.getInstance(), Duration.EndOfTurn)));
  }