mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Updated the reminder text for Monstrosity
This commit is contained in:
@@ -73,6 +73,7 @@ import forge.gui.GuiChoose;
|
|||||||
import forge.gui.input.InputSelectCards;
|
import forge.gui.input.InputSelectCards;
|
||||||
import forge.gui.input.InputSelectCardsFromList;
|
import forge.gui.input.InputSelectCardsFromList;
|
||||||
import forge.util.Aggregates;
|
import forge.util.Aggregates;
|
||||||
|
import forge.util.Lang;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
@@ -2101,11 +2102,13 @@ public class CardFactoryUtil {
|
|||||||
card.removeIntrinsicKeyword(parse);
|
card.removeIntrinsicKeyword(parse);
|
||||||
|
|
||||||
String ref = "X".equals(magnitude) ? " | References$ X" : "";
|
String ref = "X".equals(magnitude) ? " | References$ X" : "";
|
||||||
|
String counters = StringUtils.isNumeric(magnitude)
|
||||||
|
? Lang.nounWithNumeral(Integer.parseInt(magnitude), "+1/+1 counter"): "X +1/+1 counters";
|
||||||
String effect = "AB$ PutCounter | Cost$ " + manacost + " | ConditionPresent$ " +
|
String effect = "AB$ PutCounter | Cost$ " + manacost + " | ConditionPresent$ " +
|
||||||
"Card.Self+IsNotMonstrous | Monstrosity$ True | CounterNum$ " +
|
"Card.Self+IsNotMonstrous | Monstrosity$ True | CounterNum$ " +
|
||||||
magnitude + " | CounterType$ P1P1 | SpellDescription$ Monstrosity " +
|
magnitude + " | CounterType$ P1P1 | SpellDescription$ Monstrosity " +
|
||||||
magnitude + " (If this creature isn't monstrous, put " + magnitude +
|
magnitude + " (If this creature isn't monstrous, put " +
|
||||||
" +1/+1 counters on it and it becomes monstrous.)" + ref;
|
counters + " on it and it becomes monstrous.)" + ref;
|
||||||
|
|
||||||
card.addSpellAbility(AbilityFactory.getAbility(effect, card));
|
card.addSpellAbility(AbilityFactory.getAbility(effect, card));
|
||||||
// add ability to instrinic strings so copies/clones create the ability also
|
// add ability to instrinic strings so copies/clones create the ability also
|
||||||
|
|||||||
Reference in New Issue
Block a user