mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
[EOE] Implement Zealous Display
This commit is contained in:
parent
9a2386c0db
commit
5de20c20b8
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/z/ZealousDisplay.java
Normal file
39
Mage.Sets/src/mage/cards/z/ZealousDisplay.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.z;
|
||||
|
||||
import mage.abilities.condition.common.NotMyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.effects.common.UntapAllEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ZealousDisplay extends CardImpl {
|
||||
|
||||
public ZealousDisplay(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
|
||||
// Creatures you control get +2/+0 until end of turn. If it's not your turn, untap those creatures.
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(2, 0, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new UntapAllEffect(StaticFilters.FILTER_CONTROLLED_CREATURE),
|
||||
NotMyTurnCondition.instance, "If it's not your turn, untap those creatures"
|
||||
));
|
||||
}
|
||||
|
||||
private ZealousDisplay(final ZealousDisplay card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ZealousDisplay copy() {
|
||||
return new ZealousDisplay(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -379,6 +379,7 @@ public final class EdgeOfEternities extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Wurmwall Sweeper", 249, Rarity.COMMON, mage.cards.w.WurmwallSweeper.class));
|
||||
cards.add(new SetCardInfo("Xu-Ifit, Osteoharmonist", 127, Rarity.RARE, mage.cards.x.XuIfitOsteoharmonist.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Xu-Ifit, Osteoharmonist", 294, Rarity.RARE, mage.cards.x.XuIfitOsteoharmonist.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Zealous Display", 45, Rarity.COMMON, mage.cards.z.ZealousDisplay.class));
|
||||
cards.add(new SetCardInfo("Zero Point Ballad", 128, Rarity.RARE, mage.cards.z.ZeroPointBallad.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Zero Point Ballad", 335, Rarity.RARE, mage.cards.z.ZeroPointBallad.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Zookeeper Mechan", 170, Rarity.COMMON, mage.cards.z.ZookeeperMechan.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue