mirror of
https://github.com/correl/mage.git
synced 2025-03-12 17:00:08 -09:00
Add hints for some Snow-matters cards from Modern Horizons (#7513)
* Add hints for some Modern Horizons snow cards.
This commit is contained in:
parent
b2593fd818
commit
7ce36cffa8
4 changed files with 16 additions and 3 deletions
|
@ -6,6 +6,8 @@ import mage.abilities.costs.mana.ManaCostsImpl;
|
|||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
|
@ -31,6 +33,7 @@ public final class ConiferWurm extends CardImpl {
|
|||
}
|
||||
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(filter);
|
||||
private static final Hint hint = new ValueHint("Snow permanents you control", xValue);
|
||||
|
||||
public ConiferWurm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}");
|
||||
|
@ -46,7 +49,7 @@ public final class ConiferWurm extends CardImpl {
|
|||
// {3}{G}: Conifer Wurm gets +X/+X until end of turn, where X is the number of snow permanents you control.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new BoostSourceEffect(xValue, xValue, Duration.EndOfTurn), new ManaCostsImpl("{3}{G}")
|
||||
));
|
||||
).addHint(hint));
|
||||
}
|
||||
|
||||
private ConiferWurm(final ConiferWurm card) {
|
||||
|
|
|
@ -3,6 +3,8 @@ package mage.cards.d;
|
|||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
@ -29,6 +31,7 @@ public final class DeadOfWinter extends CardImpl {
|
|||
}
|
||||
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(filter2, -1);
|
||||
private static final Hint hint = new ValueHint("Snow permanents you control", xValue);
|
||||
|
||||
public DeadOfWinter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
|
||||
|
@ -39,6 +42,7 @@ public final class DeadOfWinter extends CardImpl {
|
|||
"All nonsnow creatures get -X/-X until end of turn," +
|
||||
" where X is the number of snow permanents you control.", true
|
||||
));
|
||||
this.getSpellAbility().addHint(hint);
|
||||
}
|
||||
|
||||
private DeadOfWinter(final DeadOfWinter card) {
|
||||
|
|
|
@ -8,6 +8,8 @@ import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
|
|||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.hint.ConditionHint;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.abilities.keyword.FlashAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
@ -34,6 +36,7 @@ public final class IceFangCoatl extends CardImpl {
|
|||
|
||||
private static final Condition condition
|
||||
= new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 2);
|
||||
private static final ConditionHint hint = new ConditionHint(condition, "You control at least three other snow permanents");
|
||||
|
||||
public IceFangCoatl(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}{U}");
|
||||
|
@ -57,7 +60,7 @@ public final class IceFangCoatl extends CardImpl {
|
|||
new GainAbilitySourceEffect(
|
||||
DeathtouchAbility.getInstance(), Duration.WhileOnBattlefield
|
||||
), condition, "{this} has deathtouch as long as you control at least three other snow permanents."
|
||||
)));
|
||||
)).addHint(hint));
|
||||
}
|
||||
|
||||
private IceFangCoatl(final IceFangCoatl card) {
|
||||
|
|
|
@ -9,6 +9,8 @@ import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility;
|
|||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.hint.ConditionHint;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
@ -35,6 +37,7 @@ public final class MaritLagesSlumber extends CardImpl {
|
|||
|
||||
private static final Condition condition
|
||||
= new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 9);
|
||||
private static final ConditionHint hint = new ConditionHint(condition, "You control ten or more snow permanents");
|
||||
|
||||
public MaritLagesSlumber(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{U}");
|
||||
|
@ -55,7 +58,7 @@ public final class MaritLagesSlumber extends CardImpl {
|
|||
), TargetController.YOU, false), condition, "At the beginning of your upkeep, " +
|
||||
"if you control ten or more snow permanents, sacrifice {this}. If you do, create Marit Lage, " +
|
||||
"a legendary 20/20 black Avatar creature token with flying and indestructible."
|
||||
));
|
||||
).addHint(hint));
|
||||
}
|
||||
|
||||
private MaritLagesSlumber(final MaritLagesSlumber card) {
|
||||
|
|
Loading…
Add table
Reference in a new issue