Cards Text Grammar
Posted: 09 Sep 2010, 12:48
This is a list of the possibilities of the "text" line in card files:
General Grammar
General Grammar
- Code: Select all
Text:
Effects
ActivatedAbility
TriggeredAbility
ActivatedAbility:
Costs ":" Effects
TriggeredAbility:
Trigger "," Effects
Costs:
Cost
Cost "," Costs
Effects:
Effect "."
Effect Effects
- Code: Select all
Cost:
ManaSequence
"{T}"
"{Q}"
"Sacrifice ~"
Effect:
"Add" ManaSequence "to your mana pool"
"Draw a card" | "Draw" Number "cards"
"~ deals" Number "damage to all creatures"
"Destroy all creatures" ". They can't be regenerated"?
Trigger:
"When ~ enters the battlefield"
- Code: Select all
Effect:
"You gain" Number "life"
- Code: Select all
Example Regex actually used
"You" "[Yy]ou"
"you" "you"
- Code: Select all
Trigger "," Effects