How to fix this coding for my custom card?

For all your questions regarding Image Card Coding.
Please read the Image Posting Guideline & Index before posting in this forum.
Forum rules
DO NOT POST BUG REPORT IN THIS FORUM !!

Please read carefully the forum rules related to the card coding section : viewtopic.php?f=21&t=1545

All post will be edited to follow forum rules.
Locked
Deltagameromega
Posts: 2
Joined: Wed Oct 21, 2015 11:40 pm

How to fix this coding for my custom card?

Post by Deltagameromega »

[card]
name=Pillar of Flame
type=creature
subtype=Tower
auto={0}:draw:1 &&damage:2 (battlefield|creature)
rarity=R
mana={4}{R}
power=0
toughness=4
abilities=defender
text=Defender {0}:Draw a card and deal 2 damage to all creatures
id=3000021
[/card]

It should work, but instead it just does damage to itself and that's it. How do I fix this?!
i-am-not-one
Posts: 304
Joined: Fri Dec 07, 2012 4:36 am

Re: How to fix this coding for my custom card?

Post by i-am-not-one »

I just had a look through the primitives mtg.txt file.

I think maybe you need damage:2 all(battlefield|creature)

Or something like this.
Deltagameromega
Posts: 2
Joined: Wed Oct 21, 2015 11:40 pm

Re: How to fix this coding for my custom card?

Post by Deltagameromega »

i-am-not-one wrote:I just had a look through the primitives mtg.txt file.

I think maybe you need damage:2 all(battlefield|creature)

Or something like this.
Hmm...Just tried that. Now it doesn't even damage the pillar of flame... I wonder if it's a bug or something?
kevlahnota
Posts: 619
Joined: Tue Feb 08, 2011 3:00 pm
Location: Philippines
Contact:

Re: How to fix this coding for my custom card?

Post by kevlahnota »

auto={0}:draw:1 && damage:2 all(creature)
Locked