public ArmoredGuardian(UUID ownerId) {
    super(
        ownerId,
        230,
        "Armored Guardian",
        Rarity.RARE,
        new CardType[] {CardType.CREATURE},
        "{3}{W}{U}");
    this.expansionSetCode = "INV";
    this.subtype.add("Cat");
    this.subtype.add("Soldier");
    this.power = new MageInt(2);
    this.toughness = new MageInt(5);

    // {1}{W}{W}: Target creature you control gains protection from the color of your choice until
    // end of turn.
    Ability ability =
        new SimpleActivatedAbility(
            Zone.BATTLEFIELD,
            new GainProtectionFromColorTargetEffect(Duration.EndOfTurn),
            new ManaCostsImpl("{1}{W}{W}"));
    ability.addTarget(new TargetControlledCreaturePermanent());
    this.addAbility(ability);
    // {1}{U}{U}: Armored Guardian gains shroud until end of turn.
    this.addAbility(
        new SimpleActivatedAbility(
            Zone.BATTLEFIELD,
            new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn),
            new ManaCostsImpl("{1}{U}{U}")));
  }
Exemple #2
0
  public AlexisCloak(UUID ownerId) {
    super(
        ownerId,
        29,
        "Alexi's Cloak",
        Rarity.COMMON,
        new CardType[] {CardType.ENCHANTMENT},
        "{1}{U}");
    this.expansionSetCode = "PCY";
    this.subtype.add("Aura");

    // Flash
    this.addAbility(FlashAbility.getInstance());
    // Enchant creature
    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    // Enchanted creature has shroud.
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new GainAbilityAttachedEffect(ShroudAbility.getInstance(), AttachmentType.AURA)));
  }
Exemple #3
0
  public Blastoderm(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{2}{G}{G}");
    this.subtype.add("Beast");

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

    // Shroud
    this.addAbility(ShroudAbility.getInstance());
    // Fading 3
    this.addAbility(new FadingAbility(3, this));
  }
Exemple #4
0
  public Gigapede(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{3}{G}{G}");
    this.subtype.add("Insect");

    this.power = new MageInt(6);
    this.toughness = new MageInt(1);

    // Shroud
    this.addAbility(ShroudAbility.getInstance());
    // At the beginning of your upkeep, if Gigapede is in your graveyard, you may discard a card. If
    // you do, return Gigapede to your hand.
    this.addAbility(new GigapedeTriggerdAbility());
  }
Exemple #5
0
  public DeftDuelist(UUID ownerId) {
    super(
        ownerId, 165, "Deft Duelist", Rarity.COMMON, new CardType[] {CardType.CREATURE}, "{W}{U}");
    this.expansionSetCode = "ALA";
    this.subtype.add("Human");
    this.subtype.add("Rogue");

    this.color.setWhite(true);
    this.color.setBlue(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(1);

    this.addAbility(FirstStrikeAbility.getInstance());
    this.addAbility(ShroudAbility.getInstance());
  }
Exemple #6
0
  public AerieMystics(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{4}{W}");

    this.subtype.add("Bird");
    this.subtype.add("Wizard");
    this.power = new MageInt(3);
    this.toughness = new MageInt(3);
    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(
        new SimpleActivatedAbility(
            Zone.BATTLEFIELD,
            new GainAbilityControlledEffect(
                ShroudAbility.getInstance(), Duration.EndOfTurn, filter),
            new ManaCostsImpl("{1}{G}{U}")));
  }
Exemple #7
0
  public CalciteSnapper(UUID ownerId) {
    super(
        ownerId,
        25,
        "Calcite Snapper",
        Rarity.COMMON,
        new CardType[] {CardType.CREATURE},
        "{1}{U}{U}");
    this.expansionSetCode = "WWK";
    this.subtype.add("Turtle");

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

    this.addAbility(ShroudAbility.getInstance());
    this.addAbility(
        new LandfallAbility(new SwitchPowerToughnessSourceEffect(Duration.EndOfTurn), true));
  }
Exemple #8
0
  public AlgaeGharial(UUID ownerId) {
    super(
        ownerId,
        123,
        "Algae Gharial",
        Rarity.UNCOMMON,
        new CardType[] {CardType.CREATURE},
        "{3}{G}");
    this.expansionSetCode = "ALA";
    this.subtype.add("Crocodile");

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

    this.addAbility(ShroudAbility.getInstance());
    // Whenever another creature dies, you may put a +1/+1 counter on Algae Gharial.
    this.addAbility(
        new DiesCreatureTriggeredAbility(
            new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true, true));
  }
Exemple #9
0
  public GeneralsKabuto(UUID ownerId) {
    super(ownerId, 251, "General's Kabuto", Rarity.RARE, new CardType[] {CardType.ARTIFACT}, "{4}");
    this.expansionSetCode = "CHK";
    this.subtype.add("Equipment");

    // Equipped creature has shroud. (It can't be the target of spells or abilities.)
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new GainAbilityAttachedEffect(ShroudAbility.getInstance(), AttachmentType.EQUIPMENT)));

    // Prevent all combat damage that would be dealt to equipped creature
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new PreventAllDamageToAttachedEffect(
                Duration.WhileOnBattlefield, "equipped creature", true)));

    // Equip {2}
    this.addAbility(new EquipAbility(Outcome.PreventDamage, new GenericManaCost(2)));
  }
Exemple #10
0
  public SturdyHatchling(UUID ownerId) {
    super(
        ownerId,
        163,
        "Sturdy Hatchling",
        Rarity.UNCOMMON,
        new CardType[] {CardType.CREATURE},
        "{3}{G/U}");
    this.expansionSetCode = "EVE";
    this.subtype.add("Elemental");
    this.color.setBlue(true);
    this.color.setGreen(true);
    this.power = new MageInt(6);
    this.toughness = new MageInt(6);

    // Sturdy Hatchling enters the battlefield with four -1/-1 counters on it.
    this.addAbility(
        new EntersBattlefieldAbility(
            new AddCountersSourceEffect(CounterType.M1M1.createInstance(4)),
            "with four -1/-1 counters on it"));
    // {G/U}: Sturdy Hatchling gains shroud until end of turn.
    this.addAbility(
        new SimpleActivatedAbility(
            Zone.BATTLEFIELD,
            new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn),
            new ManaCostsImpl("{G/U}")));
    // Whenever you cast a green spell, remove a -1/-1 counter from Sturdy Hatchling.
    this.addAbility(
        new SpellCastControllerTriggeredAbility(
            new RemoveCounterSourceEffect(CounterType.M1M1.createInstance(1)),
            filterGreenSpell,
            false));
    // Whenever you cast a blue spell, remove a -1/-1 counter from Sturdy Hatchling.
    this.addAbility(
        new SpellCastControllerTriggeredAbility(
            new RemoveCounterSourceEffect(CounterType.M1M1.createInstance(1)),
            filterBlueSpell,
            false));
  }
Exemple #11
0
  public ScionOfOona(UUID ownerId) {
    super(ownerId, 83, "Scion of Oona", Rarity.RARE, new CardType[] {CardType.CREATURE}, "{2}{U}");
    this.expansionSetCode = "LRW";
    this.subtype.add("Faerie");
    this.subtype.add("Soldier");
    this.color.setBlue(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
    this.addAbility(FlashAbility.getInstance());
    this.addAbility(FlyingAbility.getInstance());

    // Other Faerie creatures you control get +1/+1.
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
    // Other Faeries you control have shroud.
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new GainAbilityControlledEffect(
                ShroudAbility.getInstance(), Duration.EndOfTurn, filter, true)));
  }