congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ChangelingAbility.getInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
getInstance
method
in
mage.abilities.keyword.ChangelingAbility

Best Java code snippets using mage.abilities.keyword.ChangelingAbility.getInstance (Showing top 20 results out of 315)

origin: magefree/mage

public CribSwapShapeshifterWhiteToken() {
  super("Shapeshifter", "1/1 colorless Shapeshifter creature token with changeling");
  this.setOriginalExpansionSetCode("LRW");
  cardType.add(CardType.CREATURE);
  subtype.add(SubType.SHAPESHIFTER);
  power = new MageInt(1);
  toughness = new MageInt(1);
  addAbility(ChangelingAbility.getInstance());
}
origin: magefree/mage

public DrJuliusJumblemorph(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}{W}");
  this.addSuperType(SuperType.LEGENDARY);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Dr. Julius Jumblemorph is every creature type (even if this card isn't on the battlefield).
  this.addAbility(ChangelingAbility.getInstance());
  
  // Whenever a host enters the battlefield under your control, you may search your library and/or graveyard for a card with augment and combine it with that host. If you search your library this way, shuffle it.
  // TODO: Host currently isn't implemented, so this ability currently would never trigger
}
origin: magefree/mage

public ChangelingSentinel(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{W}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  this.addAbility(ChangelingAbility.getInstance());
  this.addAbility(VigilanceAbility.getInstance());
}
origin: magefree/mage

public BladesOfVelisVel(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.TRIBAL,CardType.INSTANT},"{1}{R}");
  this.subtype.add(SubType.SHAPESHIFTER);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  
  // Up to two target creatures each get +2/+0 and gain all creature types until end of turn.
  Effect effect = new BoostTargetEffect(2,0, Duration.EndOfTurn);
  effect.setText("Up to two target creatures each get +2/+0");
  this.getSpellAbility().addEffect(effect);
  effect = new GainAbilityTargetEffect(ChangelingAbility.getInstance(), Duration.EndOfTurn, "and gain all creature types until end of turn");
  this.getSpellAbility().addEffect(effect);
  this.getSpellAbility().addTarget(new TargetCreaturePermanent(0,2));        
}
origin: magefree/mage

public GameTrailChangeling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  this.addAbility(ChangelingAbility.getInstance());
  this.addAbility(TrampleAbility.getInstance());
}
origin: magefree/mage

public ChangelingTitan(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{G}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(7);
  this.toughness = new MageInt(7);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  // Champion a creature
  this.addAbility(new ChampionAbility(this, true));
}
origin: magefree/mage

public ChangelingBerserker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(5);
  this.toughness = new MageInt(3);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  
  // Haste
  this.addAbility(HasteAbility.getInstance());
  
  // Champion a creature
  this.addAbility(new ChampionAbility(this, true));
}
origin: magefree/mage

public ChangelingHero(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{W}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  
  // Champion a creature
  this.addAbility(new ChampionAbility(this, true));
  
  // Lifelink
  this.addAbility(LifelinkAbility.getInstance());
}
origin: magefree/mage

public CairnWanderer(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  // As long as a creature card with flying is in a graveyard, Cairn Wanderer has flying. The same is true for fear, first strike, double strike, deathtouch, haste, landwalk, lifelink, protection, reach, trample, shroud, and vigilance.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CairnWandererEffect()));
}
origin: magefree/mage

public TaureanMauler(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  
  // Whenever an opponent casts a spell, you may put a +1/+1 counter on Taurean Mauler.
  this.addAbility(new SpellCastOpponentTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true));
  
}
origin: magefree/mage

public TurtleshellChangeling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(4);
  //Changeling
  this.addAbility(ChangelingAbility.getInstance());
  //{1}{U}: Switch {this}'s power and toughness until end of turn.
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new SwitchPowerToughnessSourceEffect(Duration.EndOfTurn), new ManaCostsImpl("{1}{U}")));
}
origin: magefree/mage

public GhostlyChangeling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  this.addAbility(ChangelingAbility.getInstance());
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl("{1}{B}")));
}
origin: magefree/mage

public FireBellyChangeling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{R}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  // {R}: Fire-Belly Changeling gets +1/+0 until end of turn. Activate this ability no more than twice each turn.
  this.addAbility(new LimitedTimesPerTurnActivatedAbility(Zone.BATTLEFIELD,
      new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}"), 2));
}
origin: magefree/mage

public WarSpikeChangeling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  this.addAbility(ChangelingAbility.getInstance());
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
}
origin: magefree/mage

public EgoErasure(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.TRIBAL, CardType.INSTANT}, "{2}{U}");
  this.subtype.add(SubType.SHAPESHIFTER);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  //Creatures target player controls get -2/+0 and lose all creature types until end of turn.
  this.getSpellAbility().addEffect(new EgoErasureBoostEffect());
  this.getSpellAbility().addEffect(new EgoErasureLoseEffect());
  this.getSpellAbility().addTarget(new TargetPlayer());
}
origin: magefree/mage

public CribSwap(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.TRIBAL, CardType.INSTANT}, "{2}{W}");
  this.subtype.add(SubType.SHAPESHIFTER);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  // Exile target creature. Its controller creates a 1/1 colorless Shapeshifter creature token with changeling.
  this.getSpellAbility().addEffect(new ExileTargetEffect());
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
  this.getSpellAbility().addEffect(new CribSwapEffect());
}
origin: magefree/mage

public ChameleonColossus(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}{G}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Changeling (This card is every creature type at all times.)
  this.addAbility(ChangelingAbility.getInstance());
  // Protection from black
  this.addAbility(ProtectionAbility.from(ObjectColor.BLACK));
  // {2}{G}{G}: Chameleon Colossus gets +X/+X until end of turn, where X is its power.
  SourcePermanentPowerCount x = new SourcePermanentPowerCount();
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(x, x, Duration.EndOfTurn, true), new ManaCostsImpl("{2}{G}{G}")));
}
origin: magefree/mage

public NamelessInversion(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.TRIBAL,CardType.INSTANT},"{1}{B}");
  this.subtype.add(SubType.SHAPESHIFTER);
  // Changeling
  this.addAbility(ChangelingAbility.getInstance());
  
  // Target creature gets +3/-3 and loses all creature types until end of turn.
  Effect effect = new BoostTargetEffect(3, -3, Duration.EndOfTurn);
  effect.setText("Target creature gets +3/-3");
  this.getSpellAbility().addEffect(effect);
  effect = new LoseAllCreatureTypesTargetEffect(Duration.EndOfTurn);
  effect.setText("and loses all creature types until end of turn");
  this.getSpellAbility().addEffect(effect);
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
origin: magefree/mage

public RunedStalactite(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{1}");
  this.subtype.add(SubType.EQUIPMENT);
  // Equipped creature gets +1/+1 and is every creature type.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(1,1)));
  Effect effect = new GainAbilityAttachedEffect(ChangelingAbility.getInstance(), AttachmentType.EQUIPMENT, Duration.WhileOnBattlefield);
  effect.setText("Equipped creature is every creature type (Changeling)");
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
  // Equip {2}
  this.addAbility(new EquipAbility(Outcome.BoostCreature, new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public MothdustChangeling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{U}");
  this.subtype.add(SubType.SHAPESHIFTER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  this.addAbility(ChangelingAbility.getInstance());
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new TapTargetCost(new TargetControlledPermanent(filter))));
}
mage.abilities.keywordChangelingAbilitygetInstance

Popular methods of ChangelingAbility

  • getId

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Permission (java.security)
    Legacy security code; do not use.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • 14 Best Plugins for Eclipse
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