Merge branch 'cloneEffectUpdate' into 'master'

Clone effect update

Closes #610

See merge request core-developers/forge!791
This commit is contained in:
Michael Kamensky
2018-07-22 09:57:58 +00:00
21 changed files with 50 additions and 62 deletions

View File

@@ -64,11 +64,15 @@ public class CloneEffect extends SpellAbilityEffect {
Card cardToCopy = null; Card cardToCopy = null;
if (sa.hasParam("Choices")) { if (sa.hasParam("Choices")) {
CardCollectionView choices = game.getCardsIn(ZoneType.Battlefield); ZoneType choiceZone = ZoneType.Battlefield;
if (sa.hasParam("ChoiceZone")) {
choiceZone = ZoneType.smartValueOf(sa.getParam("ChoiceZone"));
}
CardCollectionView choices = game.getCardsIn(choiceZone);
choices = CardLists.getValidCards(choices, sa.getParam("Choices"), activator, host); choices = CardLists.getValidCards(choices, sa.getParam("Choices"), activator, host);
String title = sa.hasParam("ChoiceTitle") ? sa.getParam("ChoiceTitle") : "Choose a card "; String title = sa.hasParam("ChoiceTitle") ? sa.getParam("ChoiceTitle") : "Choose a card ";
cardToCopy = activator.getController().chooseSingleEntityForEffect(choices, sa, title, true); cardToCopy = activator.getController().chooseSingleEntityForEffect(choices, sa, title, false);
} else if (sa.hasParam("Defined")) { } else if (sa.hasParam("Defined")) {
List<Card> cloneSources = AbilityUtils.getDefinedCards(host, sa.getParam("Defined"), sa); List<Card> cloneSources = AbilityUtils.getDefinedCards(host, sa.getParam("Defined"), sa);
if (!cloneSources.isEmpty()) { if (!cloneSources.isEmpty()) {

View File

@@ -3,10 +3,10 @@ ManaCost:X 2 G U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:CARDNAME can't be countered. K:CARDNAME can't be countered.
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it enters with X additional +1/+1 counters on it. SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | SubAbility$ DBAddCounter | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it enters with X additional +1/+1 counters on it.
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard | SubAbility$ DBAddCounter
SVar:DBAddCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | ETB$ True | CounterNum$ X | References$ X SVar:DBAddCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | ETB$ True | CounterNum$ X | References$ X
SVar:X:Count$xPaid SVar:X:Count$xPaid
DeckHas:Ability$Counter
SVar:Picture:http://www.wizards.com/global/images/magic/general/altered_ego.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/altered_ego.jpg
Oracle:This spell can't be countered.\nYou may have Altered Ego enter the battlefield as a copy of any creature on the battlefield, except it enters with X additional +1/+1 counters on it. Oracle:This spell can't be countered.\nYou may have Altered Ego enter the battlefield as a copy of any creature on the battlefield, except it enters with X additional +1/+1 counters on it.

View File

@@ -2,8 +2,7 @@ Name:Body Double
ManaCost:4 U ManaCost:4 U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature | ChoiceZone$ Graveyard | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ AtLeast1 | SpellDescription$ You may have Body Double enter the battlefield as a copy of any creature card in a graveyard. SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | ChoiceZone$ Graveyard | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any artifact on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:Picture:http://www.wizards.com/global/images/magic/general/body_double.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/body_double.jpg
Oracle:You may have Body Double enter the battlefield as a copy of any creature card in a graveyard. Oracle:You may have Body Double enter the battlefield as a copy of any creature card in a graveyard.

View File

@@ -2,8 +2,7 @@ Name:Clever Impersonator
ManaCost:2 U U ManaCost:2 U U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChoosePermanent:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChoosePermanent:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Permanent.nonLand+Other | SubAbility$ DBCopy | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any nonland permanent on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Permanent.nonLand+Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any nonland permanent on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard
SVar:Picture:http://www.wizards.com/global/images/magic/general/clever_impersonator.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/clever_impersonator.jpg
Oracle:You may have Clever Impersonator enter the battlefield as a copy of any nonland permanent on the battlefield. Oracle:You may have Clever Impersonator enter the battlefield as a copy of any nonland permanent on the battlefield.

View File

@@ -2,8 +2,7 @@ Name:Clone
ManaCost:3 U ManaCost:3 U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:Picture:http://www.wizards.com/global/images/magic/general/clone.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/clone.jpg
Oracle:You may have Clone enter the battlefield as a copy of any creature on the battlefield. Oracle:You may have Clone enter the battlefield as a copy of any creature on the battlefield.

View File

@@ -1,8 +1,7 @@
Name:Copy Artifact Name:Copy Artifact
ManaCost:1 U ManaCost:1 U
Types:Enchantment Types:Enchantment
K:ETBReplacement:Copy:ChooseArtifact:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseArtifact:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Artifact.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any artifact on the battlefield, except it's an enchantment in addition to its other types. SVar:DBCopy:DB$ Clone | Choices$ Artifact.Other | AddTypes$ Enchantment | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any artifact on the battlefield, except it's an enchantment in addition to its other types.
SVar:DBCopy:DB$ Clone | Defined$ Remembered | AddTypes$ Enchantment
SVar:Picture:http://www.wizards.com/global/images/magic/general/copy_artifact.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/copy_artifact.jpg
Oracle:You may have Copy Artifact enter the battlefield as a copy of any artifact on the battlefield, except it's an enchantment in addition to its other types. Oracle:You may have Copy Artifact enter the battlefield as a copy of any artifact on the battlefield, except it's an enchantment in addition to its other types.

View File

@@ -1,9 +1,8 @@
Name:Copy Enchantment Name:Copy Enchantment
ManaCost:2 U ManaCost:2 U
Types:Enchantment Types:Enchantment
K:ETBReplacement:Copy:ChooseEnchantment:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseEnchantment:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Enchantment.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any enchantment on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Enchantment.Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any enchantment on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/copy_enchantment.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/copy_enchantment.jpg
Oracle:You may have Copy Enchantment enter the battlefield as a copy of any enchantment on the battlefield. Oracle:You may have Copy Enchantment enter the battlefield as a copy of any enchantment on the battlefield.

View File

@@ -2,8 +2,7 @@ Name:Dack's Duplicate
ManaCost:2 U R ManaCost:2 U R
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | AILogic$ AtLeast1 | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield except it gains haste and dethrone. (Whenever it attacks the player with the most life or tied for most life, put a +1/+1 counter on it.) SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddKeywords$ Haste & Dethrone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield except it gains haste and dethrone. (Whenever it attacks the player with the most life or tied for most life, put a +1/+1 counter on it.)
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard | AddKeywords$ Haste & Dethrone
SVar:Picture:http://www.wizards.com/global/images/magic/general/dacks_duplicate.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/dacks_duplicate.jpg
Oracle:You may have Dack's Duplicate enter the battlefield as a copy of any creature on the battlefield except it gains haste and dethrone. (Whenever it attacks the player with the most life or tied for most life, put a +1/+1 counter on it.) Oracle:You may have Dack's Duplicate enter the battlefield as a copy of any creature on the battlefield except it gains haste and dethrone. (Whenever it attacks the player with the most life or tied for most life, put a +1/+1 counter on it.)

View File

@@ -2,9 +2,8 @@ Name:Jwari Shapeshifter
ManaCost:1 U ManaCost:1 U
Types:Creature Shapeshifter Ally Types:Creature Shapeshifter Ally
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Ally+Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any Ally creature on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Creature.Ally+Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any Ally creature on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/jwari_shapeshifter.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/jwari_shapeshifter.jpg
Oracle:You may have Jwari Shapeshifter enter the battlefield as a copy of any Ally creature on the battlefield. Oracle:You may have Jwari Shapeshifter enter the battlefield as a copy of any Ally creature on the battlefield.

View File

@@ -1,8 +1,7 @@
Name:Masterwork of Ingenuity Name:Masterwork of Ingenuity
ManaCost:1 ManaCost:1
Types:Artifact Equipment Types:Artifact Equipment
K:ETBReplacement:Copy:ChooseEquipment:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseEquipment:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Equipment.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any Equipment on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Equipment.Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any Equipment on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:Picture:http://www.wizards.com/global/images/magic/general/masterwork_of_ingenuity.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/masterwork_of_ingenuity.jpg
Oracle:You may have Masterwork of Ingenuity enter the battlefield as a copy of any Equipment on the battlefield. Oracle:You may have Masterwork of Ingenuity enter the battlefield as a copy of any Equipment on the battlefield.

View File

@@ -2,9 +2,8 @@ Name:Mercurial Pretender
ManaCost:4 U ManaCost:4 U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.YouCtrl+Other | SubAbility$ DBCopy | AILogic$ AtLeast1 | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature you control except it gains "{2}{U}{U}: Return this creature to its owner's hand." SVar:DBCopy:DB$ Clone | Choices$ Creature.YouCtrl+Other | AddAbilities$ MercurialBounce | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature you control except it gains "{2}{U}{U}: Return this creature to its owner's hand."
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard | AddAbilities$ MercurialBounce
SVar:MercurialBounce:AB$ ChangeZone | Cost$ 2 U U | Defined$ Self | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return CARDNAME to its owner's hand. SVar:MercurialBounce:AB$ ChangeZone | Cost$ 2 U U | Defined$ Self | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return CARDNAME to its owner's hand.
SVar:Picture:http://www.wizards.com/global/images/magic/general/mercurial_pretender.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/mercurial_pretender.jpg
Oracle:You may have Mercurial Pretender enter the battlefield as a copy of any creature you control except it gains "{2}{U}{U}: Return this creature to its owner's hand." Oracle:You may have Mercurial Pretender enter the battlefield as a copy of any creature you control except it gains "{2}{U}{U}: Return this creature to its owner's hand."

View File

@@ -3,6 +3,9 @@ ManaCost:1 U
Types:Enchantment Aura Types:Enchantment Aura
K:Enchant creature K:Enchant creature
A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ DBClone | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature. K:ETBReplacement:Other:ChooseCreature
SVar:DBClone:DB$ Clone | Defined$ ChosenCard | CloneTarget$ Enchanted | Choices$ Creature | Duration$ UntilUnattached SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SpellDescription$ As CARDNAME enters the battlefield, choose a creature.
T:Mode$ ChangesZone | ValidCard$ Card.Self | Static$ True | Origin$ Any | Destination$ Battlefield | Execute$ DBClone | TriggerDescription$ Enchanted creature is a copy of the chosen creature.
SVar:DBClone:DB$ Clone | Defined$ ChosenCard | CloneTarget$ Enchanted | Duration$ UntilUnattached | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
Oracle:Enchant creature\nAs Metamorphic Alteration enters the battlefield, choose a creature.\nEnchanted creature is a copy of the chosen creature. Oracle:Enchant creature\nAs Metamorphic Alteration enters the battlefield, choose a creature.\nEnchanted creature is a copy of the chosen creature.

View File

@@ -1,10 +1,8 @@
Name:Mirror Image Name:Mirror Image
ManaCost:2 U ManaCost:2 U
Types:Creature Shapeshifter Types:Creature Shapeshifter
R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | Optional$ True | ReplaceWith$ ChooseCreature | Description$ You may have CARDNAME enter the battlefield as a copy of any creature you control. PT:0/0
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.YouCtrl | SubAbility$ DBCopy | AILogic$ Clone K:ETBReplacement:Copy:DBCopy:Optional
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard | SubAbility$ DBChangeZone SVar:DBCopy:DB$ Clone | Choices$ Creature.YouCtrl | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature you control.
SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
SVar:NeedsToPlay:Creature.YouCtrl SVar:NeedsToPlay:Creature.YouCtrl
Oracle:You may have Mirror Image enter the battlefield as a copy of any creature you control. Oracle:You may have Mirror Image enter the battlefield as a copy of any creature you control.
PT:0/0

View File

@@ -3,9 +3,8 @@ ManaCost:1 U
Types:Creature Illusion Types:Creature Illusion
PT:0/0 PT:0/0
# Make Svars for granting abilities and triggers on clones distinct to avoid SVars getting overwritten when cloning a clone # Make Svars for granting abilities and triggers on clones distinct to avoid SVars getting overwritten when cloning a clone
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ AtLeast1 | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it's an Illusion in addition to its other types and it gains "When this creature becomes the target of a spell or ability, sacrifice it." SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddTypes$ Illusion | AddTriggers$ PhantasmalImageTgtTrig | AddSVars$ PhantasmalImageSac,Targeting | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it's an Illusion in addition to its other types and it gains "When this creature becomes the target of a spell or ability, sacrifice it."
SVar:DBCopy:DB$ Clone | Defined$ Remembered | AddTypes$ Illusion | AddTriggers$ PhantasmalImageTgtTrig | AddSVars$ PhantasmalImageSac,Targeting
SVar:PhantasmalImageTgtTrig:Mode$ BecomesTarget | ValidTarget$ Card.Self | Execute$ PhantasmalImageSac | TriggerDescription$ When this creature becomes the target of a spell or ability, sacrifice it. SVar:PhantasmalImageTgtTrig:Mode$ BecomesTarget | ValidTarget$ Card.Self | Execute$ PhantasmalImageSac | TriggerDescription$ When this creature becomes the target of a spell or ability, sacrifice it.
SVar:PhantasmalImageSac:DB$Sacrifice | Defined$ Self SVar:PhantasmalImageSac:DB$Sacrifice | Defined$ Self
SVar:Targeting:Dies SVar:Targeting:Dies

View File

@@ -2,9 +2,8 @@ Name:Progenitor Mimic
ManaCost:4 G U ManaCost:4 G U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | SpellDescription$ You may have Progenitor Mimic enter the battlefield as a copy of any creature on the battlefield, except it gains "At the beginning of your upkeep, if this creature isn't a token, create a token that's a copy of this creature." SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddTriggers$ ProgenitorTrig | AddSVars$ ProgenitorCopy,ProgenitorTrig | SpellDescription$ You may have Progenitor Mimic enter the battlefield as a copy of any creature on the battlefield, except it gains "At the beginning of your upkeep, if this creature isn't a token, create a token that's a copy of this creature."
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard | AddTriggers$ ProgenitorTrig | AddSVars$ ProgenitorCopy,ProgenitorTrig
SVar:ProgenitorTrig:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ ProgenitorCopy | IsPresent$ Card.Self+nonToken | TriggerDescription$ At the beginning of your upkeep, if CARDNAME isn't a token, create a token that's a copy of CARDNAME." SVar:ProgenitorTrig:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ ProgenitorCopy | IsPresent$ Card.Self+nonToken | TriggerDescription$ At the beginning of your upkeep, if CARDNAME isn't a token, create a token that's a copy of CARDNAME."
SVar:ProgenitorCopy:DB$ CopyPermanent | Defined$ Self | NumCopies$ 1 SVar:ProgenitorCopy:DB$ CopyPermanent | Defined$ Self | NumCopies$ 1
SVar:NeedsToPlay:Creature.inZoneBattlefield SVar:NeedsToPlay:Creature.inZoneBattlefield

View File

@@ -2,9 +2,8 @@ Name:Protean Raider
ManaCost:1 U R ManaCost:1 U R
Types:Creature Shapeshifter Pirate Types:Creature Shapeshifter Pirate
PT:2/2 PT:2/2
R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | Optional$ True | ReplaceWith$ ChooseCreature | CheckSVar$ RaidTest | References$ RaidTest | Description$ Raid — If you attacked with a creature this turn, you may have CARDNAME enter the battlefield as a copy of any creature on the battlefield. R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | Optional$ True | ReplaceWith$ DBCopy | CheckSVar$ RaidTest | References$ RaidTest | Description$ Raid — If you attacked with a creature this turn, you may have CARDNAME enter the battlefield as a copy of any creature on the battlefield.
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | AILogic$ Clone SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | SubAbility$ DBChangeZone | SpellDescription$ Raid — If you attacked with a creature this turn, you may have CARDNAME enter the battlefield as a copy of any creature on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ ChosenCard | SubAbility$ DBChangeZone
SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
SVar:RaidTest:Count$AttackersDeclared SVar:RaidTest:Count$AttackersDeclared
SVar:Picture:http://www.wizards.com/global/images/magic/general/protean_raider.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/protean_raider.jpg

View File

@@ -3,9 +3,8 @@ ManaCost:2 U U
Types:Legendary Creature Human Rogue Types:Legendary Creature Human Rogue
PT:3/1 PT:3/1
# Make Svars for granting abilities and triggers on clones distinct to avoid SVars getting overwritten when cloning a clone # Make Svars for granting abilities and triggers on clones distinct to avoid SVars getting overwritten when cloning a clone
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | RememberChosen$ True | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except its name is still CARDNAME, it's legendary in addition to its other types, and it gains "{2}{U}{U}: Return CARDNAME to its owner's hand at the beginning of the next end step." SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | KeepName$ True | AddTypes$ Legendary | AddAbilities$ ReturnSakashima | AddSVars$ TrigReturnSak | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except its name is still CARDNAME, it's legendary in addition to its other types, and it gains "{2}{U}{U}: Return CARDNAME to its owner's hand at the beginning of the next end step."
SVar:DBCopy:DB$ Clone | Defined$ Remembered | KeepName$ True | AddTypes$ Legendary | AddAbilities$ ReturnSakashima | AddSVars$ TrigReturnSak
SVar:ReturnSakashima:AB$ DelayedTrigger | Cost$ 2 U U | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturnSak | SpellDescription$ Return CARDNAME to it's owners hand at the beginning of the next end step. SVar:ReturnSakashima:AB$ DelayedTrigger | Cost$ 2 U U | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturnSak | SpellDescription$ Return CARDNAME to it's owners hand at the beginning of the next end step.
SVar:TrigReturnSak:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Hand SVar:TrigReturnSak:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Hand
SVar:Picture:http://www.wizards.com/global/images/magic/general/sakashima_the_impostor.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/sakashima_the_impostor.jpg

View File

@@ -4,7 +4,6 @@ Types:Creature Human Ninja
PT:0/0 PT:0/0
K:Ninjutsu:1 U K:Ninjutsu:1 U
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:ChooseCreature:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it's a Ninja in addition to its other creature types. SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddTypes$ Ninja | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it's a Ninja in addition to its other creature types.
SVar:DBCopy:DB$ Clone | Defined$ Remembered | AddTypes$ Ninja
SVar:Picture:http://www.wizards.com/global/images/magic/general/sakashimas_student.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/sakashimas_student.jpg
Oracle:Ninjutsu {1}{U} ({1}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)\nYou may have Sakashima's Student enter the battlefield as a copy of any creature on the battlefield, except it's a Ninja in addition to its other creature types. Oracle:Ninjutsu {1}{U} ({1}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)\nYou may have Sakashima's Student enter the battlefield as a copy of any creature on the battlefield, except it's a Ninja in addition to its other creature types.

View File

@@ -1,8 +1,7 @@
Name:Sculpting Steel Name:Sculpting Steel
ManaCost:3 ManaCost:3
Types:Artifact Types:Artifact
K:ETBReplacement:Copy:ChooseArtifact:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseArtifact:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Artifact.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any artifact on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Artifact.Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any artifact on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:Picture:http://www.wizards.com/global/images/magic/general/sculpting_steel.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/sculpting_steel.jpg
Oracle:You may have Sculpting Steel enter the battlefield as a copy of any artifact on the battlefield. Oracle:You may have Sculpting Steel enter the battlefield as a copy of any artifact on the battlefield.

View File

@@ -3,8 +3,7 @@ ManaCost:3 U
Types:Creature Shapeshifter Types:Creature Shapeshifter
PT:0/0 PT:0/0
K:Flash K:Flash
K:ETBReplacement:Copy:ChooseCreature:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseCreature:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered
SVar:Picture:http://www.wizards.com/global/images/magic/general/stunt_double.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/stunt_double.jpg
Oracle:Flash\nYou may have Stunt Double enter the battlefield as a copy of any creature on the the battlefield. Oracle:Flash\nYou may have Stunt Double enter the battlefield as a copy of any creature on the the battlefield.

View File

@@ -1,9 +1,8 @@
Name:Vesuva Name:Vesuva
ManaCost:no cost ManaCost:no cost
Types:Land Types:Land
K:ETBReplacement:Copy:ChooseLand:Optional K:ETBReplacement:Copy:DBCopy:Optional
SVar:ChooseLand:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Land.Other | SubAbility$ DBCopy | RememberChosen$ True | AILogic$ Clone | SpellDescription$ You may have CARDNAME enter the battlefield tapped as a copy of any land on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Land.Other | IntoPlayTapped$ True | SpellDescription$ You may have CARDNAME enter the battlefield tapped as a copy of any land on the battlefield.
SVar:DBCopy:DB$ Clone | Defined$ Remembered | IntoPlayTapped$ True
SVar:NeedsToPlay:Land.YouDontCtrl+notnamedVesuva,Land.YouCtrl+nonLegendary+notnamedVesuva SVar:NeedsToPlay:Land.YouDontCtrl+notnamedVesuva,Land.YouCtrl+nonLegendary+notnamedVesuva
SVar:Picture:http://www.wizards.com/global/images/magic/general/vesuva.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/vesuva.jpg
Oracle:You may have Vesuva enter the battlefield tapped as a copy of any land on the battlefield. Oracle:You may have Vesuva enter the battlefield tapped as a copy of any land on the battlefield.