Name:Contract Hero
ManaCost:2 R
Types:Creature Human Mercenary Hero
PT:2/3
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ DBToken | TriggerDescription$ When this creature enters, create a Treasure token. (It's an artifact with "{T}, Sacrifice this token: Add one mana of any color.")
SVar:DBToken:DB$ Token | TokenScript$ c_a_treasure_sac | TokenOwner$ You
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigChoice | TriggerDescription$ Whenever this creature attacks, you may sacrifice an artifact or discard a card. If you do, this creature gets +2/+0 until end of turn.
SVar:TrigChoice:DB$ GenericChoice | Choices$ DBSacToPump,DBDiscardToPump
SVar:DBSacToPump:DB$ Pump | UnlessCost$ Sac<1/Artifact> | UnlessPayer$ You | UnlessSwitched$ True | Defined$ Self | NumAtt$ +2
SVar:DBDiscardToPump:DB$ Pump | UnlessCost$ Discard<1/Card> | UnlessPayer$ You | UnlessSwitched$ True | Defined$ Self | NumAtt$ +2
SVar:HasAttackEffect:TRUE
DeckHas:Ability$Sacrifice|Graveyard|Discard|Token
DeckHints:Type$Artifact
Oracle:When this creature enters, create a Treasure token. (It's an artifact with "{T}, Sacrifice this token: Add one mana of any color.")\nWhenever this creature attacks, you may sacrifice an artifact or discard a card. If you do, this creature gets +2/+0 until end of turn.
