mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 12:49:39 -08:00
Some fixes/updates to tooltip generation (e.g. charms).
This commit is contained in:
parent
3d4bb90805
commit
03c032e3b0
9 changed files with 17 additions and 13 deletions
|
|
@ -79,7 +79,7 @@ class DevastatingSummonsCost extends CostImpl<DevastatingSummonsCost> implements
|
|||
protected int amountPaid = 0;
|
||||
|
||||
public DevastatingSummonsCost() {
|
||||
this.text = "sacrifice X lands.";
|
||||
this.text = "sacrifice X lands";
|
||||
}
|
||||
|
||||
public DevastatingSummonsCost(final DevastatingSummonsCost cost) {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public class DisasterRadius extends CardImpl<DisasterRadius> {
|
|||
this.color.setRed(true);
|
||||
|
||||
// As an additional cost to cast Disaster Radius, reveal a creature card from your hand.
|
||||
TargetCardInHand targetCard = new TargetCardInHand(new FilterCreatureCard("a creature card."));
|
||||
TargetCardInHand targetCard = new TargetCardInHand(new FilterCreatureCard("a creature card"));
|
||||
this.getSpellAbility().addCost(new RevealTargetFromHandCost(targetCard));
|
||||
|
||||
// Disaster Radius deals X damage to each creature your opponents control, where X is the revealed card's converted mana cost.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ import mage.target.common.TargetCreaturePermanent;
|
|||
*/
|
||||
public class InduceDespair extends CardImpl<InduceDespair> {
|
||||
|
||||
private static final FilterCreatureCard filter = new FilterCreatureCard("creature card from your hand.");
|
||||
private static final FilterCreatureCard filter = new FilterCreatureCard("creature card from your hand");
|
||||
|
||||
public InduceDespair(UUID ownerId) {
|
||||
super(ownerId, 114, "Induce Despair", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{B}");
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ import mage.target.common.TargetControlledPermanent;
|
|||
*/
|
||||
public class Tinker extends CardImpl<Tinker> {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("an artifact.");
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("an artifact");
|
||||
|
||||
static {
|
||||
filter.add(new CardTypePredicate(CardType.ARTIFACT));
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ class FirestormCost extends CostImpl<FirestormCost> implements VariableCost {
|
|||
protected int amountPaid = 0;
|
||||
|
||||
public FirestormCost() {
|
||||
this.text = "discard X cards.";
|
||||
this.text = "discard X cards";
|
||||
}
|
||||
|
||||
public FirestormCost(final FirestormCost cost) {
|
||||
|
|
|
|||
|
|
@ -141,6 +141,6 @@ class CobraTrapAlternativeCost extends AlternativeCostImpl<CobraTrapAlternativeC
|
|||
|
||||
@Override
|
||||
public String getText() {
|
||||
return "If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay Cobra Trap's mana cost.";
|
||||
return "If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay Cobra Trap's mana cost";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue