public GenericManaCost(int mana) { this.mana = mana; this.cost = Mana.GenericMana(mana); this.options.addMana(Mana.GenericMana(mana)); }
@Override public List<Mana> getManaOptions() { List<Mana> manaList = new ArrayList<>(); manaList.add(new Mana(mana)); manaList.add(Mana.GenericMana(2)); return manaList; } }
public PhyrexianManaCost(ColoredManaSymbol mana) { super(mana); options.add(Mana.GenericMana(0)); }
public SnowManaCost() { this.cost = Mana.GenericMana(1); this.options.addMana(Mana.GenericMana(1)); this.setSourceFilter(filter); }
public MonoHybridManaCost(ColoredManaSymbol mana) { this.mana = mana; this.cost = new Mana(mana); this.cost.add(Mana.GenericMana(2)); addColoredOption(mana); options.add(Mana.GenericMana(2)); }
public EldraziScionToken() { super("Eldrazi Scion", "1/1 colorless Eldrazi Scion creature token with \"Sacrifice this creature: Add {C}.\""); cardType.add(CardType.CREATURE); subtype.add(SubType.ELDRAZI); subtype.add(SubType.SCION); power = new MageInt(1); toughness = new MageInt(1); addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.GenericMana(1), new SacrificeSourceCost())); availableImageSetCodes = tokenImageSets; }
option.add(Mana.GenericMana(3)); option.add(Mana.GenericMana(3));
public ConduitOfEmrakul(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},""); this.subtype.add(SubType.ELDRAZI); this.subtype.add(SubType.WEREWOLF); this.power = new MageInt(5); this.toughness = new MageInt(4); // this card is the second face of double-faced card this.nightCard = true; // Whenever Conduit of Emrakul attacks, add {C}{C} at the beginning of your next main phase this turn. Effect effect = new CreateDelayedTriggeredAbilityEffect( new AtTheBeginOfMainPhaseDelayedTriggeredAbility( new AddManaToManaPoolSourceControllerEffect(Mana.GenericMana(2)), false, TargetController.YOU, AtTheBeginOfMainPhaseDelayedTriggeredAbility.PhaseSelection.NEXT_MAIN_THIS_TURN)); effect.setText("add {C}{C} at the beginning of your next main phase this turn"); this.addAbility(new AttacksTriggeredAbility(effect, false)); }
for (ManaCost manaCost : manaCostsToReduce) { if (manaCost instanceof MonoHybridManaCost) { reduceMana.add(Mana.GenericMana(2)); } else { reduceMana.add(manaCost.getMana());