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

How to use
ConvokeAbility
in
mage.abilities.keyword

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

origin: magefree/mage

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

public ConvokeAbility() {
  super(Zone.STACK, null);
  this.setRuleAtTheTop(true);
}
origin: magefree/mage

public ChiefEngineer(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}");
  this.subtype.add(SubType.VEDALKEN);
  this.subtype.add(SubType.ARTIFICER);
  this.power = new MageInt(1);
  this.toughness = new MageInt(3);
  // Artifact spells you cast have convoke.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledSpellsEffect(new ConvokeAbility(), new FilterArtifactSpell("Artifact spells you cast"))));
}
origin: magefree/mage

public ChantOfVituGhazi(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{6}{W}{W}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Prevent all damage that would be dealt by creatures this turn. You gain life equal to the damage prevented this way.
  this.getSpellAbility().addEffect(new ChantOfVituGhaziPreventEffect(StaticFilters.FILTER_PERMANENT_CREATURES, Duration.EndOfTurn, false));
}
origin: magefree/mage

public WillForgedGolem(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{6}");
  this.subtype.add(SubType.GOLEM);
  this.power = new MageInt(4);
  this.toughness = new MageInt(4);
  // Convoke
  this.addAbility(new ConvokeAbility());
}
origin: magefree/mage

public PauseForReflection(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{G}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Precent all combat damage that would be dealt this turn.
  this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(Duration.EndOfTurn, true));
}
origin: magefree/mage

public MeditationPuzzle(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{W}{W}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // You gain 8 life.
  this.getSpellAbility().addEffect(new GainLifeEffect(8));
}
origin: magefree/mage

public Overwhelm(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{5}{G}{G}");      
 
  // Convoke (Each creature you tap while casting this spell reduces its cost by {1} or by one mana of that creature's color.)
  this.addAbility(new ConvokeAbility());
  // Creatures you control get +3/+3 until end of turn.
  this.getSpellAbility().addEffect(new BoostControlledEffect(3, 3, Duration.EndOfTurn));
}
origin: magefree/mage

public HourOfReckoning(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{4}{W}{W}{W}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  
  // Destroy all nontoken creatures.
  this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
}
origin: magefree/mage

public LedevGuardian(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.KNIGHT);
  this.power = new MageInt(2);
  this.toughness = new MageInt(4);
  // Convoke
  this.addAbility(new ConvokeAbility());
}
origin: magefree/mage

public ImperviousGreatwurm(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{7}{G}{G}{G}");
  this.subtype.add(SubType.WURM);
  this.power = new MageInt(16);
  this.toughness = new MageInt(16);
  // Convoke
  this.addAbility(new ConvokeAbility());
  
  // Indestructible
  this.addAbility(IndestructibleAbility.getInstance());
}
origin: magefree/mage

public GuardianOfVituGhazi(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{6}{G}{W}");
  this.subtype.add(SubType.ELEMENTAL);
  this.power = new MageInt(4);
  this.toughness = new MageInt(7);
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Vigilance
  this.addAbility(VigilanceAbility.getInstance());
}
origin: magefree/mage

public ChordOfCalling(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{G}{G}{G}");
  // Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)
  this.addAbility(new ConvokeAbility());
  // Search your library for a creature card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library.
  this.getSpellAbility().addEffect(new SearchLibraryWithLessCMCPutInPlayEffect(new FilterCreatureCard()));
}
origin: magefree/mage

public SiegeWurm(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{5}{G}{G}");
  this.subtype.add(SubType.WURM);
  this.power = new MageInt(5);
  this.toughness = new MageInt(5);
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Trample
  this.addAbility(TrampleAbility.getInstance());
}
origin: magefree/mage

public NissasExpedition(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{4}{G}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library.
  this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(0,2, StaticFilters.FILTER_CARD_BASIC_LAND), true, true));
}
origin: magefree/mage

public ArboretumElemental(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{7}{G}{G}");
  this.subtype.add(SubType.ELEMENTAL);
  this.power = new MageInt(7);
  this.toughness = new MageInt(5);
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Hexproof
  this.addAbility(HexproofAbility.getInstance());
}
origin: magefree/mage

public AutochthonWurm(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{10}{G}{G}{G}{W}{W}");
  this.subtype.add(SubType.WURM);
  this.power = new MageInt(9);
  this.toughness = new MageInt(14);
  // Convoke (Each creature you tap while casting this spell reduces its cost by {1} or by one mana of that creature's color.)
  this.addAbility(new ConvokeAbility());
  // Trample
  this.addAbility(TrampleAbility.getInstance());
}
origin: magefree/mage

public MarchOfTheMultitudes(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{G}{W}{W}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Create X 1/1 white Soldier creature tokens with lifelink.
  this.getSpellAbility().addEffect(new CreateTokenEffect(
      new SoldierLifelinkToken(),
      ManacostVariableValue.instance
  ));
}
origin: magefree/mage

public FeralIncarnation(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{8}{G}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Create three 3/3 green Beast creature tokens.
  this.getSpellAbility().addEffect(new CreateTokenEffect(new BeastToken(), 3));
}
origin: magefree/mage

public ScatterTheSeeds(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{G}{G}");
  // Convoke
  this.addAbility(new ConvokeAbility());
  // Create three 1/1 green Saproling creature tokens.
  this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), 3));
}
mage.abilities.keywordConvokeAbility

Most used methods

  • <init>
  • setRuleAtTheTop

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Top 15 Vim Plugins
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