Corrections to 18.6 mtg.txt

Do not post feature requests here, please.
Before posting bugs report check the Image Bug reporting help & guidelines
Forum rules
Do not post Features/Improvments request here (i.e : AI being stupid is not a bug, not being able to do a mulligan is not a bug, etc..etc..)
Before posting, please read the Bugs reporting guideline
Locked
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Corrections to 18.6 mtg.txt

Post by KF1 »

Lets start a list of CORRECT FIXES to the mtg.txt.

I'll start:

Agility was missing it's +1/+1 counter for the creature it enchants.zeth:careful with phrasing here..it does not state counter...you mean it didn't have the +1/+1 pt bonus...

Code: Select all

[card]
name=Agility
target=creature
auto=1/1
auto=teach(creature) flanker
auto=teach(creature) flanking
text=Enchant creature -- Enchanted creature gets +1/+1 and has flanking. (Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn.)
mana={1}{R}
type=Enchantment
subtype=Aura
[/card]
Auriok Windwalker had battlefield not correctly spelled.

Code: Select all

[card]
name=Auriok Windwalker
abilities=flying
auto={T}:target(equipment|mybattlefield) transforms((,newability[retarget target(creature|mybattlefield)])) forever
text=Flying -- {T}: Attach target Equipment you control to target creature you control.
mana={3}{W}
type=Creature
subtype=Human Wizard
power=2
toughness=3
[/card]
Akki Underminer, Brass Squire, Cabal Slaver, Kor Outfitter,Pillar Tombs of Aku, also have this "mybattefield" error

Chlorophant needed a graveyard fix.

Code: Select all

[card]
name=Chlorophant
auto=@each myupkeep:may counter(1/1,1) && aslongas(*|mygraveyard) counter(1/1,1) >6
text=At the beginning of your upkeep, you may put a +1/+1 counter on Chlorophant. -- Threshold - As long as seven or more cards are in your graveyard, Chlorophant has "At the beginning of your upkeep, you may put another +1/+1 counter on Chlorophant."
mana={G}{G}{G}
type=Creature
subtype=Elemental
power=1
toughness=1
[/card]
jwilkes99999
Posts: 151
Joined: Sun Jan 16, 2011 8:58 pm

Re: Corrections to 18.6 mtg.txt

Post by jwilkes99999 »

Burning Vengence works but was not included (Needed it for my flashback deck):

Code: Select all

[card]
name=Burning Vengence
auto=@movedTo(*|stack) from(mygraveyard):damage:2 target(creature,player)
mana={2}{R}
type=Enchantment
[/card]
Also, can anyone find a bug in Koth of the Hammer's code? It looks correct to me but his last ability wants to target a creature when activated and then the lands get the ability "Koth of the Hammer" which does nothing.
User avatar
ph34rbot
Posts: 280
Joined: Thu Jan 07, 2010 6:33 am

Re: Corrections to 18.6 mtg.txt

Post by ph34rbot »

Updated the primitives, added burning vengeAnce, will check koth...
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Re: Corrections to 18.6 mtg.txt

Post by KF1 »

Some cards have:

opponent upkeep
my upkeep

Shouldn't they be:

opponentupkeep
myupkeep

etc.?

Don't forget about the Planechase 2012 cards.
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Corrections to 18.6 mtg.txt

Post by Zethfox »

my upkeep ,myupkeep...both work...the parser looks for my and opponent tag...then it looks for the phase...
so you can write(though not recommended)
"my spaghetti upkeep tomato sauce"
and the parser will still find "my" and "upkeep"

this won't work for obvious reasons "my opponent upkeep" because it include both tags the parser will find "my" before it find opponent.
Rustus
Posts: 49
Joined: Tue Jul 10, 2012 12:34 am
Location: Somewhere on Ravnica

Re: Corrections to 18.6 mtg.txt

Post by Rustus »

The Rack (Fixed from what Black Vise was cuz I misunderstood the card):

Code: Select all

auto=@each opponent upkeep:foreach(*|opponenthand) damage:1 opponent <3
Chosen of Markov

Code: Select all

auto={T}{T(creature[vampire])}:flip(Markov's Servant)
the above code was listed under abilities instead of auto.
Last edited by Rustus on Sun Jul 15, 2012 9:42 pm, edited 1 time in total.
"Fly with me, forever higher... And with these wings, we'll set the world on fire!"
-Symphony X
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Re: Corrections to 18.6 mtg.txt

Post by KF1 »

Rustus wrote:Black Vise:

Code: Select all

auto=@each opponent upkeep:foreach(*|opponenthand) damage:1 opponent <4
It was using a >, making it so that if you had more than 4 you ate damage. The Rack was coded similarly and fixed the same way.

Chosen of Markov

Code: Select all

auto={T}{T(creature[vampire])}:flip(Markov's Servant)
the above code was listed under abilities instead of auto.
Don't leave us hanging.

What was the correct The Rack coding?

New folks need to see this type of thread so we can help them learn how to do these type of fixes too.
timmermac
Posts: 99
Joined: Wed May 19, 2010 1:50 pm

Re: Corrections to 18.6 mtg.txt

Post by timmermac »

Black Vise wasn't coded wrong. It has always worked for me. It's supposed to do damage if opponent has more than 4 cards in hand. The Rack is supposed to do damage if opponent has less than 3 cards in hand.
Rustus
Posts: 49
Joined: Tue Jul 10, 2012 12:34 am
Location: Somewhere on Ravnica

Re: Corrections to 18.6 mtg.txt

Post by Rustus »

Oh... heh. Misunderstood the card. Carry on lol. But The Rack was functioning as Vise was, and I did correct that. (hastily deletes the incorrect Black Vise coding)

And wow, was I an air brain lol. Here's the Rack's proper coding (Also fixed above)

Code: Select all

auto=@each opponent upkeep:foreach(*|opponenthand) damage:1 opponent <3
"Fly with me, forever higher... And with these wings, we'll set the world on fire!"
-Symphony X
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Corrections to 18.6 mtg.txt

Post by Zethfox »

those cards can't be incorrect, I just don't agree..becuase we have test suite test based on them.

As Black Vise enters the battlefield, choose an opponent.
At the beginning of the chosen player's upkeep, Black Vise deals X damage to that player, where X is the number of cards in his or her hand minus 4.

that means, the player can have 4 cards in hand before they take damage.
so at 5 cards you take 1 damage...
that is <4 ....not <3 ...at greater then 3 the card text would read
where X is the number of cards in his or her hand minus 3.

it is important that if you base a bug report off a actual card, that you check the wording on gatherer...
Locked