Tabnine Logo
ExertCreatureControllerTriggeredAbility.<init>
Code IndexAdd Tabnine 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)

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

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JFrame (javax.swing)
  • JOptionPane (javax.swing)
  • Top Sublime Text 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