congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ForestwalkAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
ForestwalkAbility
in
mage.abilities.keyword

Best Java code snippets using mage.abilities.keyword.ForestwalkAbility (Showing top 20 results out of 315)

origin: magefree/mage

  @Override
  public ForestwalkAbility copy() {
    return new ForestwalkAbility(this);
  }
}
origin: magefree/mage

public HiddenPath(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{G}{G}{G}{G}");
  // Green creatures have forestwalk.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
      new GainAbilityAllEffect(new ForestwalkAbility(false), Duration.WhileOnBattlefield, filter)));
}
origin: magefree/mage

public NaturesCloak(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{G}");
  // Green creatures you control gain forestwalk until end of turn.
  this.getSpellAbility().addEffect(new GainAbilityControlledEffect(
      new ForestwalkAbility(false), Duration.EndOfTurn, filter));
}
origin: magefree/mage

public OrbweaverKumo(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{G}{G}");
  this.subtype.add(SubType.SPIRIT);
  this.power = new MageInt(3);
  this.toughness = new MageInt(4);
  this.addAbility(ReachAbility.getInstance());
  this.addAbility(new SpellCastControllerTriggeredAbility(new GainAbilitySourceEffect(new ForestwalkAbility(), Duration.EndOfTurn), StaticFilters.SPIRIT_OR_ARCANE_CARD, false));
}
origin: magefree/mage

public UnseenWalker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
  this.subtype.add(SubType.DRYAD);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Forestwalk
  this.addAbility(new ForestwalkAbility());
     // {1}{G}{G}: Target creature gains forestwalk until end of turn.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, 
      new GainAbilityTargetEffect(new ForestwalkAbility(false), Duration.EndOfTurn), 
      new ManaCostsImpl("{1}{G}{G}"));
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
}
origin: magefree/mage

public LumberingSatyr(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{G}");
  this.subtype.add(SubType.SATYR);
  this.subtype.add(SubType.BEAST);
  this.power = new MageInt(5);
  this.toughness = new MageInt(4);
  // All creatures have forestwalk.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, 
      new GainAbilityAllEffect(new ForestwalkAbility(), Duration.WhileOnBattlefield, new FilterCreaturePermanent())));
}
origin: magefree/mage

public WeatherseedElf(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{G}");
  this.subtype.add(SubType.ELF);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // {tap}: Target creature gains forestwalk until end of turn.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
      new GainAbilityTargetEffect(new ForestwalkAbility(false), Duration.EndOfTurn),
      new TapSourceCost());
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
}
origin: magefree/mage

public ElvishChampion(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}{G}");
  this.subtype.add(SubType.ELF);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Other Elf creatures get +1/+1 and have forestwalk. (They can't be blocked as long as defending player controls a Forest.)
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(new ForestwalkAbility(), Duration.WhileOnBattlefield, filter, true)));
}
origin: magefree/mage

public EmeraldOryx(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
  this.subtype.add(SubType.ANTELOPE);
  this.power = new MageInt(2);
this.toughness = new MageInt(3);
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public LeafDancer(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}{G}");
  this.subtype.add(SubType.CENTAUR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Forestwalk
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public SomberwaldDryad(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
  this.subtype.add(SubType.DRYAD);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public SlinkingSerpent(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{U}{B}");
  this.subtype.add(SubType.SERPENT);
  this.power = new MageInt(2);
  this.toughness = new MageInt(3);
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public ElvishPathcutter(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
  this.subtype.add(SubType.ELF);
  this.subtype.add(SubType.SCOUT);
  this.power = new MageInt(1);
  this.toughness = new MageInt(2);
  // {2}{G}: Target Elf creature gains forestwalk until end of turn.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(new ForestwalkAbility(), Duration.EndOfTurn), new ManaCostsImpl("{2}{G}"));
  ability.addTarget(new TargetCreaturePermanent(filter));
  this.addAbility(ability);
}
origin: magefree/mage

public RushwoodDryad(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
  this.subtype.add(SubType.DRYAD);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public ZodiacRabbit(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{G}");
  this.subtype.add(SubType.RABBIT);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Forestwalk
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public ZodiacTiger(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{G}");
  this.subtype.add(SubType.CAT);
  this.power = new MageInt(3);
  this.toughness = new MageInt(4);
  // Forestwalk
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public ZendikarFarguide(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{G}");
  this.subtype.add(SubType.ELEMENTAL);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public WillowDryad(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{G}");
  this.subtype.add(SubType.DRYAD);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Forestwalk
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public HeartwoodTreefolk(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{G}");
  this.subtype.add(SubType.TREEFOLK);
  this.power = new MageInt(3);
  this.toughness = new MageInt(4);
  this.addAbility(new ForestwalkAbility());
}
origin: magefree/mage

public ZodiacMonkey(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
  this.subtype.add(SubType.MONKEY);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  this.addAbility(new ForestwalkAbility());
}
mage.abilities.keywordForestwalkAbility

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JTextField (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now