/** * * @param mana * @param amount * @param cost * @param text * @param oneChoice is all mana from the same colour or if false the player * can choose different colours * @param netAmount a dynamic value that calculates the possible available * mana (e.g. if you have to pay by removing counters from source) */ public DynamicManaAbility(Mana mana, DynamicValue amount, Cost cost, String text, boolean oneChoice, DynamicValue netAmount) { super(Zone.BATTLEFIELD, new DynamicManaEffect(mana, amount, text, oneChoice, netAmount), cost); manaEffect = (DynamicManaEffect) this.getEffects().get(0); }