Tabnine Logo
WitherAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
WitherAbility
in
mage.abilities.keyword

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

origin: magefree/mage

public HarvestGwyllion(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{W/B}{W/B}");
  this.subtype.add(SubType.HAG);
  this.power = new MageInt(2);
  this.toughness = new MageInt(4);
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

  || source.getAbilities().containsKey(WitherAbility.getInstance().getId()))) {
if (markDamage) {
origin: magefree/mage

public WildslayerElves(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}");
  this.subtype.add(SubType.ELF);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

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

public SickleRipper(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

public ScuzzbackScrapper(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R/G}");
  this.subtype.add(SubType.GOBLIN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

public RendclawTrow(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B/G}");
  this.subtype.add(SubType.TROLL);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Wither
  this.addAbility(WitherAbility.getInstance());
  // Persist
  this.addAbility(new PersistAbility());
}
origin: magefree/mage

public JuvenileGloomwidow(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{G}{G}");
  this.subtype.add(SubType.SPIDER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(3);
  this.addAbility(ReachAbility.getInstance());
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

public BoggartRamGang(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R/G}{R/G}{R/G}");
  this.subtype.add(SubType.GOBLIN, SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  this.addAbility(HasteAbility.getInstance());
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

public Necroskitter(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}{B}");
  this.subtype.add(SubType.ELEMENTAL);
  this.power = new MageInt(1);
  this.toughness = new MageInt(4);
  // Wither (This deals damage to creatures in the form of -1/-1 counters.)
  this.addAbility(WitherAbility.getInstance());
  // Whenever a creature an opponent controls with a -1/-1 counter on it dies, you may return that card to the battlefield under your control.
  this.addAbility(new NecroskitterTriggeredAbility());
}
origin: magefree/mage

public RustrazorButcher(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{R}");
  this.subtype.add(SubType.GOBLIN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(1);
  this.toughness = new MageInt(2);
  this.addAbility(FirstStrikeAbility.getInstance());
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

public LockjawSnapper(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{4}");
  this.subtype.add(SubType.SCARECROW);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Wither
  this.addAbility(WitherAbility.getInstance());
  
  // When Lockjaw Snapper dies, put a -1/-1 counter on each creature with a -1/-1 counter on it.
  this.addAbility(new DiesTriggeredAbility(new LockjawSnapperEffect()));
  
}
origin: magefree/mage

public CorrosiveMentor(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.ROGUE);
  this.power = new MageInt(1);
  this.toughness = new MageInt(3);
  // Black creatures you control have wither.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(WitherAbility.getInstance(), Duration.WhileOnBattlefield, filter)));
}
origin: magefree/mage

public OonasGatewarden(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{U/B}");
  this.subtype.add(SubType.FAERIE);
  this.subtype.add(SubType.SOLDIER);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  this.addAbility(DefenderAbility.getInstance());
  this.addAbility(FlyingAbility.getInstance());
  this.addAbility(WitherAbility.getInstance());
}
origin: magefree/mage

public StigmaLasher(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R}{R}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.SHAMAN);
  
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Wither
  this.addAbility(WitherAbility.getInstance());
  // Whenever Stigma Lasher deals damage to a player, that player can't gain life for the rest of the game.
  this.addAbility(new DealsDamageToAPlayerTriggeredAbility(new StigmaLasherEffect(), false, true));
  
}

origin: magefree/mage

public PunctureBlast(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
  this.addAbility(WitherAbility.getInstance());
  this.getSpellAbility().addEffect(new DamageTargetEffect(3));
  this.getSpellAbility().addTarget(new TargetAnyTarget());
  this.getSpellAbility().setRuleAtTheTop(false);
}
origin: magefree/mage

public SlinkingGiant(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}{R}");
  this.subtype.add(SubType.GIANT);
  this.subtype.add(SubType.ROGUE);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  this.addAbility(WitherAbility.getInstance());
  // Whenever Slinking Giant blocks or becomes blocked, it gets -3/-0 until end of turn.
  this.addAbility(new BlocksOrBecomesBlockedTriggeredAbility(new BoostSourceEffect(-3, 0, Duration.EndOfTurn), false));
}
origin: magefree/mage

public InescapableBrute(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{5}{R}");
  this.subtype.add(SubType.GIANT);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Wither
  this.addAbility(WitherAbility.getInstance());
  
  // Inescapable Brute must be blocked if able.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new MustBeBlockedByAtLeastOneSourceEffect()));
  
}
origin: magefree/mage

public MidnightBanshee(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}{B}");
  this.subtype.add(SubType.SPIRIT);
  this.power = new MageInt(5);
  this.toughness = new MageInt(5);
  this.addAbility(WitherAbility.getInstance());
  // At the beginning of your upkeep, put a -1/-1 counter on each nonblack creature.
  this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersAllEffect(CounterType.M1M1.createInstance(), filter), TargetController.YOU, false));
}
origin: magefree/mage

public NeedleSpecter(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}{B}");
  this.subtype.add(SubType.SPECTER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Flying
  this.addAbility(FlyingAbility.getInstance());
  
  // Wither
  this.addAbility(WitherAbility.getInstance());
  
  // Whenever Needle Specter deals combat damage to a player, that player discards that many cards.
  this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new NeedleSpecterEffect(), false, true));
  
}
mage.abilities.keywordWitherAbility

Javadoc

702.77. Wither 702.77a. Wither is a static ability. Damage dealt to a creature by a source with wither isn't marked on that creature. Rather, it causes that many -1/-1 counters to be put on that creature. See rule 119.3. 702.77b. If a permanent leaves the battlefield before an effect causes it to deal damage, its last known information is used to determine whether it had wither. 702.77c. The wither rules function no matter what zone an object with wither deals damage from. 702.77d. Multiple instances of wither on the same object are redundant.

Most used methods

  • getInstance
  • getId

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JFileChooser (javax.swing)
  • JTextField (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
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