Add support

This commit is contained in:
tool4EvEr
2023-11-05 12:48:54 +01:00
parent 1bd2680e77
commit 64ceedb406
4 changed files with 4 additions and 4 deletions

View File

@@ -3121,7 +3121,7 @@ public class CardFactoryUtil {
+ " | CounterType$ P1P1 | StackDescription$ SpellDescription";
if (reduceCost != null) {
effect += "| ReduceCost$ " + reduceCost;
desc += ". This ability costs {1} less to activate for each creature card in your graveyard.";
desc += ". This ability costs {1} less to activate for each " + k[4] + ".";
}
if (card.hasSVar("MonstrosityAILogic")) {

View File

@@ -54,7 +54,7 @@ public abstract class KeywordInstance<T extends KeywordInstance<?>> implements K
@Override
public String getReminderText() {
String result = formatReminderText(keyword.reminderText);
Matcher m = Pattern.compile("\\{(\\w):(.+?)\\}").matcher(result);
Matcher m = Pattern.compile("\\{(\\w+):(.+?)\\}").matcher(result);
StringBuffer sb = new StringBuffer();
while (m.find()) {

View File

@@ -3,6 +3,6 @@ ManaCost:4 G G
Types:Creature Snake
PT:5/5
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard.
K:Monstrosity:5:7 G G:X
K:Monstrosity:5:7 G G:X:creature card in your graveyard
SVar:X:Count$ValidGraveyard Creature.YouCtrl
Oracle:This spell costs {1} less to cast for each creature card in your graveyard.\n{7}{G}{G}: Monstrosity 5. This ability costs {1} less to activate for each creature card in your graveyard. (If this creature isn't monstrous, put five +1/+1 counters on it and it becomes monstrous.)

View File

@@ -2,7 +2,7 @@ Name:Grim Giganotosaurus
ManaCost:5 B G
Types:Creature Dinosaur
PT:10/10
K:Monstrosity:10:10 B G:X:Each creature with power 4 or greater your opponents control
K:Monstrosity:10:10 B G:X:creature with power 4 or greater your opponents control
SVar:X:Count$Valid Creature.OppCtrl+powerGE4
T:Mode$ BecomeMonstrous | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDestroyAll | TriggerDescription$ When CARDNAME becomes monstrous, destroy all artifacts and creatures other than CARDNAME.
SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Creature.Other,Artifact