Added new primitives from BRO and BRC sets, fixed some primitives, fixed BRR dat file, fixed castcard ability to avoid double activities activation, fixed a bug on "canloyaltytwice" ability.

This commit is contained in:
Vittorio Alfieri
2023-05-31 15:35:22 +02:00
parent 21687bc3ee
commit ea9d053d76
6 changed files with 407 additions and 35 deletions

View File

@@ -63029,6 +63029,12 @@ BRO;586309;https://cards.scryfall.io/large/front/6/d/6de8324f-07ee-4dd1-9547-1a1
BRO;586310;https://cards.scryfall.io/large/front/0/f/0f7c6f6f-9516-4cfd-830f-5910a25bd1a2.jpg
BRO;586311;https://cards.scryfall.io/large/front/0/3/03b86f24-de8c-40f5-9486-119a366c42e1.jpg
BRO;586312;https://cards.scryfall.io/large/front/9/7/9755c1da-f1ed-4328-b85f-e905b7468504.jpg
BRR;586589t;https://cards.scryfall.io/large/front/a/9/a9930d11-4772-4fc2-abbd-9af0a9b23a3e.jpg
BRR;586592t;https://cards.scryfall.io/large/front/9/6/96d831eb-8d5f-4436-bbc6-3d1a90f3d2ed.jpg
BRR;586613t;https://cards.scryfall.io/large/front/a/6/a6ee0db9-ac89-4ab6-ac2e-8a7527d9ecbd.jpg
BRR;587282t;https://cards.scryfall.io/large/front/a/9/a9930d11-4772-4fc2-abbd-9af0a9b23a3e.jpg
BRR;587285t;https://cards.scryfall.io/large/front/9/6/96d831eb-8d5f-4436-bbc6-3d1a90f3d2ed.jpg
BRR;587306t;https://cards.scryfall.io/large/front/a/6/a6ee0db9-ac89-4ab6-ac2e-8a7527d9ecbd.jpg
BRR;586551;https://cards.scryfall.io/large/front/b/0/b0724f3e-a29b-49f1-badc-da7dec5c697c.jpg
BRR;586552;https://cards.scryfall.io/large/front/7/f/7f5342d5-b8a6-46ee-afd7-b333bb836a7c.jpg
BRR;586553;https://cards.scryfall.io/large/front/8/b/8bab577a-4d2b-4b52-a861-1a43fdaa3f97.jpg
Can't render this file because it is too large.

View File

@@ -2,9 +2,39 @@
author=Wagic Team
name=The Brothers' War Retro Artifacts
year=2022-11-18
total=126
total=132
[/meta]
[card]
primitive=Minion
id=-586589
rarity=T
[/card]
[card]
primitive=Golem
id=-586592
rarity=T
[/card]
[card]
primitive=Wurm
id=-586613
rarity=T
[/card]
[card]
primitive=Minion
id=-587282
rarity=T
[/card]
[card]
primitive=Golem
id=-587285
rarity=T
[/card]
[card]
primitive=Wurm
id=-587306
rarity=T
[/card]
[card]
primitive=Adaptive Automaton
id=586551
rarity=R

View File

@@ -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 30-05-2023
#I sorted this programmatically - Thanks to Vitty85 31-05-2023
[card]
name=+2 Mace
auto={3}:equip
@@ -29471,6 +29471,19 @@ power=1
toughness=1
[/card]
[card]
name=Farid, Enterprising Salvager
auto=@movedto(artifact[-token]|graveyard) from(battlefield):name(Create Scrap) token(Srcap,Artifact Scrap,0/0)
auto={1}{R}{S(artifact|myBattlefield)}:name(Put 1/1 counter) counter(1/1)
auto={1}{R}{S(artifact|myBattlefield)}:name(Goad creature) _GOAD_ target(creature|battlefield)
auto={1}{R}{S(artifact|myBattlefield)}:name(Discard and draw) target(*|myhand) reject and!( draw:1 controller )!
text=Whenever a nontoken artifact you control is put into a graveyard from the battlefield, create a colorless artifact token named Scrap. -- {1}{R}, Sacrifice an artifact: Choose one -- Put a +1/+1 counter on Farid. It gains menace until end of turn. -- Goad target creature. -- Discard a card, then draw a card.
mana={2}{R}
type=Legendary Creature
subtype=Human Soldier
power=3
toughness=3
[/card]
[card]
name=Farideh's Fireball
target=creature,planeswalker
auto=damage:5
@@ -35069,6 +35082,24 @@ mana={2}{B}
type=Sorcery
[/card]
[card]
name=Gix's Command
auto=if type(creature|battlefield)~morethan~0 then choice name(Put counters and destroy) name(Put counters and destroy) target(creature|battlefield) transforms((,newability[lifelink],newability[counter(1/1.2)],newability[destroy all(creature[power<=2]|battlefield)])) oneshot
auto=if type(creature|mybattlefield)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(You put counters and return creatures) name(You put counters and return creatures) name(You put counters and return creatures) target(creature|mybattlefield) transforms((,newability[lifelink],newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(<upto:2>creature|mygraveyard) moveto(myhand)!$ controller])) oneshot
auto=if type(creature|opponentbattlefield)~morethan~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Opponent put counters and return creatures) name(Opponent put counters and return creatures) name(Opponent put counters and return creatures) target(creature|opponentbattlefield) transforms((,newability[lifelink],newability[counter(1/1.2)],newability[ability$!name(Return creatures) target(<upto:2>creature|mygraveyard) moveto(myhand)!$ opponent])) oneshot
auto=if type(creature|battlefield)~equalto~0 then if type(creature|mygraveyard)~morethan~0 then choice name(Put counters and return creatures) name(Put counters and return creatures) name(Put counters and return creatures) target(<upto:2>creature|mygraveyard) moveto(myhand)
auto=if type(creature|mybattlefield)~morethan~0 then choice name(You put counters and opponent sacrifices) name(You put counters and opponent sacrifices) name(You put counters and opponent sacrifices) target(creature|mybattlefield) transforms((,newability[lifelink],newability[counter(1/1.2)],newability[ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent])) oneshot
auto=if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent put counters and opponent sacrifices) name(Opponent put counters and opponent sacrifices) name(Opponent put counters and opponent sacrifices) target(creature|opponentbattlefield) transforms((,newability[lifelink],newability[counter(1/1.2)],newability[ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ controller])) oneshot
auto=if type(creature|battlefield)~equalto~0 then choice name(Put counters and opponent sacrifices) name(Put counters and opponent sacrifices) name(Put counters and opponent sacrifices) ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Destroy creatures and return creatures) name(Destroy creatures and return creatures) target(<upto:2>creature|mygraveyard) moveto(myhand) and!( all(creature[power<=2]|battlefield) destroy )!
auto=if type(creature|mygraveyard)~equalto~0 then choice name(Destroy creatures and return creatures) name(Destroy creatures and return creatures) all(creature[power<=2]|battlefield) destroy
auto=choice name(Destroy creatures and opponent sacrifices) all(creature[power<=2]|battlefield) destroy && ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent
auto=if type(creature|mygraveyard)~morethan~0 then choice name(Return creatures and opponent sacrifices) name(Return creatures and opponent sacrifices) target(<upto:2>creature|mygraveyard) moveto(myhand) && ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent
auto=if type(creature|mygraveyard)~equalto~0 then choice name(Return creatures and opponent sacrifices) name(Return creatures and opponent sacrifices) ability$!name(Sacrifice creature) notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) sacrifice!$ opponent
text=Choose two -- Put two +1/+1 counters on up to one creature. It gains lifelink until end of turn. -- Destroy each creature with power 2 or less. -- Return up to two creature cards from your graveyard to your hand. -- Each opponent sacrifices a creature with the highest power among creatures they control.
mana={3}{B}{B}
type=Sorcery
[/card]
[card]
name=Gix, Yawgmoth Praetor
auto=@combatdamagefoeof(player) from(creature|mybattlefield):may name(Pay life and draw) pay({L:1}) draw:1 controller
auto={4}{B}{B}{B}{D(*|myhand)}:name(Discard 1 card) target(*[zpos<=1]|opponentlibrary) moveto(myexile) and!( transforms((,newability[if cantargetcard(*[land]|*) then if compare(controllerturn)~morethan~0 then if can play land then choice name(Put exiled land in play) name(Put exiled land in play) name(Put exiled land in play) name(Put exiled land in play) activate castcard(restricted putinplay) and!( if cantargetcard(*[land]|exile) then moveto(ownerexile) )!],newability[if cantargetcard(*[land]|*) then choice name(Don't play exiled land) name(Don't play exiled land) moveto(ownerexile)],newability[if cantargetcard(*[-land]|*) then choice name(Cast exiled card) name(Cast exiled card) activate castcard(restricted) and!( if cantargetcard(*|exile) then moveto(ownerexile) )!],newability[if cantargetcard(*[-land]|*) then choice name(Don't cast exiled card) name(Don't cast exiled card) moveto(ownerexile)])) oneshot )!
@@ -41872,6 +41903,14 @@ power=3
toughness=3
[/card]
[card]
name=Hostile Negotiations
auto=life:-3 controller
auto=all(*[zpos<=5]|mylibrary) moveto(myexile) and!( all(*[zpos=6]|mylibrary) moveto(myexile) and!( ability$!name(Return 3 exile card to opponent hand) name(Return 3 exile card to opponent hand) target(<3>*[fresh]|opponentexile) moveto(opponenthand)!$ opponent )! )!
text=Exile the top three cards of your library in a face-down pile, then exile the top three cards of your library in another face-down pile. Look at the cards in each pile, then turn a pile of your choice face up. An opponent chooses one of those piles. Put all cards in the chosen pile into your hand and the rest into your graveyard. You lose 3 life.
mana={3}{B}
type=Instant
[/card]
[card]
name=Hound Tamer
abilities=trample,daybound
backside=Untamed Pup
@@ -47974,6 +48013,29 @@ mana={W}{W}{B}{B}
type=Sorcery
[/card]
[card]
name=Kayla's Command
auto=choice name(Create construct and put 1/1 counter) token(Construct,Artifact Creature Construct,2/2) and!( name(Put 1/1 counter) target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[double strike])) ueot )!
auto=choice name(Create construct and search plains) token(Construct,Artifact Creature Construct,2/2) and!( name(Search plains) target(plains|mylibrary) moveto(myhand) and!( shuffle )! )!
auto=choice name(Create construct and gain life) token(Construct,Artifact Creature Construct,2/2) and!( name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend )!
auto=if type(creature|mybattlefield)~morethan~0 then choice name(Put 1/1 counter and search plains) name(Put 1/1 counter and search plains) target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[double strike],newability[name(Search plains) target(plains|mylibrary) moveto(myhand) and!( shuffle )!])) ueot
auto=if type(creature|mybattlefield)~morethan~0 then choice name(Put 1/1 counter and gain life) name(Put 1/1 counter and gain life) target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[double strike],newability[name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend])) ueot
auto=if type(creature|mybattlefield)~equalto~0 then choice name(Put 1/1 counter and search plains) name(Put 1/1 counter and search plains) target(plains|mylibrary) moveto(myhand) and!( shuffle )!
auto=if type(creature|mybattlefield)~equalto~0 then choice name(Put 1/1 counter and gain life) name(Put 1/1 counter and gain life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend
auto=if type(plains|mylibrary)~morethan~0 then choice name(Search plains and gain life) name(Search plains and gain life) target(plains|mylibrary) moveto(myhand) and!( name(Scry 2 and life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend )!
auto=if type(plains|mylibrary)~equalto~0 then choice name(Search plains and gain life) name(Search plains and gain life) scry:2 scrycore dontshow delayed life:2 controller scrycoreend scryend
text=Choose two -- Create a 2/2 colorless Construct artifact creature token. -- Put a +1/+1 counter on a creature you control. It gains double strike until end of turn. -- Search your library for a basic Plains card, reveal it, put it into your hand, then shuffle. -- You gain 2 life and scry 2.
mana={1}{W}{W}
type=Sorcery
[/card]
[card]
name=Kayla's Music Box
auto={W}{T}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( becomes(boxexiled) forever )!
auto={T}:name(Can play exiled cards) all(boxexiled|myexile) transforms((,newability[canplayfromexile ueot])) ueot
text={W}, {T}: Look at the top card of your library, then exile it face down. (You may look at it any time.) -- {T}: Until end of turn, you may play cards you own exiled with Kayla's Music Box.
mana={2}
type=Legendary Artifact
[/card]
[card]
name=Kayla's Reconstruction
aicode=activate transforms((,newability[if type(creature[manacost<=3&zpos<=7]|mylibrary)~equalto~0 then if type(artifact[manacost<=3&zpos<=7]|mylibrary)~equalto~0 then all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(creature[manacost<=3&zpos<=7]|mylibrary)~morethan~0 then target(<upto:fullpaid>creature[manacost<=3&zpos<=7]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!],newability[if type(artifact[manacost<=3&zpos<=7]|mylibrary)~morethan~0 then target(<upto:fullpaid>artifact[manacost<=3&zpos<=7]|mylibrary) moveto(mybattlefield) and!( transforms((,newability[all(*[zpos<=7]|mylibrary) moveto(myreveal) and!( bottomoflibrary )!])) oneshot )! ])) oneshot
auto=name(Look top 7 cards) reveal:7 optionone name(Choose artifacts or creatures) target(<upto:fullpaid>*[manacost<=3]|reveal) moveto(mylibrary) and!( if cantargetcard(*[artifact;creature]|*) then becomes(tobecast) ueot )! optiononeend optiontwo name(Put on bottom) target(*|reveal) bottomoflibrary and!( all(*|reveal) bottomoflibrary )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mybattlefield) afterrevealedend revealend
@@ -56589,6 +56651,212 @@ power=2
toughness=2
[/card]
[card]
name=Mishra's Command
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~1 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~1 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[1/0],newability[ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~1 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[2/0],newability[ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~1 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[1/0],newability[ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~1 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[1/0],newability[ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<1>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~1 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[1/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[1/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~1 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~2 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~2 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[2/0],newability[ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~2 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[2/0],newability[ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~2 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[2/0],newability[ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~2 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[2/0],newability[ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<2>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~2 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[2/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[2/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~2 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~3 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~3 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[3/0],newability[ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~3 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[3/0],newability[ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~3 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[3/0],newability[ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~3 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[3/0],newability[ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<3>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~3 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[3/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[3/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~3 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~4 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~4 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[2/0],newability[ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~4 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[4/0],newability[ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~4 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[4/0],newability[ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~4 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[4/0],newability[ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<4>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~4 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[4/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[4/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~4 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~5 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~5 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[5/0],newability[ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~5 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[5/0],newability[ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~5 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[5/0],newability[ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~5 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[5/0],newability[ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<5>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~5 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[5/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[5/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~5 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller )!
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~6 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~6 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~6 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~6 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~6 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[6/0],newability[ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~6 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[6/0],newability[ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~6 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[6/0],newability[ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~6 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[6/0],newability[ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<6>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~6 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[6/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~6 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[6/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~6 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller )!
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~7 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~7 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~7 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~7 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~7 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[7/0],newability[ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~7 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[7/0],newability[ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~7 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[7/0],newability[ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~7 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[7/0],newability[ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<7>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~7 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[7/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~7 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[7/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~7 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller )!
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~8 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~8 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~8 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~8 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~8 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[8/0],newability[ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~8 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[8/0],newability[ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~8 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[8/0],newability[ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~8 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[8/0],newability[ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<8>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~8 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[8/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~8 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[8/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~8 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller )!
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~9 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~9 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~9 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~9 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~9 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[9/0],newability[ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~9 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[9/0],newability[ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~equalto~9 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[9/0],newability[ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~equalto~9 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[9/0],newability[ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<9>*|myhand) reject!$ controller
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~equalto~9 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[9/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~9 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[9/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~equalto~9 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~morethan~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and damage creature) name(Opponent discards and damage creature) name(Opponent discards and damage creature) ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~morethan~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) target(creature|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller )!
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~equalto~0 then choice name(You discard and damage creature) name(You discard and damage creature) name(You discard and damage creature) ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller
auto=if compare(fullpaid)~morethan~9 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~morethan~9 then if type(planeswalker|battlefield)~morethan~0 then choice name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) name(Opponent discards and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~morethan~9 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller
auto=if compare(fullpaid)~morethan~9 then if type(planeswalker|battlefield)~equalto~0 then choice name(You discard and damage planeswalker) name(You discard and damage planeswalker) name(You discard and damage planeswalker) ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller
auto=if compare(fullpaid)~morethan~9 then if type(creature|mybattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and your creature gains) name(Opponent discards and creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[10/0],newability[ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~morethan~9 then if type(creature|opponentbattlefield)~morethan~0 then choice name(Opponent discards and your creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and opponent creature gains) name(Opponent discards and creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[10/0],newability[ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~equalto~0 then choice name(Opponent discards and creature gains) name(Opponent discards and creature gains) name(Opponent discards and creature gains) ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent
auto=if compare(fullpaid)~morethan~9 then if type(creature|mybattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) name(You discard and your creature gains) target(creature|mybattlefield) transforms((,newability[haste],newability[10/0],newability[ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ opponent])) ueot
auto=if compare(fullpaid)~morethan~9 then if type(creature|opponentbattlefield)~morethan~0 then choice name(You discard and your creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) name(You discard and opponent creature gains) target(creature|opponentbattlefield) transforms((,newability[haste],newability[10/0],newability[ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller])) ueot
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~equalto~0 then choice name(You discard and your creature gains) name(You discard and creature gains) name(You discard and creature gains) ability$!name(Discard cards) notatarget(<10>*|myhand) reject!$ controller
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(<2>*[creature;planeswalker]|battlefield) damage:fullpaid
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~morethan~0 then if type(planeswalker|battlefield)~equalto~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(creature|battlefield) damage:fullpaid
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~equalto~0 then if type(planeswalker|battlefield)~morethan~0 then choice name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) name(Damage creature and damage planeswalker) target(planeswalker|battlefield) damage:fullpaid
auto=if compare(fullpaid)~morethan~9 then if type(creature|battlefield)~morethan~0 then choice name(Damage creature and creature gains) name(Damage creature and creature gains) name(Damage creature and creature gains) target(creature|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[10/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~morethan~9 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~morethan~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid && ability$!name(Creature gains X/0) target(creature|battlefield) transforms((,newability[10/0],newability[haste])) ueot!$ controller
auto=if compare(fullpaid)~morethan~9 then if type(planeswalker|battlefield)~morethan~0 then if type(creature|battlefield)~equalto~0 then choice name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) name(Damage planeswalker and creature gains) target(planeswalker|battlefield) damage:fullpaid
text=Choose two -- Choose target player. They may discard up to X cards. Then they draw a card for each card discarded this way. -- This spell deals X damage to target creature. -- This spell deals X damage to target planeswalker. -- Target creature gets +X/+0 and gains haste until end of turn.
mana={X}{R}
type=Sorcery
[/card]
[card]
name=Mishra's Domination
target=creature
auto=teach(creature|myBattlefield) 2/2
@@ -56651,7 +56919,7 @@ type=Land
[/card]
[card]
name=Mishra, Claimed by Gix
auto=@combat(attacking) source(this) restriction{type(Phyrexian Dragon Engine[attacking]|mybattlefield)~morethan~0}:name(Meld Mishra) moveto(mysideboard) and!( name(Meld Mishra) target(Phyrexian Dragon Engine[attacking]|mybattlefield) moveto(mysideboard) and!( token(Mishra, Lost to Phyrexia) and!( transforms((,newability[ninjutsu])) ueot )! )! )!
auto=@combat(attacking) source(this) restriction{type(Phyrexian Dragon Engine[attacking]|mybattlefield)~morethan~0}:name(Meld Mishra) name(Meld Mishra) target(Phyrexian Dragon Engine[attacking]|mybattlefield) meld(Mishra, Lost to Phyrexia) and!( transforms((,newability[ninjutsu])) ueot )!
auto=@each my blockers:name(Opponent loses life) lifeleech:-type:creature[attacking]:mybattlefield opponent
text=Whenever you attack, each opponent loses X life and you gain X life, where X is the number of attacking creatures. If Mishra, Claimed by Gix and a creature named Phyrexian Dragon Engine are attacking, and you both own and control them, exile them, then meld them into Mishra, Lost to Phyrexia. It enters the battlefield tapped and attacking.
mana={2}{B}{R}
@@ -62976,6 +63244,18 @@ mana={U}
type=Instant
[/card]
[card]
name=Over the Top
auto=all(*[-instant&-sorcery&zpos<=type:*:mybattlefield]|mylibrary) moveto(mybattlefield)
auto=all(instant[zpos<=type:*:mybattlefield]|mylibrary) moveto(mygraveyard)
auto=all(sorcery[zpos<=type:*:mybattlefield]|mylibrary) moveto(mygraveyard)
auto=all(*[-instant&-sorcery&zpos<=type:*:opponentbattlefield]|opponentlibrary) moveto(opponentbattlefield)
auto=all(instant[zpos<=type:*:opponentbattlefield]|opponentlibrary) moveto(opponentgraveyard)
auto=all(sorcery[zpos<=type:*:opponentbattlefield]|opponentlibrary) moveto(opponentgraveyard)
text=Each player reveals a number of cards from the top of their library equal to the number of nonland permanents they control, puts all permanent cards they revealed this way onto the battlefield, and puts the rest into their graveyard.
mana={5}{R}{R}
type=Sorcery
[/card]
[card]
name=Overabundance
auto=@tappedformana(land|opponentBattlefield):damage:1 opponent
auto=@tappedformana(land|myBattlefield):damage:1 controller
@@ -91832,6 +92112,25 @@ mana={3}
type=Instant
[/card]
[card]
name=Titania's Command
auto=if type(land|mylibrary)~morethan~0 then choice name(Exile opponent graveyard and search lands) name(Exile opponent graveyard and search lands) target(<upto:2>land|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! && ability$!name(Exile graveyard) all(*|opponentgraveyard) moveto(ownerexile) and!( life:1 controller )!!$ controller
auto=if type(land|mylibrary)~equalto~0 then choice name(Exile opponent graveyard and search lands) name(Exile opponent graveyard and search lands) all(*|opponentgraveyard) moveto(ownerexile) and!( life:1 controller )!
auto=if type(land|mylibrary)~morethan~0 then choice name(Exile your graveyard and search lands) name(Exile your graveyard and search lands) target(<upto:2>land|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! && ability$!name(Exile graveyard) all(*|mygraveyard) moveto(ownerexile) and!( life:1 controller )!!$ controller
auto=if type(land|mylibrary)~equalto~0 then choice name(Exile your graveyard and search lands) name(Exile your graveyard and search lands) all(*|mygraveyard) moveto(ownerexile) and!( life:1 controller )!
auto=choice name(Exile opponent graveyard and create bears) ability$!name(Exile graveyard) all(*|opponentgraveyard) moveto(ownerexile) and!( life:1 controller )!!$ controller && ability$!name(Create bears) token(Bear,Creature Bear,2/2,green)*2!$ controller
auto=choice name(Exile your graveyard and create bears) ability$!name(Exile graveyard) all(*|mygraveyard) moveto(ownerexile) and!( life:1 controller )!!$ controller && ability$!name(Create bears) token(Bear,Creature Bear,2/2,green)*2!$ controller
auto=choice name(Exile opponent graveyard and put counters) ability$!name(Exile graveyard) all(*|opponentgraveyard) moveto(ownerexile) and!( life:1 controller )!!$ controller && ability$!name(Put counters) all(creature|mybattlefield) counter(1/1,2)!$ controller
auto=choice name(Exile your graveyard and put counters) ability$!name(Exile graveyard) all(*|mygraveyard) moveto(ownerexile) and!( life:1 controller )!!$ controller && ability$!name(Put counters) all(creature|mybattlefield) counter(1/1,2)!$ controller
auto=if type(land|mylibrary)~morethan~0 then choice name(Search lands and create bears) name(Search lands and create bears) target(<upto:2>land|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! && ability$!name(Create bears) token(Bear,Creature Bear,2/2,green)*2!$ controller
auto=if type(land|mylibrary)~equalto~0 then choice name(Search lands and create bears) name(Search lands and create bears) token(Bear,Creature Bear,2/2,green)*2
auto=if type(land|mylibrary)~morethan~0 then choice name(Search lands and put counters) target(<upto:2>land|mylibrary) moveto(mybattlefield) and!( tap(noevent) )! && ability$!name(Put counters) all(creature|mybattlefield) counter(1/1,2)!$ controller
auto=if type(land|mylibrary)~equalto~0 then choice name(Search lands and put counters) tall(creature|mybattlefield) counter(1/1,2)
auto=choice name(Ccreate bears and put counters) ability$!name(Create bears) token(Bear,Creature Bear,2/2,green)*2!$ controller && ability$!name(Put counters) all(creature|mybattlefield) counter(1/1,2)!$ controller
text=Choose two -- Exile target player's graveyard. You gain 1 life for each card exiled this way. -- Search your library for up to two land cards, put them onto the battlefield tapped, then shuffle. -- Create two 2/2 green Bear creature tokens. -- Put two +1/+1 counters on each creature you control.
mana={4}{G}{G}
type=Sorcery
[/card]
[card]
name=Titania's Song
auto=lord(artifact[-creature]) transforms((creature,noactivatedability,newability[manacost/manacost]))
auto=_DIES_all(artifact[-creature]|myBattlefield) transforms((creature,noactivatedability,newability[manacost/manacost])) ueot
@@ -95441,6 +95740,18 @@ mana={0}
type=Artifact
[/card]
[card]
name=Urza's Command
auto=choice name(Creatures get -2/0 and create powerstone) token(Powerstone) and!( tap(noevent) )! && ability$!name(Creatures get -2/0) all(creature|opponentbattlefield) transforms((,newability[-2/0])) ueot!$ controller
auto=choice name(Creatures get -2/0 and create construct) token(Construct) and!( tap(noevent) )! && ability$!name(Creatures get -2/0) all(creature|opponentbattlefield) transforms((,newability[-2/0])) ueot!$ controller
auto=choice name(Creatures get -2/0 and scry) scry:1 scrycore dontshow delayed transforms((,newability[draw:1 controller],newability[all(creature|opponentbattlefield) transforms((,newability[-2/0])) ueot])) oneshot scrycoreend scryend
auto=choice name(Create powerstone and create construct) token(Construct) and!( transforms((,newability[tap(noevent)],newability[token(Powerstone) and!( tap(noevent) )!])) forever )!
auto=choice name(Create powerstone and scry) token(Powerstone) and!( transforms((,newability[tap(noevent)],newability[name(Scry 1 and draw) scry:1 scrycore delayed draw:1 controller scrycoreend scryend])) oneshot )!
auto=choice name(Create construct and scry) token(Construct) and!( transforms((,newability[tap(noevent)],newability[name(Scry 1 and draw) scry:1 scrycore delayed draw:1 controller scrycoreend scryend])) forever )!
text=Choose two -- Creatures you don't control get -2/-0 until end of turn. -- Create a tapped Powerstone token. -- Create a tapped 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control." -- Scry 1, then draw a card.
mana={2}{U}{U}
type=Instant
[/card]
[card]
name=Urza's Miter
auto=@movedTo(artifact|mygraveyard) from(mybattlefield):may pay({3}) draw:1
text=Whenever an artifact you control is put into a graveyard from the battlefield, if it wasn't sacrificed, you may pay {3}. If you do, draw a card.
@@ -95546,7 +95857,8 @@ toughness=4
[/card]
[card]
name=Urza, Lord Protector
auto=lord(Artifact,instant,sorcery|mycastingzone) altercost(colorless,-1)
auto=lord(artifact,instant,sorcery|mycastingzone) altercost(colorless,-1)
auto={7}:name(Meld Urza) name(Meld Urza) target(The Mightstone and Weakstone|mybattlefield) meld(Urza, Planeswalker)
text=Artifact, instant, and sorcery spells you cast cost {1} less to cast. -- {7}: If you both own and control Urza, Lord Protector and an artifact named The Mightstone and Weakstone, exile them, then meld them into Urza, Planeswalker. Activate only as a sorcery.
mana={1}{W}{U}
type=Legendary Creature
@@ -101229,6 +101541,18 @@ power=5
toughness=5
[/card]
[card]
name=Wreck Hunter
abilities=flash
auto=choice name(Target opponent) foreach(*[-land&fresh]|opponentgraveyard) token(Powerstone) and!( tap(noevent) )!
auto=choice name(Target yourself) foreach(*[-land&fresh]|mygraveyard) token(Powerstone) and!( tap(noevent) )!
text=Flash -- When Wreck Hunter enters the battlefield, choose target player. You create a tapped Powerstone token for each nonland card in that player's graveyard that was put there from the battlefield this turn. (It's an artifact with "{T}: Add {C}. This mana can't be spent to cast a nonartifact spell.")
mana={B}{B}
type=Creature
subtype=Human Artificer
power=2
toughness=2
[/card]
[card]
name=Wrecking Beast
abilities=trample
auto=choice counter(1/1)

View File

@@ -1,6 +1,6 @@
#Planeswalkers Primitives Pack for Wagic the Homebrew.
#Please keep these card alphabetized, and try to have the "name=" line at the top of each card
#We sorted this in alphabetical order - Luruz & Vitty85 29-05-2023
#We sorted this in alphabetical order - Luruz & Vitty85 31-05-2023
[card]
name=Abian, Luvion Usurper
auto=counter(0/0,5,loyalty)
@@ -3221,6 +3221,7 @@ subtype=Ugin
[card]
name=Urza, Planeswalker
abilities=canloyaltytwice
auto=counter(0/0,7,Loyalty)
auto={C(0/0,2,Loyalty)}:name(+2: Artifacts and spells cost 2 less) token(Urza Emblem,Emblem,0/0,indestructible,shroud,notrigger,tnum.2) and!( transforms((,newability[life:2 controller],newability[lord(artifact|mycastingzone) changecost(colorless:-2) forcedalive],newability[lord(instant|mycastingzone) changecost(colorless:-2) forcedalive],newability[lord(sorcery|mycastingzone) changecost(colorless:-2) forcedalive],newability[treason])) forever )!
auto={C(0/0,1,Loyalty)}:name(+1: Draw and discard) draw:2 controller && transforms((,newability[target(*|myhand) reject])) forever
auto={C(0/0,0,Loyalty)}:name(+0: Create 2 soldiers) token(Soldier,Artifact Creature Soldier,1/1)*2

View File

@@ -10068,8 +10068,29 @@ int AACastCard::resolveSpell()
if(theNamedCard)
{
Spell * spell = NULL;
MTGCardInstance * copy = source->controller()->game->putInZone(theNamedCard, theNamedCard->currentZone, source->controller()->game->stack, noEvent); // Fixed a bug when using noevent option with namedcard option.
MTGCardInstance * copy = NULL;
if ((normal || asNormalMadness) || !theNamedCard->isSorceryorInstant())
{
if (putinplay && theNamedCard->isPermanent())
copy = theNamedCard->controller()->game->putInZone(theNamedCard, theNamedCard->currentZone, source->controller()->game->battlefield, noEvent); // Fixed a problem with double activation of card abilities.
else
copy = theNamedCard->controller()->game->putInZone(theNamedCard, theNamedCard->currentZone, source->controller()->game->stack, noEvent); // Fixed a bug when using noevent option with namedcard option.
}
else
{
if (putinplay && theNamedCard->isPermanent())
copy = theNamedCard->controller()->game->putInZone(theNamedCard, theNamedCard->currentZone, source->controller()->game->battlefield, noEvent); // Fixed a problem with double activation of card abilities.
else
copy = theNamedCard->controller()->game->putInZone(theNamedCard, theNamedCard->currentZone, source->controller()->game->stack, noEvent); // Fixed a bug when using noevent option with namedcard option.
}
if(!copy){
this->forceDestroy = true;
processed = false;
return 0;
}
copy->changeController(source->controller(),true);
if(asNormalMadness)
copy->MadnessPlay = true;
if(asCopy)
copy->isToken = 1; // Fixed a bug when using copied option with namedcard option.
if(alternative)
@@ -10083,7 +10104,6 @@ int AACastCard::resolveSpell()
copy->setX = costx;
copy->X = costx;
}
if (game->targetChooser)
{
game->targetChooser->Owner = source->controller();
@@ -10094,7 +10114,6 @@ int AACastCard::resolveSpell()
{
spell = game->mLayers->stackLayer()->addSpell(copy, NULL, NULL, 1, 0);
}
if (copy->has(Constants::STORM))
{
int storm = source->controller()->game->stack->seenThisTurn("*", Constants::CAST_ALL) + source->controller()->opponent()->game->stack->seenThisTurn("*", Constants::CAST_ALL);
@@ -10112,10 +10131,6 @@ int AACastCard::resolveSpell()
copy->castX = copy->X;
}
}
if (putinplay && (copy->hasType(Subtypes::TYPE_ARTIFACT) || copy->hasType(Subtypes::TYPE_CREATURE) || copy->hasType(Subtypes::TYPE_ENCHANTMENT) || copy->hasType(Subtypes::TYPE_PLANESWALKER) || copy->hasType(Subtypes::TYPE_BATTLE)))
spell->resolve(); // Fixed a crash when using and!()! with namedcard permanents.
if(andAbility)
{
MTGAbility * andAbilityClone = andAbility->clone();
@@ -10139,22 +10154,26 @@ int AACastCard::resolveSpell()
MTGCardInstance * copy = NULL;
if ((normal || asNormalMadness)||(!_target->hasType(Subtypes::TYPE_INSTANT) && !_target->hasType(Subtypes::TYPE_SORCERY)))
{
if (putinplay && (_target->hasType(Subtypes::TYPE_ARTIFACT)||_target->hasType(Subtypes::TYPE_CREATURE)||_target->hasType(Subtypes::TYPE_ENCHANTMENT)||_target->hasType(Subtypes::TYPE_PLANESWALKER)||_target->hasType(Subtypes::TYPE_BATTLE)))
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->reveal, noEvent); // Fixed a problem with previous zone of card, it cannot be directly battlefield.
if (putinplay && _target->isPermanent())
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->battlefield, noEvent); // Fixed a problem with double activation of card abilities.
else
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->stack, noEvent);
copy->changeController(source->controller(),true);
if(asNormalMadness)
copy->MadnessPlay = true;
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->stack, noEvent); // Fixed a bug when using noevent option with namedcard option.
}
else
{
if (putinplay && (_target->hasType(Subtypes::TYPE_ARTIFACT)||_target->hasType(Subtypes::TYPE_CREATURE)||_target->hasType(Subtypes::TYPE_ENCHANTMENT)||_target->hasType(Subtypes::TYPE_PLANESWALKER)||_target->hasType(Subtypes::TYPE_BATTLE)))
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->reveal, noEvent); // Fixed a problem with previous zone of card, it cannot be directly battlefield.
if (putinplay && _target->isPermanent())
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->battlefield, noEvent); // Fixed a problem with double activation of card abilities.
else
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->stack, noEvent);
copy->changeController(source->controller(),true);
copy = _target->controller()->game->putInZone(_target, _target->currentZone, source->controller()->game->stack, noEvent); // Fixed a bug when using noevent option with namedcard option.
}
if(!copy){
this->forceDestroy = true;
processed = false;
return 0;
}
copy->changeController(source->controller(), true);
if(asNormalMadness)
copy->MadnessPlay = true;
if(alternative)
copy->alternateCostPaid[ManaCost::MANA_PAID_WITH_ALTERNATIVE] = 1;
if(kicked > 0){
@@ -10188,7 +10207,6 @@ int AACastCard::resolveSpell()
else if(!flipped)
spell = game->mLayers->stackLayer()->addSpell(copy, NULL, NULL, 1, 0);
}
if (copy->has(Constants::STORM))
{
int storm = _target->controller()->game->stack->seenThisTurn("*", Constants::CAST_ALL) + source->controller()->opponent()->game->stack->seenThisTurn("*", Constants::CAST_ALL);
@@ -10220,7 +10238,6 @@ int AACastCard::resolveSpell()
andAbilityClone->addToGame();
}
}
this->forceDestroy = true;
processed = true;
return 1;

View File

@@ -7044,14 +7044,9 @@ int ActivatedAbility::isReactingToClick(MTGCardInstance * card, ManaCost * mana)
return 1;
if(card->hasType(Subtypes::TYPE_PLANESWALKER))
{
/*for(unsigned int k = 0;k < card->cardsAbilities.size();++k)
{
ActivatedAbility * check = dynamic_cast<ActivatedAbility*>(card->cardsAbilities[k]);
if(check && check->counters)
return 0;
}*/
// Improved the check to avoid the multiple triggers in case of abilities gained from other cards (e.g. Kasmina, Enigma Sage)
bool turnSide = false;
int howMany = 0;
for(unsigned int k = 0; k < card->getObserver()->mLayers->actionLayer()->mObjects.size(); ++k)
{
ActivatedAbility * check = dynamic_cast<ActivatedAbility*>(card->getObserver()->mLayers->actionLayer()->mObjects[k]);
@@ -7059,10 +7054,11 @@ int ActivatedAbility::isReactingToClick(MTGCardInstance * card, ManaCost * mana)
if(!turnSide && check && check->source == card){
if(check->counters && !card->has(Constants::CANLOYALTYTWICE))
return 0;
else if(check->counters > 1 && card->has(Constants::CANLOYALTYTWICE))
return 0;
howMany += check->counters;
}
}
if(howMany > 1 && card->has(Constants::CANLOYALTYTWICE))
return 0;
if (player != game->currentPlayer)
return 0;
if (!turnSide && (cPhase != MTG_PHASE_FIRSTMAIN && cPhase != MTG_PHASE_SECONDMAIN))
@@ -7090,9 +7086,7 @@ int ActivatedAbility::isReactingToClick(MTGCardInstance * card, ManaCost * mana)
return 0;
}
}
}
if (!mana)
mana = player->getManaPool();
if (!mana->canAfford(cost,card->has(Constants::ANYTYPEOFMANAABILITY)))