mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Fixed wrong formatted cost strings of some new cards.
This commit is contained in:
parent
2deb89bfa7
commit
975afbd62b
4 changed files with 14 additions and 15 deletions
|
|
@ -50,8 +50,8 @@ public class GovernTheGuildless extends CardImpl {
|
|||
|
||||
static {
|
||||
filter.add(new MonocoloredPredicate());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public GovernTheGuildless(UUID ownerId) {
|
||||
super(ownerId, 25, "Govern the Guildless", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{5}{U}");
|
||||
this.expansionSetCode = "DIS";
|
||||
|
|
@ -59,9 +59,9 @@ public class GovernTheGuildless extends CardImpl {
|
|||
// Gain control of target monocolored creature.
|
||||
this.getSpellAbility().addEffect(new GainControlTargetEffect(Duration.EndOfGame));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
|
||||
|
||||
// Forecast - {1}{U}, Reveal Govern the Guildless from your hand: Target creature becomes the color or colors of your choice until end of turn.
|
||||
ForecastAbility ability = new ForecastAbility(new BecomesColorTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{1U}"));
|
||||
ForecastAbility ability = new ForecastAbility(new BecomesColorTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{1}{U}"));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,12 +59,12 @@ public class PlumesOfPeace extends CardImpl {
|
|||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
|
||||
this.addAbility(new EnchantAbility(auraTarget.getTargetName()));
|
||||
|
||||
|
||||
// Enchanted creature doesn't untap during its controller's untap step.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new DontUntapInControllersUntapStepEnchantedEffect()));
|
||||
|
||||
|
||||
// Forecast - {W}{U}, Reveal Plumes of Peace from your hand: Tap target creature.
|
||||
ForecastAbility ability = new ForecastAbility(new TapTargetEffect(), new ManaCostsImpl("{WU}"));
|
||||
ForecastAbility ability = new ForecastAbility(new TapTargetEffect(), new ManaCostsImpl("{W}{U}"));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ public class SoulswornJury extends CardImpl {
|
|||
filter.add(new CardTypePredicate(CardType.CREATURE));
|
||||
}
|
||||
|
||||
|
||||
public SoulswornJury(UUID ownerId) {
|
||||
super(ownerId, 17, "Soulsworn Jury", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
this.expansionSetCode = "DIS";
|
||||
|
|
@ -65,9 +64,9 @@ public class SoulswornJury extends CardImpl {
|
|||
|
||||
// Defender
|
||||
this.addAbility(DefenderAbility.getInstance());
|
||||
|
||||
|
||||
// {1}{U}, Sacrifice Soulsworn Jury: Counter target creature spell.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new ManaCostsImpl("{1U}"));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new ManaCostsImpl("{1}{U}"));
|
||||
ability.addTarget(new TargetSpell(filter));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
this.addAbility(ability);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ import mage.players.Player;
|
|||
/**
|
||||
*
|
||||
* @author LoneFox
|
||||
|
||||
*
|
||||
*/
|
||||
public class TwilightsCall extends CardImpl {
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ class TwilightsCallEffect extends OneShotEffect {
|
|||
|
||||
public TwilightsCallEffect() {
|
||||
super(Outcome.Neutral);
|
||||
staticText = "Each player returns all creature cards from his or her graveyard to the battlefield.";
|
||||
staticText = "Each player returns all creature cards from his or her graveyard to the battlefield";
|
||||
}
|
||||
|
||||
public TwilightsCallEffect(TwilightsCallEffect copy) {
|
||||
|
|
@ -91,10 +91,10 @@ class TwilightsCallEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
for(UUID playerId: game.getState().getPlayersInRange(source.getControllerId(), game)) {
|
||||
for (UUID playerId : game.getState().getPlayersInRange(source.getControllerId(), game)) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if(player != null) {
|
||||
for(Card card: player.getGraveyard().getCards(new FilterCreatureCard(), game)) {
|
||||
if (player != null) {
|
||||
for (Card card : player.getGraveyard().getCards(new FilterCreatureCard(), game)) {
|
||||
card.putOntoBattlefield(game, Zone.GRAVEYARD, source.getSourceId(), card.getOwnerId());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue