Files
forge/res/cardsfolder/retromancer.txt
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

11 lines
562 B
Plaintext

Name:Retromancer
ManaCost:2 R R
Types:Creature Viashino Shaman
Text:no text
PT:3/3
T:Mode$ SpellAbilityCast | TargetsValid$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME becomes the target of a spell or ability, CARDNAME deals 3 damage to that spell or ability's controller.
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Defined$ TriggeredCardController | NumDmg$ 3
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/retromancer.jpg
SetInfo:USG|Common|http://magiccards.info/scans/en/us/209.jpg
End