mirror of
https://github.com/correl/mage.git
synced 2025-03-13 01:09:53 -09:00
[BRO] Implemented Flow of Knowledge
This commit is contained in:
parent
72f25dd681
commit
97e70c31ce
2 changed files with 39 additions and 0 deletions
Mage.Sets/src/mage
38
Mage.Sets/src/mage/cards/f/FlowOfKnowledge.java
Normal file
38
Mage.Sets/src/mage/cards/f/FlowOfKnowledge.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class FlowOfKnowledge extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent(SubType.ISLAND);
|
||||
|
||||
public FlowOfKnowledge(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{U}");
|
||||
|
||||
// Draw a card for each Island you control, then discard two cards.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(new PermanentsOnBattlefieldCount(filter)));
|
||||
this.getSpellAbility().addEffect(new DiscardControllerEffect(2).concatBy(", then"));
|
||||
}
|
||||
|
||||
private FlowOfKnowledge(final FlowOfKnowledge card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FlowOfKnowledge copy() {
|
||||
return new FlowOfKnowledge(this);
|
||||
}
|
||||
}
|
|
@ -46,6 +46,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Fade from History", 177, Rarity.RARE, mage.cards.f.FadeFromHistory.class));
|
||||
cards.add(new SetCardInfo("Fallaji Dragon Engine", 159, Rarity.UNCOMMON, mage.cards.f.FallajiDragonEngine.class));
|
||||
cards.add(new SetCardInfo("Feldon, Ronom Excavator", 135, Rarity.RARE, mage.cards.f.FeldonRonomExcavator.class));
|
||||
cards.add(new SetCardInfo("Flow of Knowledge", 49, Rarity.UNCOMMON, mage.cards.f.FlowOfKnowledge.class));
|
||||
cards.add(new SetCardInfo("Forest", 286, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Gaea's Courser", 181, Rarity.UNCOMMON, mage.cards.g.GaeasCourser.class));
|
||||
cards.add(new SetCardInfo("Giant Growth", 183, Rarity.COMMON, mage.cards.g.GiantGrowth.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue