Merge branch 'card_fixes' into 'master'

GRN fixes

See merge request core-developers/forge!930
This commit is contained in:
Michael Kamensky
2018-09-21 04:14:08 +00:00
3 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
Name:Gateway Plaza Name:Gateway Plaza
ManaCost:
Types:Land Gate Types:Land Gate
K:CARDNAME enters the battlefield tapped. K:CARDNAME enters the battlefield tapped.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you pay {1}. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you pay {1}.

View File

@@ -3,7 +3,7 @@ ManaCost:1 G W
Types:Creature Dryad Knight Types:Creature Dryad Knight
PT:2/1 PT:2/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY
SVar:TrigCharm:DB$ Charm | Cost$ 1 R W | Choices$ DBPump,DBDestroy,DBGainLife SVar:TrigCharm:DB$ Charm | Choices$ DBPump,DBDestroy,DBGainLife
SVar:DBPump:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 2 | SpellDescription$ Put two +1/+1 counters on CARDNAME. SVar:DBPump:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 2 | SpellDescription$ Put two +1/+1 counters on CARDNAME.
SVar:DBDestroy:DB$ Destroy | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy target artifact or enchantment. SVar:DBDestroy:DB$ Destroy | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy target artifact or enchantment.
SVar:DBGainLife:DB$ GainLife | LifeAmount$ 4 | SpellDescription$ You gain 4 life. SVar:DBGainLife:DB$ GainLife | LifeAmount$ 4 | SpellDescription$ You gain 4 life.

View File

@@ -42,6 +42,10 @@ def initializeEditions():
settype = line.split("=")[1].rstrip() settype = line.split("=")[1].rstrip()
else: else:
if line.startswith("[tokens]"):
metadata = True
continue
if line: if line:
hasSetNumbers = line.split(" ", 1)[0].isdigit() hasSetNumbers = line.split(" ", 1)[0].isdigit()