예제 #1
0
 public ContagiousNim(UUID ownerId) {
   super(
       ownerId, 58, "Contagious Nim", Rarity.COMMON, new CardType[] {CardType.CREATURE}, "{2}{B}");
   this.expansionSetCode = "SOM";
   this.subtype.add("Zombie");
   this.color.setBlack(true);
   this.power = new MageInt(2);
   this.toughness = new MageInt(2);
   this.addAbility(InfectAbility.getInstance());
 }
예제 #2
0
파일: RazorSwine.java 프로젝트: xdaft/mage
  public RazorSwine(UUID ownerId) {
    super(ownerId, 92, "Razor Swine", Rarity.COMMON, new CardType[] {CardType.CREATURE}, "{2}{R}");
    this.expansionSetCode = "NPH";
    this.subtype.add("Boar");

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

    this.addAbility(FirstStrikeAbility.getInstance());
    this.addAbility(InfectAbility.getInstance());
  }
예제 #3
0
  public PhyrexianVatmother(UUID ownerId) {
    super(
        ownerId,
        52,
        "Phyrexian Vatmother",
        Rarity.RARE,
        new CardType[] {CardType.CREATURE},
        "{2}{B}{B}");
    this.expansionSetCode = "MBS";
    this.subtype.add("Horror");

    this.power = new MageInt(4);
    this.toughness = new MageInt(5);
    this.addAbility(InfectAbility.getInstance());
    this.addAbility(
        new OnEventTriggeredAbility(
            EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new PoisonControllerEffect()));
  }
예제 #4
0
 public PhyrexianCrusader(UUID ownerId) {
   super(
       ownerId,
       50,
       "Phyrexian Crusader",
       Rarity.RARE,
       new CardType[] {CardType.CREATURE},
       "{1}{B}{B}");
   this.expansionSetCode = "MBS";
   this.subtype.add("Zombie");
   this.subtype.add("Knight");
   this.color.setBlack(true);
   this.power = new MageInt(2);
   this.toughness = new MageInt(2);
   this.addAbility(FirstStrikeAbility.getInstance());
   this.addAbility(new ProtectionAbility(filter));
   this.addAbility(new ProtectionAbility(filter2));
   this.addAbility(InfectAbility.getInstance());
 }
예제 #5
0
  public ViridianCorrupter(UUID ownerId) {
    super(
        ownerId,
        94,
        "Viridian Corrupter",
        Rarity.UNCOMMON,
        new CardType[] {CardType.CREATURE},
        "{1}{G}{G}");
    this.expansionSetCode = "MBS";
    this.subtype.add("Elf");
    this.subtype.add("Shaman");
    this.color.setGreen(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);
    this.addAbility(InfectAbility.getInstance());

    Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
    Target target = new TargetPermanent(filter);
    ability.addTarget(target);
    this.addAbility(ability);
  }