forked from External/mage
[SPM] Implement School Daze
This commit is contained in:
parent
785b45fdf8
commit
edad932077
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/s/SchoolDaze.java
Normal file
41
Mage.Sets/src/mage/cards/s/SchoolDaze.java
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
package mage.cards.s;
|
||||||
|
|
||||||
|
import mage.abilities.Mode;
|
||||||
|
import mage.abilities.effects.common.CounterTargetEffect;
|
||||||
|
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.target.TargetSpell;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class SchoolDaze extends CardImpl {
|
||||||
|
|
||||||
|
public SchoolDaze(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}{U}");
|
||||||
|
|
||||||
|
// Choose one --
|
||||||
|
// * Do Homework -- Draw three cards.
|
||||||
|
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
|
||||||
|
this.getSpellAbility().withFirstModeFlavorWord("Do Homework");
|
||||||
|
|
||||||
|
// * Fight Crime -- Counter target spell. Draw a card.
|
||||||
|
this.getSpellAbility().addMode(new Mode(new CounterTargetEffect())
|
||||||
|
.addEffect(new DrawCardSourceControllerEffect(1))
|
||||||
|
.addTarget(new TargetSpell())
|
||||||
|
.withFlavorWord("Fight Crime"));
|
||||||
|
}
|
||||||
|
|
||||||
|
private SchoolDaze(final SchoolDaze card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SchoolDaze copy() {
|
||||||
|
return new SchoolDaze(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -127,6 +127,7 @@ public final class MarvelsSpiderMan extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Sandman, Shifting Scoundrel", 112, Rarity.RARE, mage.cards.s.SandmanShiftingScoundrel.class, NON_FULL_USE_VARIOUS));
|
cards.add(new SetCardInfo("Sandman, Shifting Scoundrel", 112, Rarity.RARE, mage.cards.s.SandmanShiftingScoundrel.class, NON_FULL_USE_VARIOUS));
|
||||||
cards.add(new SetCardInfo("Sandman, Shifting Scoundrel", 266, Rarity.RARE, mage.cards.s.SandmanShiftingScoundrel.class, NON_FULL_USE_VARIOUS));
|
cards.add(new SetCardInfo("Sandman, Shifting Scoundrel", 266, Rarity.RARE, mage.cards.s.SandmanShiftingScoundrel.class, NON_FULL_USE_VARIOUS));
|
||||||
cards.add(new SetCardInfo("Scarlet Spider, Kaine", 143, Rarity.UNCOMMON, mage.cards.s.ScarletSpiderKaine.class));
|
cards.add(new SetCardInfo("Scarlet Spider, Kaine", 143, Rarity.UNCOMMON, mage.cards.s.ScarletSpiderKaine.class));
|
||||||
|
cards.add(new SetCardInfo("School Daze", 42, Rarity.UNCOMMON, mage.cards.s.SchoolDaze.class));
|
||||||
cards.add(new SetCardInfo("Scorpion's Sting", 65, Rarity.COMMON, mage.cards.s.ScorpionsSting.class));
|
cards.add(new SetCardInfo("Scorpion's Sting", 65, Rarity.COMMON, mage.cards.s.ScorpionsSting.class));
|
||||||
cards.add(new SetCardInfo("Scorpion, Seething Striker", 64, Rarity.UNCOMMON, mage.cards.s.ScorpionSeethingStriker.class));
|
cards.add(new SetCardInfo("Scorpion, Seething Striker", 64, Rarity.UNCOMMON, mage.cards.s.ScorpionSeethingStriker.class));
|
||||||
cards.add(new SetCardInfo("Scout the City", 113, Rarity.COMMON, mage.cards.s.ScoutTheCity.class));
|
cards.add(new SetCardInfo("Scout the City", 113, Rarity.COMMON, mage.cards.s.ScoutTheCity.class));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue