Package mage.abilities.common

Examples of mage.abilities.common.SimpleStaticAbility


public class EldraziMonument extends CardImpl<EldraziMonument> {

  public EldraziMonument(UUID ownerId) {
    super(ownerId, 199, "Eldrazi Monument", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT}, "{5}");
    this.expansionSetCode = "ZEN";
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, FilterCreaturePermanent.getDefault(), false)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(FlyingAbility.getInstance(), Duration.WhileOnBattlefield, FilterCreaturePermanent.getDefault())));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(IndestructibleAbility.getInstance(), Duration.WhileOnBattlefield, FilterCreaturePermanent.getDefault())));
    this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new EldraziMonumentEffect()));
  }
View Full Code Here


    this.subtype.add("Rat");
    this.color.setBlack(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

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

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PacifismEffect()));

  }
View Full Code Here

    this.toughness = new MageInt(2);
    TargetCardInLibrary target = new TargetCardInLibrary(new FilterLandCard());
    Costs costs = new CostsImpl();
    costs.add(new TapSourceCost());
    costs.add(new SacrificeTargetCost(new TargetControlledPermanent(1, 1, filter, false)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new KnightOfTheReliquaryEffect()));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(target, false, Outcome.PutLandInPlay), costs));
  }
View Full Code Here

    super(ownerId, 159, "Beastmaster Ascension", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{G}");
    this.expansionSetCode = "ZEN";
    this.color.setGreen(true);

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

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new UnholyStrengthEffect()));

  }
View Full Code Here

    this.toughness = new MageInt(6);

    this.addAbility(FlyingAbility.getInstance());
    this.watchers.add(new AngelicArbiterWatcher1(ownerId));
    this.watchers.add(new AngelicArbiterWatcher2(ownerId));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new AngelicArbiterEffect1()));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new AngelicArbiterEffect2()));
  }
View Full Code Here

    public BoneSaw(UUID ownerId) {
        super(ownerId, 135, "Bone Saw", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{0}");
        this.expansionSetCode = "CON";
        this.subtype.add("Equipment");
        this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(1)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(1, 0)));
    }
View Full Code Here

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

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

    this.subtype.add("Angel");
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);

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

TOP

Related Classes of mage.abilities.common.SimpleStaticAbility

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.