Package mage

Examples of mage.MageInt


  }

  protected void init(Card card) {
    copyFromCard(card);
    if (card.getCardType().contains(CardType.PLANESWALKER)) {
      this.loyalty = new MageInt(card.getLoyalty().getValue());
    }
    if (card instanceof LevelerCard) {
      levelerRules = ((LevelerCard)card).getRules();
    }
  }
View Full Code Here


  public PhylacteryLich(UUID ownerId) {
    super(ownerId, 110, "Phylactery Lich", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{B}{B}{B}");
    this.expansionSetCode = "M11";
    this.subtype.add("Zombie");
    this.color.setBlack(true);
    this.power = new MageInt(5);
    this.toughness = new MageInt(5);

    this.addAbility(new EntersBattlefieldAbility(new PhylacteryLichEffect(), "put a phylactery counter on an artifact you control"));
    this.addAbility(IndestructibleAbility.getInstance());
    this.addAbility(new PhylacteryLichAbility());
  }
View Full Code Here

    super(ownerId, 23, "Palace Guard", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{W}");
    this.expansionSetCode = "M10";
    this.subtype.add("Human");
    this.subtype.add("Soldier");
    this.color.setWhite(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(4);

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PalaceGuardEffect()));
  }
View Full Code Here

        super(ownerId, 117, "Vampire Aristocrat", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{B}");
        this.expansionSetCode = "M10";
        this.subtype.add("Vampire");
        this.subtype.add("Rogue");
        this.color.setBlack(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl(""));
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        this.addAbility(ability);
    }
View Full Code Here

  public GaeasRevenge(UUID ownerId) {
    super(ownerId, 174, "Gaea's Revenge", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{5}{G}{G}");
    this.expansionSetCode = "M11";
    this.subtype.add("Elemental");
    this.color.setGreen(true);
    this.power = new MageInt(8);
    this.toughness = new MageInt(5);

    this.addAbility(new SimpleStaticAbility(Zone.STACK, new CantCounterSourceEffect()));
    this.addAbility(HasteAbility.getInstance());
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantTargetSourceEffect(filter, Duration.WhileOnBattlefield)));
View Full Code Here

    public WallOfFaith(UUID ownerId) {
        super(ownerId, 40, "Wall of Faith", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{W}");
        this.expansionSetCode = "M10";
        this.color.setWhite(true);
        this.subtype.add("Wall");
        this.power = new MageInt(0);
  this.toughness = new MageInt(5);

        this.addAbility(DefenderAbility.getInstance());
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(0, 1, Duration.EndOfTurn), new ManaCostsImpl("{W}")));
    }
View Full Code Here

  public VengefulArchon(UUID ownerId) {
    super(ownerId, 37, "Vengeful Archon", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{4}{W}{W}{W}");
    this.expansionSetCode = "M11";
    this.subtype.add("Archon");
    this.color.setWhite(true);
    this.power = new MageInt(7);
    this.toughness = new MageInt(7);

    this.addAbility(FlyingAbility.getInstance());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VengefulArchonEffect(), new ManaCostsImpl("{X}"));
    ability.addTarget(new TargetPlayer());
    this.addAbility(ability);
View Full Code Here

  public GargoyleToken() {
    super("Gargoyle", "3/4 colorless Gargoyle artifact creature token with flying");
    cardType.add(CardType.CREATURE);
    cardType.add(CardType.ARTIFACT);
    subtype.add("Gargoyle");
    power = new MageInt(3);
    toughness = new MageInt(4);
    addAbility(FlyingAbility.getInstance());
  }
View Full Code Here

  public SquadronHawk(UUID ownerId) {
    super(ownerId, 33, "Squadron Hawk", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{W}");
    this.expansionSetCode = "M11";
    this.subtype.add("Bird");
    this.color.setWhite(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    this.addAbility(FlyingAbility.getInstance());
    TargetCardInLibrary target = new TargetCardInLibrary(3, filter);
    this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryRevealPutInHandEffect(target), true));
  }
View Full Code Here

    super(ownerId, 3, "Ajani's Pridemate", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "1}{W}");
    this.expansionSetCode = "M11";
    this.subtype.add("Cat");
    this.subtype.add("Soldier");
    this.color.setWhite(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(new AjanisPridemateAbility());
  }
View Full Code Here

TOP

Related Classes of mage.MageInt

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.