mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Add support
This commit is contained in:
@@ -3121,7 +3121,7 @@ public class CardFactoryUtil {
|
|||||||
+ " | CounterType$ P1P1 | StackDescription$ SpellDescription";
|
+ " | CounterType$ P1P1 | StackDescription$ SpellDescription";
|
||||||
if (reduceCost != null) {
|
if (reduceCost != null) {
|
||||||
effect += "| ReduceCost$ " + reduceCost;
|
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")) {
|
if (card.hasSVar("MonstrosityAILogic")) {
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public abstract class KeywordInstance<T extends KeywordInstance<?>> implements K
|
|||||||
@Override
|
@Override
|
||||||
public String getReminderText() {
|
public String getReminderText() {
|
||||||
String result = formatReminderText(keyword.reminderText);
|
String result = formatReminderText(keyword.reminderText);
|
||||||
Matcher m = Pattern.compile("\\{(\\w):(.+?)\\}").matcher(result);
|
Matcher m = Pattern.compile("\\{(\\w+):(.+?)\\}").matcher(result);
|
||||||
|
|
||||||
StringBuffer sb = new StringBuffer();
|
StringBuffer sb = new StringBuffer();
|
||||||
while (m.find()) {
|
while (m.find()) {
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ ManaCost:4 G G
|
|||||||
Types:Creature Snake
|
Types:Creature Snake
|
||||||
PT:5/5
|
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.
|
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
|
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.)
|
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.)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Grim Giganotosaurus
|
|||||||
ManaCost:5 B G
|
ManaCost:5 B G
|
||||||
Types:Creature Dinosaur
|
Types:Creature Dinosaur
|
||||||
PT:10/10
|
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
|
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.
|
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
|
SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Creature.Other,Artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user