From c764da43f3d0b460f6e6588f7dfe820c494f0cd7 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 27 Jun 2015 10:23:20 +0200 Subject: [PATCH] Fixed Scaleguard Sentinels and Thunderbreak Regent swapped card numbers of Magic Game Day Cards set. --- .../mage/sets/gameday/ScaleguardSentinels.java | 15 +++++++-------- .../src/mage/sets/gameday/ThunderbreakRegent.java | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Mage.Sets/src/mage/sets/gameday/ScaleguardSentinels.java b/Mage.Sets/src/mage/sets/gameday/ScaleguardSentinels.java index 07ed157378b..5167e1c6d68 100644 --- a/Mage.Sets/src/mage/sets/gameday/ScaleguardSentinels.java +++ b/Mage.Sets/src/mage/sets/gameday/ScaleguardSentinels.java @@ -28,7 +28,6 @@ package mage.sets.gameday; import java.util.UUID; - import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldAbility; @@ -60,9 +59,9 @@ public class ScaleguardSentinels extends CardImpl { static { filter.add(new SubtypePredicate("Dragon")); } - + public ScaleguardSentinels(UUID ownerId) { - super(ownerId, 43, "Scaleguard Sentinels", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{G}{G}"); + super(ownerId, 44, "Scaleguard Sentinels", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{G}{G}"); this.expansionSetCode = "MGDC"; this.subtype.add("Human"); this.subtype.add("Soldier"); @@ -71,27 +70,27 @@ public class ScaleguardSentinels extends CardImpl { // As an additional cost to cast Scaleguard Sentinels, you may reveal a Dragon card from your hand. this.getSpellAbility().addEffect(new InfoEffect("As an additional cost to cast {this}, you may reveal a Dragon card from your hand")); - + // Scaleguard Sentinels enters the battlefield with a +1/+1 counter on it if you revealed a Dragon card or controlled a Dragon as you cast Scaleguard Sentinels. this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(), true), ScaleguardSentinelsCondition.getInstance(), true, "{this} enters the battlefield with a +1/+1 counter on it if you revealed a Dragon card or controlled a Dragon as you cast {this}", ""), new DragonOnTheBattlefieldWhileSpellWasCastWatcher()); - + } - + @Override public void adjustCosts(Ability ability, Game game) { if (ability.getAbilityType().equals(AbilityType.SPELL)) { Player controller = game.getPlayer(ability.getControllerId()); if (controller != null) { if (controller.getHand().count(filter, game) > 0) { - ability.addCost(new RevealTargetFromHandCost(new TargetCardInHand(0,1, filter))); + ability.addCost(new RevealTargetFromHandCost(new TargetCardInHand(0, 1, filter))); } } } } - + public ScaleguardSentinels(final ScaleguardSentinels card) { super(card); } diff --git a/Mage.Sets/src/mage/sets/gameday/ThunderbreakRegent.java b/Mage.Sets/src/mage/sets/gameday/ThunderbreakRegent.java index b1f1ae38133..dd73ff45471 100644 --- a/Mage.Sets/src/mage/sets/gameday/ThunderbreakRegent.java +++ b/Mage.Sets/src/mage/sets/gameday/ThunderbreakRegent.java @@ -52,7 +52,7 @@ import mage.target.targetpointer.FixedTarget; public class ThunderbreakRegent extends CardImpl { public ThunderbreakRegent(UUID ownerId) { - super(ownerId, 44, "Thunderbreak Regent", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{R}{R}"); + super(ownerId, 43, "Thunderbreak Regent", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{R}{R}"); this.expansionSetCode = "MGDC"; this.subtype.add("Dragon"); this.power = new MageInt(4); @@ -106,7 +106,7 @@ class ThunderbreakRegentTriggeredAbility extends TriggeredAbilityImpl { if (game.getOpponents(this.controllerId).contains(event.getPlayerId())) { Permanent creature = game.getPermanent(event.getTargetId()); if (creature != null && filter.match(creature, getSourceId(), getControllerId(), game)) { - for (Effect effect: this.getEffects()) { + for (Effect effect : this.getEffects()) { effect.setTargetPointer(new FixedTarget(event.getPlayerId())); } return true;