congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RedManaAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
RedManaAbility
in
mage.abilities.mana

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

origin: magefree/mage

public FireDiamond(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
  // Fire Diamond enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // {tap}: Add {R}.
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public BloodstoneCameo(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{3}");
  // {tap}: Add {B} or {R}.
  this.addAbility(new BlackManaAbility());
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public Badlands(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.subtype.add(SubType.SWAMP, SubType.MOUNTAIN);
  
  this.addAbility(new BlackManaAbility());
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public SnowCoveredMountain(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.addSuperType(SuperType.BASIC);
  this.addSuperType(SuperType.SNOW);
  this.subtype.add(SubType.MOUNTAIN);
  // R
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public IronMyr (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{2}");
  this.subtype.add(SubType.MYR);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public ObeliskOfJund (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{3}");
  this.addAbility(new BlackManaAbility());
  this.addAbility(new RedManaAbility());
  this.addAbility(new GreenManaAbility());
}
origin: magefree/mage

public HeartOfRamos(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{3}");
  // {tap}: Add {R}.
  this.addAbility(new RedManaAbility());
  
  // Sacrifice Heart of Ramos: Add {R}.
  this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.RedMana(1), new SacrificeSourceCost()));
}
origin: magefree/mage

public GruulGuildgate(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.subtype.add(SubType.GATE);
  // Gruul Guildgate enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // {T}: Add {R} or {G}.
  this.addAbility(new RedManaAbility());
  this.addAbility(new GreenManaAbility());
}
origin: magefree/mage

public BorosGuildgate(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.subtype.add(SubType.GATE);
  // Boros Guildgate enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // {T}: Add {W} or {R}.
  this.addAbility(new WhiteManaAbility());
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public JungleShrine (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},null);
  this.addAbility(new EntersBattlefieldTappedAbility());
  this.addAbility(new RedManaAbility());
  this.addAbility(new GreenManaAbility());
  this.addAbility(new WhiteManaAbility());
}
origin: magefree/mage

public RavagedHighlands(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Ravaged Highlands enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // {tap}: Add {R}.
  this.addAbility(new RedManaAbility());
  // {tap}, Sacrifice Ravaged Highlands: Add one mana of any color.
  Ability ability = new AnyColorManaAbility();
  ability.addCost(new SacrificeSourceCost());
  this.addAbility(ability);
}
origin: magefree/mage

public CrumblingNecropolis(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},null);
  this.addAbility(new EntersBattlefieldTappedAbility());
  this.addAbility(new RedManaAbility());
  this.addAbility(new BlueManaAbility());
  this.addAbility(new BlackManaAbility());
}
origin: magefree/mage

public DruidOfTheAnima (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
  this.subtype.add(SubType.ELF);
  this.subtype.add(SubType.DRUID);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  this.addAbility(new RedManaAbility());
  this.addAbility(new GreenManaAbility());
  this.addAbility(new WhiteManaAbility());
}
origin: magefree/mage

public WindScarredCrag(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Wind-Scarred Crag enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // When Wind-Scarred Crag enters the battlefield, you gain 1 life.
  this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(1)));
  // {T}: Add {R} or {W}.
  this.addAbility(new RedManaAbility());
  this.addAbility(new WhiteManaAbility());                
  
}
origin: magefree/mage

public AkoumRefuge(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.addAbility(new EntersBattlefieldTappedAbility());
  this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(1)));
  this.addAbility(new BlackManaAbility());
  this.addAbility(new RedManaAbility());
}
origin: magefree/mage

public RuggedHighlands(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Rugged Highlands enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // When Rugged Highlands enters the battlefield, you gain 1 life.
  this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(1)));
  // {T}: Add {R} or {G}.
  this.addAbility(new RedManaAbility());
  this.addAbility(new GreenManaAbility());
      
}
origin: magefree/mage

public SmolderingSpires(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.addAbility(new EntersBattlefieldTappedAbility());
  this.addAbility(new RedManaAbility());
  // When Smoldering Spires enters the battlefield, target creature can't block this turn.
  EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
}
origin: magefree/mage

public LanternLitGraveyard(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.addAbility(new ColorlessManaAbility());
  Ability blackManaAbility = new BlackManaAbility();
  blackManaAbility.addEffect(new DontUntapInControllersNextUntapStepSourceEffect());
  this.addAbility(blackManaAbility);
  Ability redManaAbility = new RedManaAbility();
  redManaAbility.addEffect(new DontUntapInControllersNextUntapStepSourceEffect());
  this.addAbility(redManaAbility);
}
origin: magefree/mage

public EwokVillage(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Ewok Village enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // When Ewok Village enters the battlefield , add {G}.
  this.addAbility(new EntersBattlefieldTriggeredAbility(new AddManaToManaPoolSourceControllerEffect(Mana.GreenMana(1))));
  // {T}: Add {R} or {W} to you mana pool.
  this.addAbility(new RedManaAbility());
  this.addAbility(new WhiteManaAbility());
}
origin: magefree/mage

public KeldonMegaliths(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Keldon Megaliths enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // {tap}: Add {R}.
  this.addAbility(new RedManaAbility());
  // Hellbent - {1}{R}, {tap}: Keldon Megaliths deals 1 damage to any target. Activate this ability only if you have no cards in hand.
  Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl<>("{1}{R}"), HellbentCondition.instance,
      "<i>Hellbent</i> &mdash; {1}{R}, {T}: {this} deals 1 damage to any target. Activate this ability only if you have no cards in hand.");
  ability.addTarget(new TargetAnyTarget());
  this.addAbility(ability);
}
mage.abilities.manaRedManaAbility

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • String (java.lang)
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text 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