Fixed some primitives from issue #1085 and updated some AI decks.

This commit is contained in:
Vittorio Alfieri
2023-07-20 11:54:49 +02:00
parent ab9002be79
commit 7c697eb376
6 changed files with 36 additions and 24 deletions

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 18-07-2023
#I sorted this programmatically so the other comments are removed except for AUTO_DEFINE - Vitty85 20-07-2023
[card]
name=Abandon Reason
target=<upto:2>creature
@@ -39963,15 +39963,25 @@ subtype=Aura
[/card]
[card]
name=Fertile Imagination
auto=choice name(Artifact) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(artifact|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(creature) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(creature|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(enchantment) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(enchantment|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(instant) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(instant|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(land) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(land|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(planeswalker) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(planeswalker|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(sorcery) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(sorcery|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
auto=choice name(tribal) target(opponent) Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone choice name(Spawn) foreach(tribal|reveal) _SAPROLINGTOKEN_*2 optiononeend optiontwo name(Put Back) all(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
text=Choose a card type. Target opponent reveals his or her hand. Put two 1/1 green Saproling creature tokens onto the battlefield for each card of the chosen type revealed this way. (Artifact, creature, enchantment, instant, land, planeswalker, sorcery, and tribal are card types.)
auto=if type(artifact|opponenthand)~morethan~0 then choice name(Artifact) name(Artifact) target(<type:*:opponenthand>artifact|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(artifact|opponenthand)~equalto~0 then choice name(Artifact) name(Artifact) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(creature|opponenthand)~morethan~0 then choice name(Creature) name(Creature) target(<type:*:opponenthand>creature|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(creature|opponenthand)~equalto~0 then choice name(Creature) name(Creature) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(enchantment|opponenthand)~morethan~0 then choice name(Enchantment) name(Enchantment) target(<type:*:opponenthand>enchantment|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(enchantment|opponenthand)~equalto~0 then choice name(Enchantment) name(Enchantment) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(land|opponenthand)~morethan~0 then choice name(Land) name(Land) target(<type:*:opponenthand>land|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(land|opponenthand)~equalto~0 then choice name(Land) name(Land) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(planeswalker|opponenthand)~morethan~0 then choice name(Planeswalker) name(Planeswalker) target(<type:*:opponenthand>planeswalker|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(planeswalker|opponenthand)~equalto~0 then choice name(Planeswalker) name(Planeswalker) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(sorcery|opponenthand)~morethan~0 then choice name(Sorcery) name(Sorcery) target(<type:*:opponenthand>sorcery|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(sorcery|opponenthand)~equalto~0 then choice name(Sorcery) name(Sorcery) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(instant|opponenthand)~morethan~0 then choice name(Instant) name(Instant) target(<type:*:opponenthand>instant|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(instant|opponenthand)~equalto~0 then choice name(Instant) name(Instant) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(battle|opponenthand)~morethan~0 then choice name(Battle) name(Battle) target(<type:*:opponenthand>battle|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(battle|opponenthand)~equalto~0 then choice name(Battle) name(Battle) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
auto=if type(tribal|opponenthand)~morethan~0 then choice name(Tribal) name(Tribal) target(<type:*:opponenthand>tribal|opponenthand) transforms((,newability[_SAPROLINGTOKEN_*2 opponent])) oneshot
auto=if type(tribal|opponenthand)~equalto~0 then choice name(Tribal) name(Tribal) target(*|opponenthand) moveto(myreveal) and!( moveto(opponenthand) )!
text=Choose a card type. Target opponent reveals his or her hand. Put two 1/1 green Saproling creature tokens onto the battlefield for each card of the chosen type revealed this way. (Artifact, creature, enchantment, instant, land, planeswalker, sorcery, battle and tribal are card types.)
mana={2}{G}{G}
type=Sorcery
[/card]
@@ -41215,7 +41225,7 @@ toughness=4
[card]
name=Flameblast Dragon
abilities=flying
auto=_ATTACKING_may pay({X}{R}) name(Deals X damages) damage:x target(anytarget)
auto=_ATTACKING_may name(Deals X damages) pay({X}{R}) name(Deals X damages) damage:x target(anytarget)
text=Flying -- Whenever Flameblast Dragon attacks, you may pay {X}{R}. If you do, Flameblast Dragon deals X damage to target creature or player.
mana={4}{R}{R}
type=Creature