add Jeweled Bird (from Arabian Nights)

This commit is contained in:
slapshot5
2012-01-30 04:24:47 +00:00
parent 322a604cf6
commit 040062a3f4
3 changed files with 25 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
Name:Jeweled Bird
ManaCost:1
Types:Artifact
Text:no text
K:Remove CARDNAME from your deck before playing if you're not playing for ante.
A:AB$ ChangeZone | Cost$ T | Defined$ Self | Origin$ Battlefield | Destination$ Ante | RememberChanged$ True | SubAbility$ DBUnAnte | SpellDescription$ Put CARDNAME into the ante. If you do, put all other cards you own from the ante into your graveyard, then draw a card.
SVar:DBUnAnte:DB$ ChangeZoneAll | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | Origin$ Ante | Destination$ Graveyard | ChangeType$ Card.YouOwn+Other | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | Defined$ You | NumCards$ 1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Y:Remembered$Amount
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/jeweled_bird.jpg
End