Tabnine Logo
JumpStartAbility.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mage.abilities.keyword.JumpStartAbility
constructor

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

origin: magefree/mage

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

public RadicalIdea(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
  // Draw a card.
  this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public ChemistersInsight(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}");
  // Draw two cards.
  this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2));
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public RiskFactor(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
  // Target opponent may have Risk Factor deal 4 damage to them. If that player doesn't, you draw three cards.
  this.getSpellAbility().addEffect(new RiskFactorEffect());
  this.getSpellAbility().addTarget(new TargetOpponent());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public SonicAssault(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}{R}");
  // Tap target creature. Sonic Assault deals 2 damage to that creature's controller.
  this.getSpellAbility().addEffect(new SonicAssaultEffect());
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public DirectCurrent(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
  // Direct Current deals 2 damage to any target.
  this.getSpellAbility().addEffect(new DamageTargetEffect(2));
  this.getSpellAbility().addTarget(new TargetAnyTarget());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public Quasiduplicate(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}{U}");
  // Create a token that's a copy of target creature you control.
  this.getSpellAbility().addEffect(new CreateTokenCopyTargetEffect());
  this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public BeaconBolt(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}{R}");
  // Beacon Bolt deals damage to target creature equal to the total number of instant and sorcery cards you own in exile and in your graveyard.
  this.getSpellAbility().addEffect(new DamageTargetEffect(
      InstantSorceryExileGraveyardCount.instance
  ).setText("{this} deals damage to target creature equal to "
      + "the total number of instant and sorcery cards "
      + "you own in exile and in your graveyard"));
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public GraviticPunch(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}");
  // Target creature you control deals damage equal to its power to target player.
  this.getSpellAbility().addEffect(new GraviticPunchEffect());
  this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
  this.getSpellAbility().addTarget(new TargetPlayer());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public MaximizeVelocity(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}");
  // Target creature gets +1/+1 and gains haste until end of turn.
  this.getSpellAbility().addEffect(new BoostTargetEffect(
      1, 1, Duration.EndOfTurn
  ).setText("Target creature gets +1/+1"));
  this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
      HasteAbility.getInstance(), Duration.EndOfTurn
  ).setText("and gains haste until end of turn"));
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
origin: magefree/mage

public MaximizeAltitude(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{U}");
  // Target creature gets +1/+1 and flying until end of turn.
  this.getSpellAbility().addEffect(new BoostTargetEffect(
      1, 1, Duration.EndOfTurn
  ).setText("Target creature gets +1/+1"));
  this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
      FlyingAbility.getInstance(), Duration.EndOfTurn
  ).setText("and gains flying until end of turn"));
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
  // Jump-start
  this.addAbility(new JumpStartAbility(this));
}
mage.abilities.keywordJumpStartAbility<init>

Popular methods of JumpStartAbility

  • addCost
  • getCosts
  • getEffects
  • getRule
  • getSourceId
  • getTargets

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Permission (java.security)
    Legacy security code; do not use.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Best IntelliJ 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