Package mage.abilities.common

Examples of mage.abilities.common.SimpleActivatedAbility


  public OranRiefTheVastwood(UUID ownerId) {
    super(ownerId, 221, "Oran-Rief, the Vastwood", Rarity.RARE, new CardType[]{CardType.LAND}, null);
    this.expansionSetCode = "ZEN";
    this.addAbility(new EntersBattlefieldTappedAbility());
    this.addAbility(new GreenManaAbility());
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new OranRiefTheVastwoodEffect(), new TapSourceCost()));
  }
View Full Code Here


    this.addAbility(new LandfallAbility(new AddCountersSourceEffect("quest", 1), true));
    Costs costs = new CostsImpl();
    costs.add(new RemoveCountersSourceCost("quest", 3));
    costs.add(new SacrificeSourceCost());
    ActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(8), costs);
    this.addAbility(ability);
  }
View Full Code Here

    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

        this.subtype.add("Beast");
        this.color.setGreen(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(3);

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{1}"));
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Troll");
    this.power = new MageInt(4);
    this.toughness = new MageInt(3);

    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{G}")));
  }
View Full Code Here

    abilities1.add(FlyingAbility.getInstance());
    this.getLevels().add(new LevelAbility(4, 7, abilities1, 4, 4));
    Abilities<Ability> abilities2 = new AbilitiesImpl<Ability>();
    abilities2.add(FlyingAbility.getInstance());
    abilities2.add(TrampleAbility.getInstance());
    abilities2.add(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
    this.getLevels().add(new LevelAbility(8, -1, abilities2, 8, 8));
  }
View Full Code Here

        this.subtype.add("Shaman");
        this.color.setRed(true);
        this.power = new MageInt(2);
  this.toughness = new MageInt(2);
        this.addAbility(HasteAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(token), new ManaCostsImpl("{R}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

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

    this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new CreateTokenEffect(wolfToken)));
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MasterOfTheWildHuntEffect(), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

    this.expansionSetCode = "M11";
    Costs costs = new CostsImpl();
    costs.add(new GenericManaCost(4));
    costs.add(new TapSourceCost());
    costs.add(new ExileSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), costs);
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Elemental");
    this.subtype.add("Shapeshifter");
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, -1, Duration.EndOfTurn), new ManaCostsImpl("{1}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(-1, 1, Duration.EndOfTurn), new ManaCostsImpl("{1}")));
  }
View Full Code Here

TOP

Related Classes of mage.abilities.common.SimpleActivatedAbility

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.