mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Diamond Kaleidoscope - Fixed available mana calculation (#6698).
This commit is contained in:
parent
881f727ec7
commit
f7b3e33f92
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
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;
|
||||
|
@ -33,7 +33,7 @@ public final class DiamondKaleidoscope extends CardImpl {
|
|||
}
|
||||
|
||||
public DiamondKaleidoscope(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{4}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||
|
||||
// {3}, {tap}: Create a 0/1 colorless Prism artifact creature token.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new PrismToken(), 1), new GenericManaCost(3));
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue