Commit Graph

5 Commits

Author SHA1 Message Date
jendave
0f48862b18 *Added mode specific trigger parameters. They are: (Explanations in parenthesis)
AttackerBlocked = Attacker,Blocker
 AttackerUnblocked = Attacker
 Attacks = Attacker
 Blocks = Attacker,Blocker
 ChangesZone = Card(The card that was moved)
 CounterAdded = Card(The card that got the counter(s))
 Cycled = Card(The card that was cycled)
 DamageDone = Source(The card that dealt the damage),Target(The card or player who recieved the damage),DamageAmount(The amount of damage that was dealt) [BEWARE: Since Target can be both a card or a player object, you must take care to match it with your ValidTarget parameter!]
 Discarded = Card(The card that was discarded)
 Drawn = Card(The card that was drawn)
 LandPlayed = Card(The card that was played)
 LifeGained = Player(The player who gained life),LifeAmount(The amount of life that was gained)
 LifeLost = Player(The player who lost life),LifeAmount(The amount of life that was lost) 
 Phase = Player(The player whose turn it is)
 Sacrificed = Card(The card that was sacrificed)
 SpellAbilityCast = Card(The card of the spell or ability)
 Taps = Card(The card that was tapped)
 TurnFaceUp = Card(The card that was turned face up)
  Untaps = Card(The card that was untapped)
 To use a parameter, simply call it like this: "Triggered<Parameter Name>". To get the controller or owner of a card parameter, append Controller or Owner. For example: "TriggeredAttackerController".
 Parameters that don't return an integer (i.e. the ones that have "Amount" in their name) can be used for Defined$ parameters or to get additional info from, a'la "SVar:X:TriggeredBlocker$CardPower".
 Parameters that DO return an integer can only be accessed via Count$ like this: "Count$TriggeredLifeAmount".
 
 *Updated all cards that use Triggered to their new respective parameters.
2011-08-06 19:25:11 +00:00
jendave
0a453646ae *Renamed "Triggering" to "Triggered" in defined- and calculateAmount-frameworks for uniformity.
*Removed superfluous running of Blocks-triggers.
*Added the ability to specify a trigger as "Secondary" which will cause it's Description not to show up in the card's text box but still in confirmation for optional triggers. Looks alot better than splitting up the trigger description over triggers when several are needed.
*Updated to triggers
	Archon of Redemption
	Battle Strain
	Fists of Ironwood
	Freyalise's Winds
	Juniper Order Ranger
	Orchard Warden
	Sigil of the New Dawn
2011-08-06 16:04:01 +00:00
jendave
937ab07b4a Added SetInfo to card data. I-K 2011-08-06 11:38:44 +00:00
jendave
ee7521b1e7 Switched SVars from keyword to parsed in ReadCard. H-M 2011-08-06 07:46:17 +00:00
jendave
faca8f51f6 4100 plus cards converted from cards.txt(r2008) J 2011-08-06 06:33:32 +00:00