Fixed several errors on primitives, fixed a bug on "mofified" target, restore a previous test on regenerate ability.

This commit is contained in:
Vittorio Alfieri
2023-06-10 22:52:49 +02:00
parent 1191d401c9
commit a5487311c4
5 changed files with 93 additions and 109 deletions
+16 -15
View File
@@ -1,6 +1,6 @@
#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 so the other comments are removed except for AUTO_DEFINE - Vitty85 04-06-2023
#I sorted this programmatically so the other comments are removed except for AUTO_DEFINE - Vitty85 10-06-2023
[card]
name=Abandon Reason
target=<upto:2>creature
@@ -2695,7 +2695,7 @@ type=Artifact
[/card]
[card]
name=All Hallow's Eve
auto=moveto(exile) and!(transforms((,newability[counter(0/0.2.Scream)],newability[autoexile=@each myupkeep:counter(0/0.-1.Scream)],newability[autoexile=this(counter{0/0.1.Scream}<1)while moveto(ownergraveyard) && moveto(ownerbattlefield) all(creature|graveyard)])) forever)!
auto=moveto(exile) and!(transforms((,newability[counter(0/0.2.Scream)],newability[@each myupkeep:counter(0/0.-1.Scream)],newability[this(counter{0/0.1.Scream}<1)while moveto(ownergraveyard) && moveto(ownerbattlefield) all(creature|graveyard)])) forever)!
text=Exile All Hallow's Eve with two scream counters on it. -- At the beginning of your upkeep, if All Hallow's Eve is exiled with a scream counter on it, remove a scream counter from it. If there are no more scream counters on it, put it into your graveyard and each player returns all creature cards from his or her graveyard to the battlefield.
mana={2}{B}{B}
type=Sorcery
@@ -4552,7 +4552,7 @@ type=Instant
[card]
name=Apothecary Geist
abilities=flying
auto=restriction type(other creature|mybattlefield)~morethan~0 choice (gain life) life:3 controller
auto=restriction type(other creature|mybattlefield)~morethan~0 choice name(gain life) life:3 controller
text=Flying -- When Apothecary Geist enters the battlefield, if you control another Spirit, you gain 3 life.
mana={3}{W}
type=Creature
@@ -21098,7 +21098,7 @@ type=Artifact
[/card]
[card]
name=Coalition Victory
auto=if type(plains|mybattlefield)~morethan~0 then if type(island|mybattlefield)~morethan~0 then if type(swamp|mybattlefield)~morethan~0 then if type(mountain|mybattlefield)~morethan~0 then if type(forest|mybattlefield)~morethan~0 then if type(creature[white]|mybattlefield)~morethan~0 then if type(creature[blue]|mybattlefield)~morethan~0 then if type(creature[black]|mybattlefield)~morethan~0 then if type(creature[red]|mybattlefield)~morethan~0 then if type(creature[green]|mybattlefield)~morethan~0 then wingame controller else nothing
auto=if type(plains|mybattlefield)~morethan~0 then if type(island|mybattlefield)~morethan~0 then if type(swamp|mybattlefield)~morethan~0 then if type(mountain|mybattlefield)~morethan~0 then if type(forest|mybattlefield)~morethan~0 then if type(creature[white]|mybattlefield)~morethan~0 then if type(creature[blue]|mybattlefield)~morethan~0 then if type(creature[black]|mybattlefield)~morethan~0 then if type(creature[red]|mybattlefield)~morethan~0 then if type(creature[green]|mybattlefield)~morethan~0 then wingame controller else donothing
text=You win the game if you control a land of each basic land type and a creature of each color.
mana={3}{W}{U}{B}{R}{G}
type=Sorcery
@@ -30291,7 +30291,7 @@ name=Disturbing Plot
target=creature|graveyard
auto=moveTo(ownerhand)
auto=alternative moveTo(ownerhand) target(creature|graveyard)
other={1}{B}{T(creature[black]|mybattlefield)}{T(creature[black]|mybattlefield)} (Pay Conspire)
other={1}{B}{T(creature[black]|mybattlefield)}{T(creature[black]|mybattlefield)} name(Pay Conspire)
otherrestriction=type(creature[black]|myBattlefield)~morethan~1
text=Return target creature card in a graveyard to its owner's hand. -- Conspire (As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.)
mana={1}{B}
@@ -51452,8 +51452,8 @@ subtype=Aura
[/card]
[card]
name=Gulf Squid
auto=choice name (tap all lands opponent controls) tap all(land|mybattlefield)
auto=choice name (tap all lands you control) tap all(land|opponentbattlefield)
auto=choice name(tap all lands opponent controls) tap all(land|mybattlefield)
auto=choice name(tap all lands you control) tap all(land|opponentbattlefield)
text=When Gulf Squid enters the battlefield, tap all lands target player controls.
mana={3}{U}
type=Creature
@@ -58791,7 +58791,7 @@ toughness=1
[/card]
[card]
name=Into the Core
target=<2 min>artifact
target=<2>artifact
auto=moveTo(exile)
text=Exile two target artifacts.
mana={2}{R}{R}
@@ -59958,7 +59958,7 @@ toughness=2
[/card]
[card]
name=Janjeet Sentry
auto=alterenergy:2 controllere
auto=alterenergy:2 controller
auto={T}{e:2}:tap target(artifact,creature)
auto={T}{e:2}:untap target(artifact,creature)
text=When Janjeet Sentry enters the battlefield, you get {E}{E} (two energy counters). -- {T}, Pay {E}{E}: You may tap or untap target artifact or creature.
@@ -69045,7 +69045,7 @@ toughness=4
[card]
name=Luminous Wake
target=creature
auto=@combat(attacking,blocking) source(mytgt):life:4 owner
auto=@combat(attacking,blocking) source(mytgt):life:4 controller
text=Enchant creature Whenever enchanted creature attacks or blocks, you gain 4 life.
mana={2}{W}
type=Enchantment
@@ -70366,7 +70366,7 @@ type=Enchantment
[/card]
[card]
name=Mana Breach
auto=@movedTo(*|opponentstack):ability$!(bounce land) notatarget(land|mybattlefield) moveTo(ownerhand) !$ opponent
auto=@movedTo(*|opponentstack):ability$!name(bounce land) notatarget(land|mybattlefield) moveTo(ownerhand) !$ opponent
auto=@movedTo(*|mystack):notatarget(land|mybattlefield) moveTo(ownerhand)
text=Whenever a player casts a spell, that player returns a land he or she controls to its owner's hand.
mana={2}{U}
@@ -94972,7 +94972,7 @@ type=Instant
[/card]
[card]
name=Reward the Faithful
target=players
target=player
auto=life:convertedcost:highest:*:mybattlefield
text=Any number of target players each gains life equal to the highest mana value among permanents you control.
mana={W}
@@ -111915,7 +111915,7 @@ type=Sorcery
[card]
name=Splintering Wind
auto={2}{G}:damage:1 target(creature) && token(Splinter Token,Creature Splinter,1/1,green,flying) and!( transforms((,newability[cumulativeupcost[{G}] sacrifice])) forever )!
auto=@movedTo(splinter token|nonbattlezone) from(mybattlefield):damage:1 all(creature) && damage:1 controller
auto=@movedTo(splinter[token]|nonbattlezone) from(mybattlefield):damage:1 all(creature) && damage:1 controller
text={2}{G}: Splintering Wind deals 1 damage to target creature. Put a 1/1 green Splinter creature token onto the battlefield. It has flying and "Cumulative upkeep {G}." (At the beginning of its controller's upkeep, that player puts an age counter on it, then sacrifices it unless he or she pays its upkeep cost for each age counter on it.) -- Whenever a Splinter token leaves the battlefield, it deals 1 damage to you and each creature you control.
mana={2}{G}{G}
type=Enchantment
@@ -117370,7 +117370,8 @@ toughness=2
[card]
name=Tajuru Archer
auto=may damage:type:ally:mybattlefield target(creature[flying])
auto=_RALLY_may damage:type:ally:mybattlefield target(creature[flying])text=Whenever Tajuru Archer or another Ally enters the battlefield under your control, you may have Tajuru Archer deal damage to target creature with flying equal to the number of Allies you control.
auto=_RALLY_may damage:type:ally:mybattlefield target(creature[flying])
text=Whenever Tajuru Archer or another Ally enters the battlefield under your control, you may have Tajuru Archer deal damage to target creature with flying equal to the number of Allies you control.
mana={2}{G}
type=Creature
subtype=Elf Archer Ally
@@ -121628,7 +121629,7 @@ target=creature
auto=1/1
auto=trample
text=Flash -- Enchant creature -- Enchanted creature gets +1/+1 and has trample.
mana=mana={2}{G}
mana={2}{G}
type=Enchantment
subtype=Aura
[/card]