New macros and primitives fixes

Fixes to whenever you draw your second card each turn, batallion
This commit is contained in:
Eduardo
2021-08-12 20:16:29 -05:00
parent a296db349c
commit b7f80f3851
5 changed files with 34 additions and 27 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 38 KiB

@@ -54,6 +54,12 @@
# Enrage # Enrage
#AUTO_DEFINE _ENRAGE_ @damaged(this): #AUTO_DEFINE _ENRAGE_ @damaged(this):
# Whenever you draw your second card each turn
#AUTO_DEFINE _SECOND_DRAW_ @drawof(player) restriction{compare(pdrewcount)~equalto~2}:
# Batallion
#AUTO_DEFINE _BATALLION_ @combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:
# Champion # Champion
#AUTO_DEFINE _CHAMPION_($Word) aslongas(other $word|myBattlefield) choice notAtarget(other $word|myBattlefield) (blink)forsrc oneshot #AUTO_DEFINE _CHAMPION_($Word) aslongas(other $word|myBattlefield) choice notAtarget(other $word|myBattlefield) (blink)forsrc oneshot
@@ -6528,7 +6528,8 @@ subtype=Equipment
[/card] [/card]
[card] [card]
name=Bloodhaze Wolverine name=Bloodhaze Wolverine
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:1/1 && first strike])) ueot auto=_SECOND_DRAW_1/1 ueot
auto=_SECOND_DRAW_first strike ueot
text=Whenever you draw your second card each turn, Bloodhaze Wolverine gets +1/+1 and gains first strike until end of turn. text=Whenever you draw your second card each turn, Bloodhaze Wolverine gets +1/+1 and gains first strike until end of turn.
mana={1}{R} mana={1}{R}
type=Creature type=Creature
@@ -20673,7 +20674,7 @@ toughness=1
[card] [card]
name=Faerie Vandal name=Faerie Vandal
abilities=flash,flying abilities=flash,flying
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:counter(1/1,1)])) ueot auto=_SECOND_DRAW_counter(1/1)
text=Flash -- Flying -- Whenever you draw your second card each turn, put a +1/+1 counter on Faerie Vandal. text=Flash -- Flying -- Whenever you draw your second card each turn, put a +1/+1 counter on Faerie Vandal.
mana={1}{U} mana={1}{U}
type=Creature type=Creature
@@ -27799,7 +27800,7 @@ toughness=3
[/card] [/card]
[card] [card]
name=Haazda Marshal name=Haazda Marshal
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:create(soldier:creature soldier:1/1:white:lifelink) auto=_BATALLION_create(soldier:creature soldier:1/1:white:lifelink)
text=Whenever Haazda Marshal and at least two other creatures attack, create a 1/1 white Soldier creature token with lifelink. text=Whenever Haazda Marshal and at least two other creatures attack, create a 1/1 white Soldier creature token with lifelink.
mana={W} mana={W}
type=Creature type=Creature
@@ -31203,7 +31204,7 @@ subtype=Aura
[/card] [/card]
[card] [card]
name=Improbable Alliance name=Improbable Alliance
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:create(Faerie:creature Faerie:1/1:blue:flying)])) ueot auto=_SECOND_DRAW_create(Faerie:creature Faerie:1/1:blue:flying)
auto={4}{U}{R}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever auto={4}{U}{R}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
text=Whenever you draw your second card each turn, create a 1/1 blue Faerie creature token with flying. -- {4}{U}{R}: Draw a card, then discard a card. text=Whenever you draw your second card each turn, create a 1/1 blue Faerie creature token with flying. -- {4}{U}{R}: Draw a card, then discard a card.
mana={U}{R} mana={U}{R}
@@ -32350,7 +32351,7 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Irencrag Pyromancer name=Irencrag Pyromancer
auto=@drawof(player):transforms((,newability[@drawof(player) once:damage:3 target(player,creature,planeswalker)])) ueot auto=_SECOND_DRAW_damage:3 target(player;creature;planeswalker)
text=Whenever you draw your second card each turn, Irencrag Pyromancer deals 3 damage to any target. text=Whenever you draw your second card each turn, Irencrag Pyromancer deals 3 damage to any target.
mana={2}{R} mana={2}{R}
type=Creature type=Creature
@@ -33111,7 +33112,7 @@ type=Instant
[/card] [/card]
[card] [card]
name=Jolrael, Mwonvuli Recluse name=Jolrael, Mwonvuli Recluse
auto=@drawof(player) restriction{compare(pdrewcount)~equalto~2}:name(Create cat) token(Cat Jol) auto=_SECOND_DRAW_name(Create cat) token(Cat Jol)
auto={4}{G}{G}:name(All creatures becomes X/X) all(creature|mybattlefield) transforms((,setpower=type:*:myHand,settoughness=type:*:myHand)) ueot auto={4}{G}{G}:name(All creatures becomes X/X) all(creature|mybattlefield) transforms((,setpower=type:*:myHand,settoughness=type:*:myHand)) ueot
text=Whenever you draw your second card each turn, create a 2/2 green Cat creature token. -- {4}{G}{G}: Until end of turn, creatures you control have base power and toughness X/X, where X is the number of cards in your hand. text=Whenever you draw your second card each turn, create a 2/2 green Cat creature token. -- {4}{G}{G}: Until end of turn, creatures you control have base power and toughness X/X, where X is the number of cards in your hand.
mana={1}{G} mana={1}{G}
@@ -35562,7 +35563,7 @@ type=Artifact
[card] [card]
name=Kytheon, Hero of Akros name=Kytheon, Hero of Akros
auto=@movedto(Moonmist|stack):name(Transform Human Soldier) moveto(ownerBattlefield) && flip(Gideon, Battle-Forged) auto=@movedto(Moonmist|stack):name(Transform Human Soldier) moveto(ownerBattlefield) && flip(Gideon, Battle-Forged)
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:moveto(exile) and!( moveto(mybattlefield) and!(counter(0/0,3,Loyalty) && flip(Gideon, Battle-Forged) auto=_BATALLION_moveto(exile) and!( moveto(mybattlefield) and!(counter(0/0,3,Loyalty) && flip(Gideon, Battle-Forged)
auto={2}{W}:all(this) indestructible ueot auto={2}{W}:all(this) indestructible ueot
text=At end of combat, if Kytheon, Hero of Akros and at least two other creatures attacked this combat, exile Kytheon, then return him to the battlefield transformed under his owner's control. -- {2}{W}: Kytheon gains indestructible until end of turn. text=At end of combat, if Kytheon, Hero of Akros and at least two other creatures attacked this combat, exile Kytheon, then return him to the battlefield transformed under his owner's control. -- {2}{W}: Kytheon gains indestructible until end of turn.
mana={W} mana={W}
@@ -38023,7 +38024,7 @@ toughness=2
[/card] [/card]
[card] [card]
name=Mad Ratter name=Mad Ratter
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:create(Rat:creature Rat:1/1:black)])) ueot auto=_SECOND_DRAW_create(Rat:creature Rat:1/1:black)*2
text=Whenever you draw your second card each turn, create two 1/1 black Rat creature tokens. text=Whenever you draw your second card each turn, create two 1/1 black Rat creature tokens.
mana={3}{R} mana={3}{R}
type=Creature type=Creature
@@ -38348,7 +38349,7 @@ type=Instant
[/card] [/card]
[card] [card]
name=Makeshift Battalion name=Makeshift Battalion
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:counter(1/1) auto=_BATALLION_counter(1/1)
text=Whenever Makeshift Battalion and at least two other creatures attack, put a +1/+1 counter on Makeshift Battalion. text=Whenever Makeshift Battalion and at least two other creatures attack, put a +1/+1 counter on Makeshift Battalion.
mana={2}{W} mana={2}{W}
type=Creature type=Creature
@@ -38653,7 +38654,7 @@ toughness=4
name=Mantle of Tides name=Mantle of Tides
auto={3}:equip auto={3}:equip
auto=teach(creature) 1/2 auto=teach(creature) 1/2
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:equip target(creature|mybattlefield) auto=_SECOND_DRAW_rehook target(creature|mybattlefield)
text=Equipped creature gets +1/+2. -- Whenever you draw your second card each turn, attach Mantle of Tides to target creature you control. -- Equip {3} ({3} : Attach to target creature you control. Equip only as a sorcery.) text=Equipped creature gets +1/+2. -- Whenever you draw your second card each turn, attach Mantle of Tides to target creature you control. -- Equip {3} ({3} : Attach to target creature you control. Equip only as a sorcery.)
mana={U} mana={U}
type=Artifact type=Artifact
@@ -40091,7 +40092,7 @@ toughness=1
[/card] [/card]
[card] [card]
name=Minn, Wily Illusionist name=Minn, Wily Illusionist
auto=@drawof(player) restriction{compare(pdrewcount)~equalto~2}:token(Illusion,Creature Illusion,1/1,blue) and!( transforms((,newability[foreach(other *[illusion]|mybattlefield) 1/0])) forever )! auto=_SECOND_DRAW_token(Illusion,Creature Illusion,1/1,blue) and!( transforms((,newability[foreach(other *[illusion]|mybattlefield) 1/0])) forever )!
auto=@movedTo(illusion[power=0]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=0]|myhand) moveto(mybattlefield) auto=@movedTo(illusion[power=0]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=0]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=1]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=1]|myhand) moveto(mybattlefield) auto=@movedTo(illusion[power=1]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=1]|myhand) moveto(mybattlefield)
auto=@movedTo(illusion[power=2]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=2]|myhand) moveto(mybattlefield) auto=@movedTo(illusion[power=2]|graveyard) from(mybattlefield):may name(Put permanent on battlefield) target(*[-instant;-sorcery;manacost<=2]|myhand) moveto(mybattlefield)
@@ -41347,7 +41348,7 @@ subtype=Island
[/card] [/card]
[card] [card]
name=Mystic Skyfish name=Mystic Skyfish
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:flying])) ueot auto=_SECOND_DRAW_flying ueot
text=Whenever you draw your second card each turn, Mystic Skyfish gains flying until end of turn. text=Whenever you draw your second card each turn, Mystic Skyfish gains flying until end of turn.
mana={2}{U} mana={2}{U}
type=Creature type=Creature
@@ -60643,7 +60644,7 @@ toughness=4
[card] [card]
name=Steelgaze Griffin name=Steelgaze Griffin
abilities=flying abilities=flying
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:2/0])) ueot auto=_SECOND_DRAW_2/0 ueot
text=Flying -- Whenever you draw your second card each turn, Steelgaze Griffin gets +2/+0 until end of turn. text=Flying -- Whenever you draw your second card each turn, Steelgaze Griffin gets +2/+0 until end of turn.
mana={4}{U} mana={4}{U}
type=Creature type=Creature
+13 -13
View File
@@ -13466,7 +13466,7 @@ toughness=1
[/card] [/card]
[card] [card]
name=Bomber Corps name=Bomber Corps
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:damage:1 target(creature,player) auto=_BATALLION_damage:1 target(creature,player)
text=Battalion -- Whenever Bomber Corps and at least two other creatures attack, Bomber Corps deals 1 damage to target creature or player. text=Battalion -- Whenever Bomber Corps and at least two other creatures attack, Bomber Corps deals 1 damage to target creature or player.
mana={1}{R} mana={1}{R}
type=Creature type=Creature
@@ -13885,7 +13885,7 @@ type=Artifact
[/card] [/card]
[card] [card]
name=Boros Elite name=Boros Elite
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:2/2 ueot auto=_BATALLION_2/2 ueot
text=Battalion -- Whenever Boros Elite and at least two other creatures attack, Boros Elite gets +2/+2 until end of turn. text=Battalion -- Whenever Boros Elite and at least two other creatures attack, Boros Elite gets +2/+2 until end of turn.
mana={W} mana={W}
type=Creature type=Creature
@@ -13941,7 +13941,7 @@ type=Artifact
[/card] [/card]
[card] [card]
name=Boros Mastiff name=Boros Mastiff
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:lifelink ueot auto=_BATALLION_lifelink ueot
text=Battalion -- Whenever Boros Mastiff and at least two other creatures attack, Boros Mastiff gets lifelink until end of turn. text=Battalion -- Whenever Boros Mastiff and at least two other creatures attack, Boros Mastiff gets lifelink until end of turn.
mana={1}{W} mana={1}{W}
type=Creature type=Creature
@@ -25644,7 +25644,7 @@ type=Instant
[/card] [/card]
[card] [card]
name=Daring Skyjek name=Daring Skyjek
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:flying ueot auto=_BATALLION_flying ueot
text=Battalion -- Whenever Daring Skyjek and at least two other creatures attack, Daring Skyjek gains flying until end of turn. text=Battalion -- Whenever Daring Skyjek and at least two other creatures attack, Daring Skyjek gains flying until end of turn.
mana={1}{W} mana={1}{W}
type=Creature type=Creature
@@ -40721,7 +40721,7 @@ toughness=2
[/card] [/card]
[card] [card]
name=Firefist Striker name=Firefist Striker
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:cantblock target(creature) ueot auto=_BATALLION_cantblock target(creature) ueot
text=Battalion -- Whenever Firefist Striker and at least two other creatures attack, target creature can't block this turn. text=Battalion -- Whenever Firefist Striker and at least two other creatures attack, target creature can't block this turn.
mana={1}{R} mana={1}{R}
type=Creature type=Creature
@@ -40803,7 +40803,7 @@ toughness=3
[card] [card]
name=Firemane Avenger name=Firemane Avenger
abilities=flying abilities=flying
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:choice damage:3 target(creature,player) && life:3 controller auto=_BATALLION_choice damage:3 target(creature,player) && life:3 controller
text=Flying -- Battalion -- Whenever Firemane Avenger and at least two other creatures attack, Firemane Avenger deals 3 damage to target creature or player and you gain 3 life. text=Flying -- Battalion -- Whenever Firemane Avenger and at least two other creatures attack, Firemane Avenger deals 3 damage to target creature or player and you gain 3 life.
mana={2}{R}{W} mana={2}{R}{W}
type=Creature type=Creature
@@ -66275,7 +66275,7 @@ type=Enchantment
[card] [card]
name=Legion Loyalist name=Legion Loyalist
abilities=haste abilities=haste
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:all(creature|mybattlefield) transforms((,first strike,trample,newability[cantbeblockedby(creature[token])])) ueot auto=_BATALLION_all(creature|mybattlefield) transforms((,first strike,trample,newability[cantbeblockedby(creature[token])])) ueot
text=Haste -- Battalion -- Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can't be blocked by creature tokens this turn. text=Haste -- Battalion -- Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can't be blocked by creature tokens this turn.
mana={R} mana={R}
type=Creature type=Creature
@@ -78441,7 +78441,7 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Nav Squad Commandos name=Nav Squad Commandos
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:1/1 ueot && untap auto=_BATALLION_1/1 ueot && untap
text=Battalion -- Whenever Nav Squad Commandos and at least two other creatures attack, Nav Squad Commandos gets +1/+1 until end of turn. Untap it. text=Battalion -- Whenever Nav Squad Commandos and at least two other creatures attack, Nav Squad Commandos gets +1/+1 until end of turn. Untap it.
mana={4}{W} mana={4}{W}
type=Creature type=Creature
@@ -83004,7 +83004,7 @@ toughness=1
[/card] [/card]
[card] [card]
name=Ordruun Veteran name=Ordruun Veteran
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:double strike ueot auto=_BATALLION_double strike ueot
text=Battalion -- Whenever Ordruun Veteran and at least two other creatures attack, Ordruun Veteran gains double strike until end of turn. (It deals both first-strike and regular combat damage.) text=Battalion -- Whenever Ordruun Veteran and at least two other creatures attack, Ordruun Veteran gains double strike until end of turn. (It deals both first-strike and regular combat damage.)
mana={2}{R}{W} mana={2}{R}{W}
type=Creature type=Creature
@@ -117266,7 +117266,7 @@ type=Land
[card] [card]
name=Tajic, Blade of the Legion name=Tajic, Blade of the Legion
abilities=indestructible abilities=indestructible
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:5/5 ueot auto=_BATALLION_5/5 ueot
text=Battalion -- Whenever Tajic atttacks with at least two other creatures attack, Tajic gets +5/+5 until end of turn. text=Battalion -- Whenever Tajic atttacks with at least two other creatures attack, Tajic gets +5/+5 until end of turn.
mana={2}{R}{W} mana={2}{R}{W}
type=Legendary Creature type=Legendary Creature
@@ -119427,7 +119427,7 @@ toughness=1
[/card] [/card]
[card] [card]
name=Thalakos Dreamsower name=Thalakos Dreamsower
abilities=doesnotuntap abilities=shadow,doesnotuntap
auto=@each my untap sourcetap:may untap auto=@each my untap sourcetap:may untap
auto=@damagefoeof(player) from(this):target(creature) grant transforms((,newability[tap],newability[doesnotuntap])) grantend auto=@damagefoeof(player) from(this):target(creature) grant transforms((,newability[tap],newability[doesnotuntap])) grantend
text=Shadow (This creature can block or be blocked by only creatures with shadow.) -- You may choose not to untap Thalakos Dreamsower during your untap step. -- Whenever Thalakos Dreamsower deals damage to an opponent, tap target creature. That creature doesn't untap during its controller's untap step for as long as Thalakos Dreamsower remains tapped. text=Shadow (This creature can block or be blocked by only creatures with shadow.) -- You may choose not to untap Thalakos Dreamsower during your untap step. -- Whenever Thalakos Dreamsower deals damage to an opponent, tap target creature. That creature doesn't untap during its controller's untap step for as long as Thalakos Dreamsower remains tapped.
@@ -131931,7 +131931,7 @@ subtype=Equipment
[/card] [/card]
[card] [card]
name=Warmind Infantry name=Warmind Infantry
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:2/0 ueot auto=_BATALLION_2/0 ueot
text=Battalion -- Whenever Warmind Infantry and at least two other creatures attack, Warmind Infantry gets +2/+0 until end of turn. text=Battalion -- Whenever Warmind Infantry and at least two other creatures attack, Warmind Infantry gets +2/+0 until end of turn.
mana={2}{R} mana={2}{R}
type=Creature type=Creature
@@ -135111,7 +135111,7 @@ toughness=5
[/card] [/card]
[card] [card]
name=Wojek Halberdiers name=Wojek Halberdiers
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:first strike ueot auto=_BATALLION_first strike ueot
text=Battalion -- Whenever Wojek Halberdiers and at least two other creatures attack, Wojek Halberdiers gains first strike until end of turn. text=Battalion -- Whenever Wojek Halberdiers and at least two other creatures attack, Wojek Halberdiers gains first strike until end of turn.
mana={R}{W} mana={R}{W}
type=Creature type=Creature
@@ -1169,7 +1169,7 @@ subtype=Inzerva
[card] [card]
name=Jace, Arcane Strategist name=Jace, Arcane Strategist
auto=counter(0/0,4,loyalty) auto=counter(0/0,4,loyalty)
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:counter(1/1,1) target(creature|myBattlefield)])) ueot auto=_SECOND_DRAW_counter(1/1) target(creature|myBattlefield)
auto={C(0/0,1,Loyalty)}:name(+1: Draw a card) draw:1 controller auto={C(0/0,1,Loyalty)}:name(+1: Draw a card) draw:1 controller
auto={C(0/0,-7,Loyalty)}:name(-7: Creatures you control can't be blocked) all(creature|myBattlefield) unblockable auto={C(0/0,-7,Loyalty)}:name(-7: Creatures you control can't be blocked) all(creature|myBattlefield) unblockable
text=Whenever you draw your second card each turn, put a +1/+1 counter on target creature you control. -- +1: Draw a card. -- -7: Creatures you control can't be blocked this turn. text=Whenever you draw your second card each turn, put a +1/+1 counter on target creature you control. -- +1: Draw a card. -- -7: Creatures you control can't be blocked this turn.