* Travel Preparations - Fixed tooltip text.

This commit is contained in:
LevelX2 2015-09-07 23:54:43 +02:00
parent 14a2f0489b
commit 5b36eebdde
3 changed files with 11 additions and 7 deletions

View file

@ -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

View file

@ -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));
}

View file

@ -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<CardInfo, Object> cardDao;