congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
DontUntapAsLongAsSourceTappedEffect.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mage.abilities.effects.common.DontUntapAsLongAsSourceTappedEffect
constructor

Best Java code snippets using mage.abilities.effects.common.DontUntapAsLongAsSourceTappedEffect.<init> (Showing top 11 results out of 315)

origin: magefree/mage

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

public IceFloe(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
  // You may choose not to untap Ice Floe during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {T}: Tap target creature without flying that's attacking you. It doesn't untap during its controller's untap step for as long as Ice Floe remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
  ability.addTarget(new TargetCreaturePermanent(filter));
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public DesertersQuarters(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
  // You may choose not to untap Deserter's Quarters during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {6}, T: Tap target creature. It doesn't untap during its controller's untap step for as long as Deserter's Quarters remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new GenericManaCost(6));
  ability.addCost(new TapSourceCost());
  ability.addTarget(new TargetCreaturePermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public AmberPrison(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{4}");
  // You may choose not to untap Amber Prison during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {4}, {tap}: Tap target artifact, creature, or land. That permanent doesn't untap during its controller's untap step for as long as Amber Prison remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new GenericManaCost(4));
  ability.addCost(new TapSourceCost());
  ability.addTarget(new TargetPermanent(filter));
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public ManaLeech(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.LEECH);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // You may choose not to untap Mana Leech during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {tap}: Tap target land. It doesn't untap during its controller's untap step for as long as Mana Leech remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
  ability.addTarget(new TargetLandPermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public MoleWorms(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.WORM);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // You may choose not to untap Mole Worms during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {tap}: Tap target land. It doesn't untap during its controller's untap step for as long as Mole Worms remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
  ability.addTarget(new TargetLandPermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public PhyrexianGremlins(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.GREMLIN);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // You may choose not to untap Phyrexian Gremlins during your untap step.
   this.addAbility(new SkipUntapOptionalAbility());
  // {tap}: Tap target artifact. It doesn't untap during its controller's untap step for as long as Phyrexian Gremlins remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
  ability.addTarget(new TargetArtifactPermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public RustTick(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{3}");
  this.subtype.add(SubType.INSECT);
  this.power = new MageInt(1);
  this.toughness = new MageInt(3);
  // You may choose not to untap Rust Tick during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {1}, {tap}: Tap target artifact. It doesn't untap during its controller's untap step for as long as Rust Tick remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new GenericManaCost(1));
  ability.addCost(new TapSourceCost());
  ability.addTarget(new TargetArtifactPermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public ThalakosDreamsower(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{U}");
  this.subtype.add(SubType.THALAKOS);
  this.subtype.add(SubType.WIZARD);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Shadow
  this.addAbility(ShadowAbility.getInstance());
  // You may choose not to untap Thalakos Dreamsower during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // Whenever Thalakos Dreamsower deals damage to an opponent, tap target creature. That creature doesn't untap during its controller's untap step for as long as Thalakos Dreamsower remains tapped.
  Ability ability = new DealsDamageToOpponentTriggeredAbility(new TapTargetEffect(), false);
  ability.addTarget(new TargetCreaturePermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public SandSquid(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}");
  this.subtype.add(SubType.SQUID);
  this.subtype.add(SubType.BEAST);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Islandwalk
  this.addAbility(new IslandwalkAbility());
  // You may choose not to untap Sand Squid during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {tap}: Tap target creature. That creature doesn't untap during its controller's untap step for as long as Sand Squid remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
  ability.addTarget(new TargetCreaturePermanent());
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
origin: magefree/mage

public WhipVine(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}");
  this.subtype.add(SubType.PLANT);
  this.subtype.add(SubType.WALL);
  this.power = new MageInt(1);
  this.toughness = new MageInt(4);
  // Defender
  this.addAbility(DefenderAbility.getInstance());
  // Reach
  this.addAbility(ReachAbility.getInstance());
  // You may choose not to untap Whip Vine during your untap step.
  this.addAbility(new SkipUntapOptionalAbility());
  // {tap}: Tap target creature with flying blocked by Whip Vine. That creature doesn't untap during its controller's untap step for as long as Whip Vine remains tapped.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
  FilterCreaturePermanent filter = new FilterCreaturePermanent("creature with flying blocked by {this}");
  filter.add(new AbilityPredicate(FlyingAbility.class));
  filter.add(new BlockedByIdPredicate(this.getId()));
  ability.addTarget(new TargetCreaturePermanent(filter));
  ability.addEffect(new DontUntapAsLongAsSourceTappedEffect());
  this.addAbility(ability);
}
mage.abilities.effects.commonDontUntapAsLongAsSourceTappedEffect<init>

Popular methods of DontUntapAsLongAsSourceTappedEffect

    Popular in Java

    • Finding current android device location
    • scheduleAtFixedRate (ScheduledExecutorService)
    • setContentView (Activity)
    • requestLocationUpdates (LocationManager)
    • Charset (java.nio.charset)
      A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
    • SecureRandom (java.security)
      This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
    • Date (java.sql)
      A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
    • Format (java.text)
      The base class for all formats. This is an abstract base class which specifies the protocol for clas
    • GregorianCalendar (java.util)
      GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
    • Loader (org.hibernate.loader)
      Abstract superclass of object loading (and querying) strategies. This class implements useful common
    • Top 17 Plugins for Android Studio
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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