From 5b36eebdde2ede3884621bf37c450365f9b57f57 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 7 Sep 2015 23:54:43 +0200 Subject: [PATCH] * Travel Preparations - Fixed tooltip text. --- Mage.Common/src/mage/view/GameView.java | 3 ++- .../src/mage/sets/innistrad/TravelPreparations.java | 13 ++++++++----- Mage/src/mage/cards/repository/CardRepository.java | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Mage.Common/src/mage/view/GameView.java b/Mage.Common/src/mage/view/GameView.java index 9e4f6a457d..e15827f6e7 100644 --- a/Mage.Common/src/mage/view/GameView.java +++ b/Mage.Common/src/mage/view/GameView.java @@ -143,7 +143,8 @@ public class GameView implements Serializable { } } } else { - logger.error("Stack Object for stack ability not found: " + stackObject.getStackAbility().getRule()); + // can happen if a player times out while ability is on the stack + logger.debug("Stack Object for stack ability not found: " + stackObject.getStackAbility().getRule()); } } else { // Spell diff --git a/Mage.Sets/src/mage/sets/innistrad/TravelPreparations.java b/Mage.Sets/src/mage/sets/innistrad/TravelPreparations.java index d34f3ea38d..24bb9763d6 100644 --- a/Mage.Sets/src/mage/sets/innistrad/TravelPreparations.java +++ b/Mage.Sets/src/mage/sets/innistrad/TravelPreparations.java @@ -28,13 +28,14 @@ package mage.sets.innistrad; import java.util.UUID; -import mage.constants.CardType; -import mage.constants.Rarity; -import mage.constants.TimingRule; import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.Effect; import mage.abilities.effects.common.counter.AddCountersTargetEffect; import mage.abilities.keyword.FlashbackAbility; import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; +import mage.constants.TimingRule; import mage.counters.CounterType; import mage.target.common.TargetCreaturePermanent; @@ -48,10 +49,12 @@ public class TravelPreparations extends CardImpl { super(ownerId, 206, "Travel Preparations", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{1}{G}"); this.expansionSetCode = "ISD"; - // Put a +1/+1 counter on each of up to two target creatures. - this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance())); + Effect effect = new AddCountersTargetEffect(CounterType.P1P1.createInstance()); + effect.setText("Put a +1/+1 counter on each of up to two target creatures"); + this.getSpellAbility().addEffect(effect); this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2)); + // Flashback {1}{W} this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{W}"), TimingRule.SORCERY)); } diff --git a/Mage/src/mage/cards/repository/CardRepository.java b/Mage/src/mage/cards/repository/CardRepository.java index 115c36f928..f7a2478a81 100644 --- a/Mage/src/mage/cards/repository/CardRepository.java +++ b/Mage/src/mage/cards/repository/CardRepository.java @@ -63,7 +63,7 @@ public enum CardRepository { // raise this if db structure was changed private static final long CARD_DB_VERSION = 41; // raise this if new cards were added to the server - private static final long CARD_CONTENT_VERSION = 34; + private static final long CARD_CONTENT_VERSION = 35; private final Random random = new Random(); private Dao cardDao;