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

How to use
mage.abilities.effects.common.CrewsVehicleSourceTriggeredAbility
constructor

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

origin: magefree/mage

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

public GearshiftAce(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{W}");
  this.subtype.add(SubType.DWARF);
  this.subtype.add(SubType.PILOT);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  // First Strike
  this.addAbility(FirstStrikeAbility.getInstance());
  // Whenever Gearshift Ace crews a Vehicle, that Vehicle gains first strike until the end of turn.
  this.addAbility(new CrewsVehicleSourceTriggeredAbility(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn,
      "that Vehicle gains first strike until end of turn")));
}
origin: magefree/mage

public SpeedwayFanatic(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{R}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.PILOT);
  this.power = new MageInt(2);
  this.toughness = new MageInt(1);
  // Haste
  this.addAbility(HasteAbility.getInstance());
  // Whenever Speedway Fanatic crews a Vehicle, that Vehicle gains haste until end of turn.
  this.addAbility(new CrewsVehicleSourceTriggeredAbility(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn,
      "that Vehicle gains haste until end of turn")));
}
origin: magefree/mage

public VeteranMotorist(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{R}{W}");
  this.subtype.add(SubType.DWARF);
  this.subtype.add(SubType.PILOT);
  this.power = new MageInt(3);
  this.toughness = new MageInt(1);
  // When Veteran Motorist enters the battlefield, scry 2.
  this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(2)));
  // Whenever Veteran Motorist crews a Vehicle, that Vehicle gets +1/+1 until end of turn.
  Effect effect = new BoostTargetEffect(1, 1, Duration.EndOfTurn);
  effect.setText("that Vehicle gets +1/+1 until end of turn");
  this.addAbility(new CrewsVehicleSourceTriggeredAbility(effect));
}
mage.abilities.effects.commonCrewsVehicleSourceTriggeredAbility<init>

Popular methods of CrewsVehicleSourceTriggeredAbility

  • getEffects
  • getSourceId

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • 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
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Github Copilot alternatives
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