Greatest power among creatures - added card hints in all related cards

This commit is contained in:
Oleg Agafonov 2025-02-07 20:09:48 +04:00
parent fbc206acda
commit 7caa44a5c7
16 changed files with 24 additions and 13 deletions

View file

@ -62,6 +62,7 @@ public final class ArniSlaysTheTroll extends CardImpl {
"You gain life equal to the greatest power among creatures you control"
)
);
sagaAbility.addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
this.addAbility(sagaAbility);
}

View file

@ -38,7 +38,7 @@ public final class BighornerRancher extends CardImpl {
this.addAbility(new DynamicManaAbility(
Mana.GreenMana(1), GreatestPowerAmongControlledCreaturesValue.instance, new TapSourceCost(),
"Add an amount of {G} equal to the greatest power among creatures you control."
));
).addHint(GreatestPowerAmongControlledCreaturesValue.getHint()));
// Sacrifice Bighorner Rancher: You gain life equal to the greatest toughness among other creatures you control.
this.addAbility(new SimpleActivatedAbility(

View file

@ -18,8 +18,9 @@ public final class FungalSprouting extends CardImpl {
public FungalSprouting(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}");
// create X 1/1 green Saproling creature tokens, where X is the greatest power among creatures you control.
// Create X 1/1 green Saproling creature tokens, where X is the greatest power among creatures you control.
this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), GreatestPowerAmongControlledCreaturesValue.instance));
this.getSpellAbility().addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
}
private FungalSprouting(final FungalSprouting card) {

View file

@ -38,7 +38,7 @@ public final class HuatliWarriorPoet extends CardImpl {
this.addAbility(new LoyaltyAbility(new GainLifeEffect(
GreatestPowerAmongControlledCreaturesValue.instance,
"You gain life equal to the greatest power among creatures you control"
), 2));
), 2).addHint(GreatestPowerAmongControlledCreaturesValue.getHint()));
// 0: Create a 3/3 green Dinosaur creature token with trample.
this.addAbility(new LoyaltyAbility(new CreateTokenEffect(new DinosaurToken()), 0));

View file

@ -56,6 +56,7 @@ public class LukkaBoundToRuin extends CardImpl {
"where X is the greatest power among creatures you control as you activate this ability.");
ability = new LoyaltyAbility(damageMultiEffect, -4);
ability.setTargetAdjuster(LukkaBoundToRuinAdjuster.instance);
ability.addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
this.addAbility(ability);
}

View file

@ -26,6 +26,7 @@ public final class MonstrousOnslaught extends CardImpl {
effect.setText("{this} deals X damage divided as you choose among any number of target creatures, where X is the greatest power among creatures you control as you cast this spell");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(xValue));
this.getSpellAbility().addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
}
private MonstrousOnslaught(final MonstrousOnslaught card) {

View file

@ -63,7 +63,7 @@ public final class OrcishSiegemaster extends CardImpl {
GreatestPowerAmongControlledCreaturesValue.instance,
StaticValue.get(0), Duration.EndOfTurn, "it"
)
));
).addHint(GreatestPowerAmongControlledCreaturesValue.getHint()));
}
private OrcishSiegemaster(final OrcishSiegemaster card) {

View file

@ -36,7 +36,7 @@ public final class PeemaAetherSeer extends CardImpl {
// When Peema Aether-Seer enters the battlefield, you get an amount of {E} equal to the greatest power among creatures you control.
Effect effect = new GetEnergyCountersControllerEffect(GreatestPowerAmongControlledCreaturesValue.instance);
effect.setText("you get an amount of {E} equal to the greatest power among creatures you control");
this.addAbility(new EntersBattlefieldTriggeredAbility(effect));
this.addAbility(new EntersBattlefieldTriggeredAbility(effect).addHint(GreatestPowerAmongControlledCreaturesValue.getHint()));
// Pay {E}{E}{E}: Target creature blocks this turn if able.
Ability ability = new SimpleActivatedAbility(new BlocksIfAbleTargetEffect(Duration.EndOfTurn), new PayEnergyCost(3));

View file

@ -1,6 +1,5 @@
package mage.cards.p;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
@ -11,15 +10,16 @@ import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
import mage.abilities.keyword.ExhaustAbility;
import mage.constants.SubType;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import java.util.UUID;
/**
*
* @author sobiech
*/
public final class PeemaTrailblazer extends CardImpl {
@ -37,12 +37,14 @@ public final class PeemaTrailblazer extends CardImpl {
// Whenever this creature deals combat damage to a player, you get that many {E}.
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new GetEnergyCountersControllerEffect(SavedDamageValue.MANY)));
// Exhaust -- Pay six {E}: Put two +1/+1 counters on this creature. Then draw cards equal to the greatest power among creatures you control.
final Ability peemaTrailblazerAbility = new ExhaustAbility(
final Ability ability = new ExhaustAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), new PayEnergyCost(6)
);
peemaTrailblazerAbility.addEffect(new DrawCardSourceControllerEffect(GreatestPowerAmongControlledCreaturesValue.instance));
this.addAbility(peemaTrailblazerAbility);
ability.addEffect(new DrawCardSourceControllerEffect(GreatestPowerAmongControlledCreaturesValue.instance));
ability.addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
this.addAbility(ability);
}

View file

@ -34,6 +34,7 @@ public final class RepulsiveMutation extends CardImpl {
.setTargetPointer(new SecondTargetPointer())
.setText("Then counter up to one target spell unless its controller pays mana equal to the greatest power among creatures you control."));
getSpellAbility().addTarget(new TargetSpell(0, 1, StaticFilters.FILTER_SPELL));
getSpellAbility().addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
}
private RepulsiveMutation(final RepulsiveMutation card) {

View file

@ -31,6 +31,7 @@ public final class RishkarsExpertise extends CardImpl {
Effect effect = new DrawCardSourceControllerEffect(GreatestPowerAmongControlledCreaturesValue.instance);
effect.setText("Draw cards equal to the greatest power among creatures you control");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
// You may cast a card with converted mana cost 5 or less from your hand without paying its mana cost.
this.getSpellAbility().addEffect(new CastFromHandForFreeEffect(filter).concatBy("<br>"));

View file

@ -34,7 +34,7 @@ public final class RubblebeltRioters extends CardImpl {
this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(
GreatestPowerAmongControlledCreaturesValue.instance, StaticValue.get(0),
Duration.EndOfTurn
), false));
), false).addHint(GreatestPowerAmongControlledCreaturesValue.getHint()));
}
private RubblebeltRioters(final RubblebeltRioters card) {

View file

@ -56,6 +56,7 @@ public final class SeasonOfGathering extends CardImpl {
.setText("Draw cards equal to the greatest power among creatures you control.")
);
this.getSpellAbility().addMode(mode3.withPawPrintValue(3));
this.getSpellAbility().addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
}
private SeasonOfGathering(final SeasonOfGathering card) {

View file

@ -45,6 +45,7 @@ public final class SelvalaHeartOfTheWilds extends CardImpl {
ColoredManaSymbol.W, ColoredManaSymbol.U, ColoredManaSymbol.B, ColoredManaSymbol.R, ColoredManaSymbol.G);
Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, manaEffect, new ManaCostsImpl<>("{G}"));
ability.addCost(new TapSourceCost());
ability.addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
this.addAbility(ability);
}

View file

@ -58,7 +58,7 @@ public final class TyvarThePummeler extends CardImpl {
this.addAbility(new SimpleActivatedAbility(new BoostControlledEffect(
GreatestPowerAmongControlledCreaturesValue.instance,
GreatestPowerAmongControlledCreaturesValue.instance, Duration.EndOfTurn
), new ManaCostsImpl<>("{3}{G}{G}")));
), new ManaCostsImpl<>("{3}{G}{G}")).addHint(GreatestPowerAmongControlledCreaturesValue.getHint()));
}
private TyvarThePummeler(final TyvarThePummeler card) {

View file

@ -38,6 +38,7 @@ public final class WyllsReversal extends CardImpl {
// 15+ | You may choose new targets for that spell or ability. Then copy it. You may choose new targets for the copy.
this.getSpellAbility().addEffect(new WyllsReversalEffect());
this.getSpellAbility().addTarget(new TargetStackObject());
this.getSpellAbility().addHint(GreatestPowerAmongControlledCreaturesValue.getHint());
}
private WyllsReversal(final WyllsReversal card) {