Fixed some primitives, added new keyword "hasdead" to allow restrictions based on the death of a specific card type, fixed type sorting on cards changing zones removing the side effect of new lands enter the battlefield on the left.

This commit is contained in:
Vittorio Alfieri
2023-05-22 10:42:10 +02:00
parent 5f1371f914
commit 869e0309ec
4 changed files with 56 additions and 35 deletions
@@ -1,7 +1,7 @@
grade=borderline
#Bordeline Primitives Pack for Wagic the Homebrew.
#Please keep these card alphabetized, and try to have the "name=" line at the top of each card
#I sorted this programmatically - Thanks to Vitty85 21-05-2023
#I sorted this programmatically - Thanks to Vitty85 22-05-2023
[card]
name=+2 Mace
auto={3}:equip
@@ -10920,7 +10920,7 @@ type=Sorcery
name=Brimaz, Blight of Oreskos
auto=@movedTo(creature[artifact]|mystack):name(Incubate X) name(Incubate X) all(trigger[to]) transforms((,newability[name(Incubate X) name(Incubate X) activate castcard(noevent costx!:manacost:! named!:Incubator:!)])) oneshot
auto=@movedTo(creature[-artifact&phyrexian]|mystack):name(Incubate X) name(Incubate X) all(trigger[to]) transforms((,newability[name(Incubate X) name(Incubate X) activate castcard(noevent costx!:manacost:! named!:Incubator:!)])) oneshot
auto=@movedTo(phyrexian|graveyard) from(mybattlefield):name(Proliferate) _PROLIFERATE_
auto=@movedTo(phyrexian|graveyard) from(mybattlefield):name(Phyrexian died) transforms((,newability[@each endofturn:name(Proliferate) _PROLIFERATE_])) ueot
text=Whenever you cast a Phyrexian creature or artifact creature spell, incubate X, where X is that spell's mana value. (Create an Incubator token with X +1/+1 counters on it and "{2}: Transform this artifact." It transforms into a 0/0 Phyrexian artifact creature.) -- At the beginning of each end step, if a Phyrexian died under your control this turn, proliferate.
mana={2}{W}{B}
type=Legendary Creature
@@ -75762,7 +75762,7 @@ auto=if type(*|opponentgraveyard)~morethan~7 then if type(other *[instant;sorcer
auto=if type(*|opponentgraveyard)~lessthan~8 then if type(*[-instant;-sorcery]|stack)~morethan~0 then choice name(Copy permanent spell) name(Copy permanent spell) name(Copy permanent spell) ability$!name(Copy permanent spell) name(Copy permanent spell) name(Copy permanent spell) target(*[-instant;-sorcery]|stack) clone!$ controller
auto=if type(*|opponentgraveyard)~lessthan~8 then if type(other *[instant;sorcery]|stack)~morethan~0 then choice name(Copy non-permanent spell) name(Copy non-permanent spell) name(Copy non-permanent spell) ability$!name(Copy non-permanent spell) name(Copy non-permanent spell) name(Copy non-permanent spell) target(other *[instant;sorcery]|stack) activate castcard(copied noevent)!$ controller
auto=if type(*|opponentgraveyard)~lessthan~8 then if type(creature|battlefield)~morethan~0 then choice name(Copy creature) name(Copy creature) name(Copy creature) ability$!name(Copy creature) name(Copy creature) name(Copy creature) target(creature|battlefield) clone!$ controller
text=This spell can't be copied. -- Choose one. If an opponent has eight or more cards in their graveyard, you may choose both. -- - Copy target spell. You may choose new targets for the copy. (A copy of a permanent spell becomes a token.) -- - Create a token that's a copy of target creature.
text=This spell can't be copied. -- Choose one. If an opponent has eight or more cards in their graveyard, you may choose both. -- Copy target spell. You may choose new targets for the copy. (A copy of a permanent spell becomes a token.) -- Create a token that's a copy of target creature.
mana={2}{U}{U}
type=Instant
[/card]
@@ -85145,7 +85145,7 @@ name=Sunder the Gateway
auto=if type(artifact[-token]|opponentbattlefield)~morethan~0 then choice name(Destroy artifact and incubate 2) name(Destroy artifact and incubate 2) target(artifact[-token]|opponentbattlefield) destroy and!( activate castcard(noevent costx!:2:! named!:Incubator:!) )!
auto=if type(enchantment|opponentbattlefield)~morethan~0 then choice name(Destroy enchantment and incubate 2) name(Destroy enchantment and incubate 2) target(enchantment|opponentbattlefield) destroy and!( activate castcard(noevent costx!:2:! named!:Incubator:!) )!
auto=choice name(Incubate 2 and transform) name(Incubate 2 and transform) emblem transforms((,newability[name(Incubate 2) name(Incubate 2) activate castcard(noevent costx!:2:! named!:Incubator:!)],newability[@movedto(incubator|mybattlefield) turnlimited:name(Choose incubator) name(Choose incubator) target(incubator|mybattlefield) flip(backside)])) ueot
text=Choose one -- Destroy target nontoken artifact or enchantment an opponent controls. Incubate 2. (Create an Incubator token with two +1/+1 counters on it and "{2}: Transform this artifact." It transforms into a 0/0 Phyrexian artifact creature.) ---Incubate 2, then transform an Incubator token you control.
text=Choose one -- Destroy target nontoken artifact or enchantment an opponent controls. Incubate 2. (Create an Incubator token with two +1/+1 counters on it and "{2}: Transform this artifact." It transforms into a 0/0 Phyrexian artifact creature.) -- Incubate 2, then transform an Incubator token you control.
mana={1}{W}
type=Sorcery
[/card]