Created card script for Jon Irenicus, Shattered One.

This commit is contained in:
Xavier Morin Duchesne
2022-07-04 11:58:26 -04:00
parent d2f223dc4e
commit 2ee5755085

View File

@@ -0,0 +1,26 @@
Name:Jon Irenicus, Shattered One
ManaCost:2 U B
Types:Legendary Creature Elf Wizard
PT:3/3
Oracle:At the beginning of your end step, target opponent gains control of up to one target creature you control. Put two +1/+1 counters on it and tap it. It's goaded for the rest of the game and it gains "This creature can't be sacrificed." (It attacks each combat if able and attacks a player other than you if able.)\nWhenever a creature you own but don't control attacks, you draw a card.
#
#########################################################################################################
# At the beginning of your end step, target opponent gains control of up to one target creature you #
# control. Put two +1/+1 counters on it and tap it. It's goaded for the rest of the game and it gains #
# "This creature can't be sacrificed." #
#########################################################################################################
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBSelectRecipient | TriggerDescription$ At the beginning of your end step, target opponent gains control of up to one target creature you control (This is a test #29).
SVar:DBSelectRecipient:DB$ Pump | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBDonate
SVar:DBDonate:DB$ GainControl | ValidTgts$ Creature.YouCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target creature you control | NewController$ ParentTarget | SubAbility$ DBPutCounters | StackDescription$ Test {p:Targeted}
SVar:DBPutCounters:DB$ PutCounter | Defined$ Targeted | CounterType$ P1P1 | CounterNum$ 2 | RememberCards$ True | SubAbility$ DBTap
SVar:DBTap:DB$ Tap | Defined$ Targeted | SubAbility$ DBGoad
SVar:DBGoad:DB$ Goad | Defined$ Targeted | SubAbility$ DBDisableSacing
SVar:DBDisableSacing:DB$ Animate | Defined$ Targeted | staticAbilities$ SCantSac | Duration$ Permanent | SubAbility$ DBCleanUp
SVar:SCantSac:Mode$ CantSacrifice | ValidCard$ Card.Self | Description$ This creature cannot be sacrificed.
SVar:DBCleanUp:DB$ CleanUp | ClearRemembered$ True
#
#########################################################################################################
# Whenever a creature you own but don't control attacks, you draw a card. #
#########################################################################################################
T:Mode$ Attacks | ValidCard$ Creature.OppCtrl | ValidCard$ Creature.YouOwn | TriggerZones$ Battlefield | Execute$ DrawACard | TriggerDescription$ Whenever a creature you own but don't control attacks, you draw a card.
SVar:DrawACard:DB$ Draw | Defined$ You | NumCards$ 1