congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DashAbility.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mage.abilities.keyword.DashAbility
constructor

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

origin: magefree/mage

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

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

public ScreamreachBrawler(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}");
  this.subtype.add(SubType.ORC);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(2);
  this.toughness = new MageInt(3);
  // Dash {1}{R}
  this.addAbility(new DashAbility(this, "{1}{R}"));
}
origin: magefree/mage

public MarduScout(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R}{R}");
  this.subtype.add(SubType.GOBLIN);
  this.subtype.add(SubType.SCOUT);
  this.power = new MageInt(3);
  this.toughness = new MageInt(1);
  // Dash {1}{R}
  this.addAbility(new DashAbility(this, "{1}{R}"));        
}
origin: magefree/mage

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

public SprintingWarbrute(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{R}");
  this.subtype.add(SubType.OGRE);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(5);
  this.toughness = new MageInt(4);
  // Sprinting Warbrute attacks each turn if able.
  this.addAbility(new AttacksEachCombatStaticAbility());
  // Dash {3}{R}
  this.addAbility(new DashAbility(this, "{3}{R}"));
}
origin: magefree/mage

public RecklessImp(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.IMP);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Flying
  this.addAbility(FlyingAbility.getInstance());
  
  // Reckless Imp can't block.
  this.addAbility(new CantBlockAbility());
      
  // Dash {1}{B}
  this.addAbility(new DashAbility(this, "{1}{B}"));
}
origin: magefree/mage

public MarduShadowspear(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{B}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Whenever Mardu Shadowspear attacks, each opponent loses 1 life.
  this.addAbility(new AttacksTriggeredAbility(new LoseLifeOpponentsEffect(1),false));
  // Dash {1}{B}
  this.addAbility(new DashAbility(this, "{1}{B}"));
}
origin: magefree/mage

public Warbringer(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
  this.subtype.add(SubType.ORC);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Dash costs you pay cost {2} less (as long as this creature is on the battlefield).
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new WarbringerSpellsCostReductionEffect()));
  // Dash {2}{R}
  this.addAbility(new DashAbility(this, "{2}{R}"));
}
origin: magefree/mage

public PitilessHorde(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.ORC);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(5);
  this.toughness = new MageInt(3);
  // At the beginning of your upkeep, lose 2 life.
  this.addAbility(new BeginningOfUpkeepTriggeredAbility(new LoseLifeSourceControllerEffect(2), TargetController.YOU, false));
  
  // Dash {2}{B}{B}
  this.addAbility(new DashAbility(this, "{2}{B}{B}"));
}
origin: magefree/mage

public ZurgoBellstriker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.ORC, SubType.WARRIOR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Zurgo Bellstriker can't block creatures with power 2 or greater.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBlockCreaturesSourceEffect(filter)));
  // Dash {1}{R}
  this.addAbility(new DashAbility(this, "{1}{R}"));
}
origin: magefree/mage

public AmbuscadeShaman(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
  this.subtype.add(SubType.ORC);
  this.subtype.add(SubType.SHAMAN);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Whenever Ambuscade Shaman or another creature enters the battlefield under your control, that creature gets +2/+2 until end of turn.
  Effect effect = new BoostTargetEffect(2, 2, Duration.EndOfTurn);
  effect.setText("that creature gets +2/+2 until end of turn");
  this.addAbility(new AmbuscadeShamanTriggeredAbility(effect));
  // Dash {3}{B} <i>(You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)</i>);
  this.addAbility(new DashAbility(this, "{3}{B}"));
}
origin: magefree/mage

public LightningBerserker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // {R}: Lightning Berserker gets +1/+0 until end of turn.
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
      new BoostSourceEffect(1, 0, Duration.EndOfTurn),
      new ManaCostsImpl("{R}")));
  
  // Dash {R}
  this.addAbility(new DashAbility(this, "{R}"));
}
origin: magefree/mage

public FlamerushRider(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Whenever Flamerush Rider attacks, create a token tapped and attacking that's a copy of another target attacking creature. Exile the token at end of combat.
  Ability ability = new AttacksTriggeredAbility(new FlamerushRiderEffect(), false);
  ability.addTarget(new TargetPermanent(filter));
  this.addAbility(ability);
  // Dash {2}{R}{R}
  this.addAbility(new DashAbility(this, "{2}{R}{R}"));
}
origin: magefree/mage

public GoblinHeelcutter(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
  this.subtype.add(SubType.GOBLIN);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  // Whenever Goblin Heelcutter attacks, target creature can't block this turn.
  Ability ability = new AttacksTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn), false);
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
  
  // Dash {2}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)
  this.addAbility(new DashAbility(this, "{2}{R}"));
}
origin: magefree/mage

public MarduStrikeLeader(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WARRIOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  // Whenever Mardu Strike Leader attacks, create a 2/1 black Warrior creature token.
  this.addAbility(new AttacksTriggeredAbility(new CreateTokenEffect(new MarduStrikeLeaderWarriorToken()), false));
  // Dash {3}{B}
  this.addAbility(new DashAbility(this, "{3}{B}"));
}
origin: magefree/mage

public KolaghanTheStormsFury(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{R}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.DRAGON);
  this.power = new MageInt(4);
  this.toughness = new MageInt(5);
  // Flying
  this.addAbility(FlyingAbility.getInstance());
  // Whenever a Dragon you control attacks, creatures you control get +1/+0 until end of turn.
  this.addAbility(new AttacksAllTriggeredAbility(
      new BoostControlledEffect(1, 0, Duration.EndOfTurn, FILTER_PERMANENT_CREATURES, false),
      false, filter, SetTargetPointer.NONE, false));
  // Dash {3}{B}{R}
  this.addAbility(new DashAbility(this, "{3}{B}{R}"));
}
origin: magefree/mage

public Vaultbreaker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
  this.subtype.add(SubType.ORC);
  this.subtype.add(SubType.ROGUE);
  this.power = new MageInt(4);
  this.toughness = new MageInt(2);
  // Whenever Vaultbreaker attacks, you may discard a card. If you do, draw a card.
  this.addAbility(new AttacksTriggeredAbility(new DoIfCostPaid(new DrawCardSourceControllerEffect(1),
      new DiscardCardCost()), false, "Whenever {this} attacks, you may discard a card. If you do, draw a card"));
  // Dash {2}{R}
  this.addAbility(new DashAbility(this, "{2}{R}"));
}
origin: magefree/mage

public KolaghanForerunners(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.BERSERKER);
  this.power = new MageInt(0);
  this.toughness = new MageInt(3);
  // Trample
  this.addAbility(TrampleAbility.getInstance());
  // Kolaghan Forerunners' power is equal to the number of creatures you control.
  Effect effect = new SetPowerSourceEffect(new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent("creatures you control")), Duration.EndOfGame);
  this.addAbility(new SimpleStaticAbility(Zone.ALL, effect));
  // Dash {2}{R} <i.(You may cast this spell for its dash cost. If you do it gains haste and it's returned to its owner's hand at the beginning of the next end step.)</i>
  this.addAbility(new DashAbility(this, "{2}{R}"));
}
mage.abilities.keywordDashAbility<init>

Popular methods of DashAbility

  • activateDash
  • addDashCost
  • addSubAbility
  • getSourceId
  • isActivated
  • resetDash

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
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Permission (java.security)
    Legacy security code; do not use.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • PhpStorm for WordPress
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