* Diamond Kaleidoscope - Fixed available mana calculation
-
package mage.cards.d;
import java.util.UUID;
@@ -7,6 +6,7 @@ import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.GenericManaCost;
+import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.mana.AnyColorManaAbility;
import mage.cards.CardImpl;
@@ -41,7 +41,9 @@ public final class DiamondKaleidoscope extends CardImpl {
this.addAbility(ability);
// Sacrifice a Prism token: Add one mana of any color.
- ability = new AnyColorManaAbility(new SacrificeTargetCost(new TargetControlledPermanent(filter)));
+ ability = new AnyColorManaAbility(new SacrificeTargetCost(new TargetControlledPermanent(filter)),
+ new PermanentsOnBattlefieldCount(filter),
+ false);
this.addAbility(ability);
}
