Package mage.abilities.common

Examples of mage.abilities.common.EntersBattlefieldTriggeredAbility


    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


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

    this.addAbility(DeathtouchAbility.getInstance());
    Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
    Target target = new TargetPermanent(filter);
    target.setRequired(true);
    ability.addTarget(target);
    this.addAbility(ability);
  }
View Full Code Here

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

    TargetCardInLibrary target = new TargetCardInLibrary(filter);
    this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryRevealPutInHandEffect(target)));
  }
View Full Code Here

  public KhalniGarden(UUID ownerId) {
    super(ownerId, 138, "Khalni Garden", Rarity.COMMON, new CardType[]{CardType.LAND}, null);
    this.expansionSetCode = "WWK";
    this.addAbility(new EntersBattlefieldTappedAbility());
    this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new PlantToken()), false));
    this.addAbility(new GreenManaAbility());
  }
View Full Code Here

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

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(new EntersBattlefieldTriggeredAbility(new HowlingBansheeEffect(), false));
  }
View Full Code Here

    this.power = new MageInt(5);
    this.toughness = new MageInt(5);

    this.addAbility(FlashAbility.getInstance());
    this.addAbility(FlyingAbility.getInstance());
    Ability ability = new EntersBattlefieldTriggeredAbility(new DamageMultiEffect(5), false);
    ability.addTarget(new TargetCreatureOrPlayerAmount(5));
    this.addAbility(ability);
  }
View Full Code Here

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

    Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect());
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

    this.subtype.add("Soldier");
    this.power = new MageInt(3);
    this.toughness = new MageInt(2);

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

    this.expansionSetCode = "ALA";
    this.color.setWhite(true);
    FilterNonlandPermanent filter = new FilterNonlandPermanent();
    filter.setId(this.getId());
    filter.setNotId(true);
    Ability ability1 = new EntersBattlefieldTriggeredAbility(new ExileTargetEffect(this.getId(), "Oblivion Ring exile"), false);
    ability1.addTarget(new TargetPermanent(filter));
    this.addAbility(ability1);
    Ability ability2 = new LeavesBattlefieldTriggeredAbility(new ReturnFromExileEffect(this.getId(), Zone.BATTLEFIELD), false);
    this.addAbility(ability2);
  }
View Full Code Here

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

    this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(dragonToken), false));
    this.addAbility(FlyingAbility.getInstance());
  }
View Full Code Here

TOP

Related Classes of mage.abilities.common.EntersBattlefieldTriggeredAbility

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.