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.ph34rbot wrote:Taco, so you used the codes that were posted previously or did you start from zero (hope not)?
Dragons of Tarkir WIP
-
Tacoghandi
- Posts: 1197
- Joined: Thu Apr 28, 2011 11:34 pm
Re: Dragons of Tarkir WIP
-
Tacoghandi
- Posts: 1197
- Joined: Thu Apr 28, 2011 11:34 pm
Re: Dragons of Tarkir WIP
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.
-
Tacoghandi
- Posts: 1197
- Joined: Thu Apr 28, 2011 11:34 pm
Re: Dragons of Tarkir WIP
Android Sized Images with Tokens
https://www.dropbox.com/s/in2nvtwzgdfxvpw/DTK.zip?dl=0
https://www.dropbox.com/s/in2nvtwzgdfxvpw/DTK.zip?dl=0
-
sandman423
- Posts: 806
- Joined: Thu Sep 10, 2009 8:59 pm
Re: Dragons of Tarkir WIP
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
All bolster is fixed grab primitives from page 3.sandman423 wrote:Anafenza Bolsters onto the opponents creatures...I found this bug.
Re: Dragons of Tarkir WIP
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
[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
Fixed on page 3 post. Thanks for the catch.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
-
kevlahnota
- Posts: 619
- Joined: Tue Feb 08, 2011 3:00 pm
- Location: Philippines
- Contact:
Re: Dragons of Tarkir WIP
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]
Optimized Android Images - up to Aether Revolt
MTG Dynamic Theme
HIRES MTG THEME FOR LATEST WAGIC GIT
------------------------------------
<DOTP> MAGIC 2014 Custom DLC
MTG Dynamic Theme
HIRES MTG THEME FOR LATEST WAGIC GIT
------------------------------------
<DOTP> MAGIC 2014 Custom DLC
-
Tacoghandi
- Posts: 1197
- Joined: Thu Apr 28, 2011 11:34 pm
Re: Dragons of Tarkir WIP
Worked great thanks. Added to primitive post on page 3kevlahnota 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]
-
kevlahnota
- Posts: 619
- Joined: Tue Feb 08, 2011 3:00 pm
- Location: Philippines
- Contact:
Re: Dragons of Tarkir WIP
just created pull request on gitub, formidable cards can be coded something like this:
Atarka Beastbreaker
if you can't wait try adding the code to AllAbilities.h then compile...
Atarka Beastbreaker
Code: Select all
auto={4}{G}:4/4 restriction{compare(powertotalinplay)~morethan~7}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;
}
}
}Optimized Android Images - up to Aether Revolt
MTG Dynamic Theme
HIRES MTG THEME FOR LATEST WAGIC GIT
------------------------------------
<DOTP> MAGIC 2014 Custom DLC
MTG Dynamic Theme
HIRES MTG THEME FOR LATEST WAGIC GIT
------------------------------------
<DOTP> MAGIC 2014 Custom DLC