mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
* Some rework/fixes/optimizations of calculation of available mana.
This commit is contained in:
parent
e71c54593e
commit
fdddbbbbe6
5 changed files with 190 additions and 29 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -28,9 +27,9 @@ public final class CabalCoffers extends CardImpl {
|
|||
}
|
||||
|
||||
public CabalCoffers(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
|
||||
// {2}, {tap}: Add {B} for each Swamp you control.
|
||||
// {2}, {T}: Add {B} for each Swamp you control.
|
||||
Ability ability = new DynamicManaAbility(Mana.BlackMana(1), new PermanentsOnBattlefieldCount(filter), new GenericManaCost(2));
|
||||
ability.addCost(new TapSourceCost());
|
||||
this.addAbility(ability);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue