mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
merge cleanup, text fixes
This commit is contained in:
parent
212a7bc159
commit
dba8725b26
3 changed files with 19 additions and 23 deletions
|
|
@ -34,7 +34,6 @@ public final class DontMove extends CardImpl {
|
|||
|
||||
public DontMove(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}");
|
||||
|
||||
|
||||
// Destroy all tapped creatures.
|
||||
this.getSpellAbility().addEffect(new DestroyAllEffect(filter, false));
|
||||
|
|
@ -57,7 +56,7 @@ public final class DontMove extends CardImpl {
|
|||
|
||||
class DontMoveEffect extends OneShotEffect {
|
||||
|
||||
public DontMoveEffect() {
|
||||
DontMoveEffect() {
|
||||
super(Outcome.PlayForFree);
|
||||
this.staticText = "Until your next turn, whenever a creature becomes tapped, destroy it.";
|
||||
}
|
||||
|
|
@ -121,4 +120,4 @@ class DontMoveAbility extends DelayedTriggeredAbility {
|
|||
public boolean isInactive(Game game) {
|
||||
return game.getActivePlayerId().equals(getControllerId()) && game.getTurnNum() != startingTurn;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import mage.players.Player;
|
|||
*/
|
||||
public final class JurassicPark extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent("Dinosaurs you control");
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent("Dinosaur you control");
|
||||
|
||||
static {
|
||||
filter.add(SubType.DINOSAUR.getPredicate());
|
||||
|
|
|
|||
|
|
@ -1,25 +1,21 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.DelayedTriggeredAbility;
|
||||
import mage.abilities.common.SagaAbility;
|
||||
import mage.abilities.common.delayed.AtTheBeginOfNextEndStepDelayedTriggeredAbility;
|
||||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.*;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DestroyAllEffect;
|
||||
import mage.abilities.effects.common.ExileSagaAndReturnTransformedEffect;
|
||||
import mage.abilities.effects.common.continuous.BecomesCreatureTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.DefenderAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.TransformAbility;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.*;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterNoncreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.permanent.ControllerIdPredicate;
|
||||
|
|
@ -27,13 +23,12 @@ import mage.game.Game;
|
|||
import mage.game.permanent.token.DinosaurToken;
|
||||
import mage.game.permanent.token.custom.CreatureToken;
|
||||
import mage.players.Player;
|
||||
import mage.target.TargetCard;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
import mage.target.targetadjustment.TargetAdjuster;
|
||||
import mage.target.targetpointer.EachTargetPointer;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
import mage.target.targetpointer.FixedTargets;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -41,7 +36,7 @@ import mage.target.targetpointer.FixedTargets;
|
|||
*/
|
||||
public final class WelcomeTo extends CardImpl {
|
||||
|
||||
private static FilterPermanent filter = new FilterPermanent("walls");
|
||||
private static final FilterPermanent filter = new FilterPermanent("Walls");
|
||||
|
||||
static {
|
||||
filter.add(SubType.WALL.getPredicate());
|
||||
|
|
@ -60,11 +55,13 @@ public final class WelcomeTo extends CardImpl {
|
|||
// I -- For each opponent, up to one target noncreature artifact they control becomes a 0/4 Wall artifact creature with defender for as long as you control this Saga.
|
||||
sagaAbility.addChapterEffect(this, SagaChapter.CHAPTER_I, ability -> {
|
||||
ability.addEffect(
|
||||
new BecomesCreatureTargetEffect(new CreatureToken(0, 4).withSubType(SubType.WALL),
|
||||
false, false, Duration.WhileControlled)
|
||||
.setText("For each opponent, up to one target noncreature artifact they control becomes " +
|
||||
"a 0/4 Wall artifact creature with defender for as long as you control this Saga."));
|
||||
ability.addEffect(new GainAbilityTargetEffect(DefenderAbility.getInstance(), Duration.WhileControlled, ""));
|
||||
new BecomesCreatureTargetEffect(
|
||||
new CreatureToken(0, 4)
|
||||
.withSubType(SubType.WALL)
|
||||
.withAbility(DefenderAbility.getInstance()),
|
||||
false, false, Duration.WhileControlled
|
||||
).setText("For each opponent, up to one target noncreature artifact they control becomes " +
|
||||
"a 0/4 Wall artifact creature with defender for as long as you control this Saga."));
|
||||
ability.getEffects().setTargetPointer(new EachTargetPointer());
|
||||
ability.setTargetAdjuster(WelcomeToAdjuster.instance);
|
||||
});
|
||||
|
|
@ -116,7 +113,7 @@ enum WelcomeToAdjuster implements TargetAdjuster {
|
|||
// Based on Mordor on the March
|
||||
class WelcomeToEffect extends OneShotEffect {
|
||||
|
||||
public WelcomeToEffect() {
|
||||
WelcomeToEffect() {
|
||||
super(Outcome.PutCreatureInPlay);
|
||||
this.staticText = "Create a 3/3 green Dinosaur creature token with trample. It gains haste until end of turn.";
|
||||
}
|
||||
|
|
@ -144,4 +141,4 @@ class WelcomeToEffect extends OneShotEffect {
|
|||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue