Re-implement skip turn using replacement effect

This commit is contained in:
Alumi
2021-03-14 04:53:55 +00:00
committed by Michael Kamensky
parent 84aaccc3da
commit c5ad28a65e
11 changed files with 101 additions and 52 deletions

View File

@@ -2,7 +2,7 @@ Name:Stranglehold
ManaCost:3 R
Types:Enchantment
S:Mode$ Continuous | Affected$ Opponent | AddKeyword$ CantSearchLibrary | Description$ Your opponents can't search libraries.
S:Mode$ Continuous | Affected$ Opponent | AddKeyword$ If you would begin an extra turn, skip that turn instead. | Description$ If an opponent would begin an extra turn, that player skips that turn instead.
R:Event$ BeginTurn | ActiveZones$ Battlefield | ValidPlayer$ Opponent | ExtraTurn$ True | Skip$ True | Description$ If an opponent would begin an extra turn, that player skips that turn instead.
SVar:NonStackingEffect:True
AI:RemoveDeck:Random
SVar:Picture:http://www.wizards.com/global/images/magic/general/stranglehold.jpg
Oracle:Your opponents can't search libraries.\nIf an opponent would begin an extra turn, that player skips that turn instead.

View File

@@ -1,11 +1,11 @@
Name:Time Vault
ManaCost:2
Types:Artifact
Text:If you would begin your turn while CARDNAME is tapped, you may skip that turn instead. If you do, untap CARDNAME.
K:CARDNAME doesn't untap during your untap step.
K:CARDNAME enters the battlefield tapped.
K:CARDNAME doesn't untap during your untap step.
R:Event$ BeginTurn | ActiveZones$ Battlefield | ValidPlayer$ You | IsPresent$ Card.Self+tapped | Optional$ True | ReplaceWith$ DBUntap | Description$ If you would begin your turn while CARDNAME is tapped, you may skip that turn instead. If you do, untap CARDNAME.
SVar:DBUntap:DB$ Untap | Defined$ Self | AILogic$ Never
A:AB$ AddTurn | Cost$ T | NumTurns$ 1 | SpellDescription$ Take an extra turn after this one.
SVar:PlayMain1:ALWAYS
AI:RemoveDeck:Random
SVar:Picture:http://www.wizards.com/global/images/magic/general/time_vault.jpg
Oracle:Time Vault enters the battlefield tapped.\nTime Vault doesn't untap during your untap step.\nIf you would begin your turn while Time Vault is tapped, you may skip that turn instead. If you do, untap Time Vault.\n{T}: Take an extra turn after this one.

View File

@@ -1,11 +1,10 @@
Name:Ugin's Nexus
ManaCost:5
Types:Legendary Artifact
S:Mode$ Continuous | Affected$ Player | AddKeyword$ If you would begin an extra turn, skip that turn instead. | Description$ If a player would begin an extra turn, that player skips that turn instead.
R:Event$ BeginTurn | ActiveZones$ Battlefield | ExtraTurn$ True | Skip$ True | Description$ If a player would begin an extra turn, that player skips that turn instead.
R:Event$ Moved | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | ReplaceWith$ DBExile | Description$ If CARDNAME would be put into a graveyard from the battlefield, instead exile it and take an extra turn after this one.
SVar:DBExile:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ Battlefield | Destination$ Exile | SubAbility$ DBAddTurn
SVar:DBAddTurn:DB$ AddTurn | Defined$ ReplacedCardLKIController | NumTurns$ 1
AI:RemoveDeck:Random
SVar:SacMe:5
SVar:Picture:http://www.wizards.com/global/images/magic/general/ugins_nexus.jpg
Oracle:If a player would begin an extra turn, that player skips that turn instead.\nIf Ugin's Nexus would be put into a graveyard from the battlefield, instead exile it and take an extra turn after this one.