Dragons of Tarkir WIP

All user created custom sets, custom game mode and modded official content.
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Dragons of Tarkir WIP

Post by Tacoghandi »

ph34rbot wrote:Taco, so you used the codes that were posted previously or did you start from zero (hope not)?
I used the outline that you provided and went from there and I will use some codes that are provided, but I tend to code everything from scratch and test any code I am not sure may work. I definitely do not do this on my own though. Everyone puts what they can into this game. I am a judge for the game so I like to make sure that cards will work and interact as close to the official rules as possible.
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Dragons of Tarkir WIP

Post by Tacoghandi »

Obscuring AEther in the cards.dat should be using the letters AE instead of the combo letter symbol. Guessing the program for the backbone needs to do it that way but all other AEther cards use the letters instead.
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Dragons of Tarkir WIP

Post by Tacoghandi »

!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
sandman423
Posts: 806
Joined: Thu Sep 10, 2009 8:59 pm

Re: Dragons of Tarkir WIP

Post by sandman423 »

Anafenza Bolsters onto the opponents creatures...I found this bug.
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Dragons of Tarkir WIP

Post by Tacoghandi »

sandman423 wrote:Anafenza Bolsters onto the opponents creatures...I found this bug.
All bolster is fixed grab primitives from page 3.
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
phoust
Posts: 184
Joined: Sat Jan 15, 2011 12:03 pm
Location: Gangnam, Corea

Re: Dragons of Tarkir WIP

Post by phoust »

Taco's file have some codes error

[card]
name=Arashin Foremost
abilities=double strike
auto=target(other creature[warrior]|mybattlefield) double strike ueot
auto=@combat(attacking) source(this):target(other creature[warrior]|mybattlefield) double strike ueot
text=Double strike -- Whenever Arashin Foremost enters the battlefield or attacks, another target Warrior creature you control gains double strike until end of turn.
mana={1}{W}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]

[card]
name=Servant of the Scale
auto=counter(1/1,1)
auto=@movedTo(this|mygraveyard) from(myBattlefield):choice thisforeach(counter{1/1.1}) counter(1/1,1) target(creature|mybattlefield)
text=Servant of the Scale enters the battlefield with a +1/+1 counter on it. -- When Servant of the Scale dies, put X +1/+1 counters on target creature you control, where X is the number of +1/+1 counters on Servant of the Scale.
mana={G}
type=Creature
subtype=Human Soldier
power=0
toughness=0
[/card]
counter 1/1,1
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Dragons of Tarkir WIP

Post by Tacoghandi »

phoust wrote:Taco's file have some codes error

[card]
name=Arashin Foremost
abilities=double strike
auto=target(other creature[warrior]|mybattlefield) double strike ueot
auto=@combat(attacking) source(this):target(other creature[warrior]|mybattlefield) double strike ueot
text=Double strike -- Whenever Arashin Foremost enters the battlefield or attacks, another target Warrior creature you control gains double strike until end of turn.
mana={1}{W}{W}
type=Creature
subtype=Human Warrior
power=2
toughness=2
[/card]

[card]
name=Servant of the Scale
auto=counter(1/1,1)
auto=@movedTo(this|mygraveyard) from(myBattlefield):choice thisforeach(counter{1/1.1}) counter(1/1,1) target(creature|mybattlefield)
text=Servant of the Scale enters the battlefield with a +1/+1 counter on it. -- When Servant of the Scale dies, put X +1/+1 counters on target creature you control, where X is the number of +1/+1 counters on Servant of the Scale.
mana={G}
type=Creature
subtype=Human Soldier
power=0
toughness=0
[/card]
counter 1/1,1
Fixed on page 3 post. Thanks for the catch.
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
kevlahnota
Posts: 619
Joined: Tue Feb 08, 2011 3:00 pm
Location: Philippines
Contact:

Re: Dragons of Tarkir WIP

Post by kevlahnota »

can you try this for clone legion:

Code: Select all

[card]
name=Clone Legion
target=player
auto=clone all(creature|targetedpersonsbattlefield)
text=For each creature target player controls, put a token onto the battlefield that's a copy of that creature.
mana={7}{U}{U}
type=Sorcery
[/card]
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Dragons of Tarkir WIP

Post by Tacoghandi »

kevlahnota wrote:can you try this for clone legion:

Code: Select all

[card]
name=Clone Legion
target=player
auto=clone all(creature|targetedpersonsbattlefield)
text=For each creature target player controls, put a token onto the battlefield that's a copy of that creature.
mana={7}{U}{U}
type=Sorcery
[/card]
Worked great thanks. Added to primitive post on page 3
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
kevlahnota
Posts: 619
Joined: Tue Feb 08, 2011 3:00 pm
Location: Philippines
Contact:

Re: Dragons of Tarkir WIP

Post by kevlahnota »

just created pull request on gitub, formidable cards can be coded something like this:

Atarka Beastbreaker

Code: Select all

auto={4}{G}:4/4 restriction{compare(powertotalinplay)~morethan~7}
if you can't wait try adding the code to AllAbilities.h then compile...

Code: Select all

       else if (s == "powertotalinplay")//Count Total Power of Creatures you control... Formidable
        {
            intValue = 0;
            for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
            {
                if (card->controller()->game->inPlay->cards[j]->hasType(Subtypes::TYPE_CREATURE))
                {
                intValue += card->controller()->game->inPlay->cards[j]->power;
                }
            }
        }
Locked