Prototype Portal: add ExiledWithSource and add Forget Trigger

This commit is contained in:
Hanmac
2016-07-15 08:59:03 +00:00
parent e3d84cc6ff
commit 81a673fb79

View File

@@ -3,10 +3,12 @@ ManaCost:4
Types:Artifact
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigExile | TriggerDescription$ Imprint - When CARDNAME enters the battlefield, you may exile an artifact card from your hand.
SVar:TrigExile:AB$ChangeZone | Cost$ 0 | Imprint$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Artifact | ChangeNum$ 1
A:AB$CopyPermanent | Cost$ X T | Defined$ Imprinted | References$ X | SpellDescription$ Put a token that's a copy of the exiled card onto the battlefield. X is the converted mana cost of that card.
A:AB$CopyPermanent | Cost$ X T | Defined$ Imprinted.ExiledWithSource | References$ X | SpellDescription$ Put a token that's a copy of the exiled card onto the battlefield. X is the converted mana cost of that card.
SVar:X:Imprinted$CardManaCost
SVar:RemAIDeck:True
T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsImprinted+ExiledWithSource | Execute$ DBForget
SVar:DBForget:DB$ Pump | ForgetImprinted$ TriggeredCard
T:Mode$ ChangesZone | Origin$ Battlefield | ValidCard$ Card.Self | Destination$ Any | Execute$ DBCleanup | Static$ True
SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/prototype_portal.jpg
Oracle:Imprint - When Prototype Portal enters the battlefield, you may exile an artifact card from your hand.\n{X}, {T}: Put a token that's a copy of the exiled card onto the battlefield. X is the converted mana cost of that card.