Added some tooltips to user table headers. History is shown in tournament player table now. Changed ratio column to numberic format.

This commit is contained in:
LevelX2 2016-02-06 21:22:51 +01:00
parent 82fed1ed87
commit 687ab7ec6b
18 changed files with 239 additions and 89 deletions

View file

@ -55,12 +55,12 @@ import mage.game.permanent.token.Token;
*/
public class WardenOfTheFirstTree extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
private static final FilterCreaturePermanent filter2 = new FilterCreaturePermanent();
private static final FilterCreaturePermanent FILTER = new FilterCreaturePermanent();
private static final FilterCreaturePermanent FILTER2 = new FilterCreaturePermanent();
static {
filter.add(new SubtypePredicate("Warrior"));
filter2.add(new SubtypePredicate("Spirit"));
FILTER.add(new SubtypePredicate("Warrior"));
FILTER2.add(new SubtypePredicate("Spirit"));
}
public WardenOfTheFirstTree(UUID ownerId) {
@ -80,21 +80,21 @@ public class WardenOfTheFirstTree extends CardImpl {
this.addAbility(new SimpleActivatedAbility(
Zone.BATTLEFIELD,
new ConditionalContinuousEffect(
new BecomesCreatureSourceEffect(new WardenOfTheFirstTree2(), "", Duration.Custom),
new LockedInCondition(new SourceMatchesFilterCondition(filter)),
"If {this} is a Warrior, it becomes a Human Spirit Warrior with trample and lifelink"),
new BecomesCreatureSourceEffect(new WardenOfTheFirstTree2(), "", Duration.Custom),
new LockedInCondition(new SourceMatchesFilterCondition(FILTER)),
"If {this} is a Warrior, it becomes a Human Spirit Warrior with trample and lifelink"),
new ManaCostsImpl("{2}{W/B}{W/B}")
));
));
// {3}{W/B}{W/B}{W/B}: If Warden of the First Tree is a Spirit, put five +1/+1 counters on it.
this.addAbility(new SimpleActivatedAbility(
Zone.BATTLEFIELD,
new ConditionalOneShotEffect(
new AddCountersSourceEffect(CounterType.P1P1.createInstance(5)),
new SourceMatchesFilterCondition(filter2),
"If {this} is a Spirit, put five +1/+1 counters on it"),
new AddCountersSourceEffect(CounterType.P1P1.createInstance(5)),
new SourceMatchesFilterCondition(FILTER2),
"If {this} is a Spirit, put five +1/+1 counters on it"),
new ManaCostsImpl("{3}{W/B}{W/B}{W/B}")
));
));
}
public WardenOfTheFirstTree(final WardenOfTheFirstTree card) {

View file

@ -44,10 +44,10 @@ import mage.target.common.TargetCardInGraveyard;
*/
public class PulseOfMurasa extends CardImpl {
private static final FilterCard filter = new FilterCard("creature or land card in a graveyard");
private static final FilterCard FILTER = new FilterCard("creature or land card in a graveyard");
static {
filter.add(Predicates.or(
FILTER.add(Predicates.or(
new CardTypePredicate(CardType.CREATURE),
new CardTypePredicate(CardType.LAND)));
}
@ -58,9 +58,9 @@ public class PulseOfMurasa extends CardImpl {
// Return target creature or land card from a graveyard to its owner's hand.
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
this.getSpellAbility().addTarget(new TargetCardInGraveyard(filter));
this.getSpellAbility().addTarget(new TargetCardInGraveyard(FILTER));
// You gain 6 life.
getSpellAbility().addEffect(new GainLifeEffect(6));
this.getSpellAbility().addEffect(new GainLifeEffect(6));
}
public PulseOfMurasa(final PulseOfMurasa card) {