Codota Logo
ExertCreatureControllerTriggeredAbility.<init>
Code IndexAdd Codota to your IDE (free)

How to use
mage.abilities.common.ExertCreatureControllerTriggeredAbility
constructor

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: magefree/mage

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

public BattlefieldScavenger(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
  this.subtype.add(SubType.JACKAL, SubType.ROGUE);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // You may exert Battlefield Scavenger as it attacks.
  this.addAbility(new ExertAbility(null, false));
  // Whenever you exert a creature, you may discard a card. If you do, draw a card.
  this.addAbility(new ExertCreatureControllerTriggeredAbility(new RummageEffect()));
}
origin: magefree/mage

public TrueheartTwins(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}");
  
  this.subtype.add(SubType.JACKAL);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // You may exert Trueheart Twins as it attacks.
  this.addAbility(new ExertAbility(null, false));
  // Whenever you exert a creature, creatures you control get +1/+0 until end of turn.
  this.addAbility(new ExertCreatureControllerTriggeredAbility(new BoostControlledEffect(1, 0, Duration.EndOfTurn)));
}
origin: magefree/mage

public ResoluteSurvivors(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}{W}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // You may exert Resolute Survivors as it attacks.
  this.addAbility(new ExertAbility(null, false));
  // Whenever you exert a creature, Resolute Survivors deals 1 damage to each opponent and you gain 1 life.
  Effect effect = new LoseLifeOpponentsEffect(1);
  effect.setText("Whenever you exert a creature, {this} deals 1 damage to each opponent");
  Ability ability = new ExertCreatureControllerTriggeredAbility(effect);
  effect = new GainLifeEffect(1);
  effect.setText("and you gain 1 life");
  ability.addEffect(effect);
  this.addAbility(ability);
}
mage.abilities.commonExertCreatureControllerTriggeredAbility<init>

Popular methods of ExertCreatureControllerTriggeredAbility

  • isControlledBy

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Collectors (java.util.stream)
  • ImageIO (javax.imageio)
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now