M14 set 231/249

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

Re: M14 set 231/249

Post by Tacoghandi »

KF1 wrote:Tacoghandi,

I have adjusted the card dat file and primitives. Thank you.
Assuming that you got rid of the space after the Academy Raider in the primitives then. I just found that one.
!!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: M14 set 231/249

Post by Tacoghandi »

Cyclops Tyrants power can use this code instead. I think this is the proper code for it.

This

Code: Select all

auto=lord(creature[power<=2]) cantbeblockedby(Cyclops Tyrant)
Should be

Code: Select all

auto=cantbeblockerof(creature[power<=2])
Dark Prophecy is not a may ability

Devout Invocation does not need a custom token or the *X at the end of the line. Also the target needs to be creatures you control

This code works fine

Code: Select all

[card]
name=Devout Invocation
target=<anyamount>creature[-tapped]|mybattlefield
auto=tap && token(Angel, Creature Angel,4/4,flying,white)
text=Tap any number of untapped creatures you control. -- Put a 4/4 white Angel creature token with flying onto the battlefield for each creature tapped this way. 
mana={6}{W}
type=Sorcery
[/card]
Dismiss into Dream should use lord instead of all and the transform line can be written a bit differently

Code: Select all

auto=lord(creature|opponentbattlefield) transforms((Illusion,newability[@targeted(this):sacrifice])) 
!!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: M14 set 231/249

Post by Tacoghandi »

Dragon Egg was not working at all. Here is the proper code for it

This is the primitive including token.

Code: Select all

[card]
name=Dragon Egg
abilities=defender
auto=@movedTo(this|graveyard) from(mybattlefield):token(-370660)
text=Defender. -- When Dragon Egg dies, put a 2/2 red Dragon creature token with flying onto the battlefield. It has "{R}: This creature gets +1/+0 until end of turn".
mana={2}{R}
type=Creature
subtype=Dragon
power=0
toughness=2
[/card]
[card]
name=Dragon Egg Dragon
abilities=flying
auto={R}:1/0 ueot
text=Flying -- {R}: This creature gets +1/+0 until end of turn.
type=Creature
subtype=Dragon
color=red
power=2
toughness=2
[/card]
This needs to go in the _card.dat file

Code: Select all

[card]
primitive=Dragon Egg Dragon
id=-370660
rarity=T
[/card]
This will force the token image that is from Dragon egg id 370660t to be used and the creature will work correctly

Uses -370660 because a negative number on an actual card id will make the image used be the token image that is attached to that cards id. but the token still has to be added to the _card.dat or it will not work.
Last edited by Tacoghandi on Thu Jul 25, 2013 6:33 am, edited 1 time in total.
!!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: M14 set 231/249

Post by Tacoghandi »

I am not sure Enlarge is actually codable. Lure forces all creatures to block where Enlarge only requires that at least one creature blocks it. I don't see a code available for it so it will not work correctly. Maybe the devs will know a way to code it but I don't.

Just wanted to let you know that the card is not 100%
!!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: M14 set 231/249

Post by Tacoghandi »

Festering Newt can be done without having to use a transformation code. I think this is a cleaner code for it but if yours works than its up to you.

Code: Select all

auto=@movedto(this|graveyard) from(mybattlefield):if type(Bogbrew Witch|mybattlefield)~morethan~0 then target(creature|opponentbattlefield) -4/-4 ueot else target(creature|opponentbattlefield) -1/-1 ueot
Gnawing Zombie can sacrifice himself and it is not a choice ability

Code: Select all

auto={S(creature|myBattlefield)}:life:-1 target(player) && life:1 controller
Goblin Diplomats had errors in his attack line

Code: Select all

auto={T}:all(creature|battlefield) mustattack ueot
Grim return's targeting could be changed. Both would work but this is more correct.

Code: Select all

auto=moveTo(myBattlefield) target(creature[fresh]|graveyard)
Guardian of Ages ability is supposed to be permanent but I can not figure out how to code it.
Help would be appreciated

Code: Select all

[card]
name=Guardian of the Ages
abilities=defender
auto=????
text=Defender. -- Whenever a creature attacks you or a planeswalker you control, if Guardian of the Ages has defender, it loses defender and gains trample.
mana={7}
type=Artifact Creature
subtype=Golem
power=7
toughness=7
[/card]
Haunted Plate Mail needs to lose the its ability to be able to be equipped after it turns into a creature so I use this line to shut off its abilities. Not sure if this is perfect but it works for now.

Code: Select all

auto={0}:all(this) loseabilities ueot && becomes(Spirit Artifact Creature,4/4) ueot restriction{type(creature|mybattlefield)~lessthan~1}
Working Hunt the Weak code. Based on Prey Upon. Add restriction due to card rulings.

Code: Select all

[card]
name=Hunt the Weak
target=creature|mybattlefield
auto=counter(1/1,1)
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot
restriction=type(creature|opponentbattlefield)~morethan~0
text=Put a +1/+1 counter on target creature you control. -- Then that creature fights target creature you don't control. 
mana={3}{G}
type=Sorcery
[/card]
Working Lifebane Zombie ability. Based on Mesmeric Fiend. Remove the Target=opponent line since it is a enters the battlefield ability.

Code: Select all

auto=choice name(target opponent) target(opponent) donothing && all(this) transforms((,newability[if type(creature[green;white]|targetedpersonshand)~lessthan~1 then name(look) donothing notatarget(*|targetedpersonshand) else moveto(exile) notatarget(*[green;white]|targetedpersonshand)])) forever
!!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: M14 set 231/249

Post by Tacoghandi »

Liliana's Reaver had wrong casting cost should be {2}{B}{B} and I changed the abilities so that they work as choice discard not random and only on combat damage. Also changed the card id for the token to match the negative version of the id for the reaver since that will make image appear. It is also supposed to be a 4/3 not a 2/2

Code: Select all

auto=@combatdamaged(opponent) from(this):token(-370740)
auto=@combatdamaged(opponent) from(this):ability$!name(discard) notatarget(*|myhand) reject!$ opponent
Fixed Liturgy of Blood for correct code

Code: Select all

[card]
name=Liturgy of Blood
target=creature
auto=destroy
auto=add{B}{B}{B}
text=Destroy target creature. Add {B}{B}{B} to your mana pool.
mana={3}{B}{B}
type=Sorcery
[/card]
I changed manaweft sliver based on gemhide sliver though other code should work fine.

Code: Select all

lord(sliver|mybattlefield) transforms((,newability[{t}:add{g}],newability[{t}:add{r}],newability[{t}:add{u}],newability[{t}:add{b}],newability[{t}:add{w}]))
Master of Diversion is not a may ability

Seperated the instant and sorcery into two lines on Mindsparker not sure if necessary, just my personal preference

Code: Select all

auto=@movedTo(instant[white;blue]|opponentStack):damage:2 opponent
auto=@movedTo(sorcery[white;blue]|opponentStack):damage:2 opponent
Last edited by Tacoghandi on Thu Jul 25, 2013 9:45 am, edited 1 time in total.
!!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: M14 set 231/249

Post by Tacoghandi »

I don't think molten birth is codable since the coin flip is part of the resolution of the spell you would have to be able to move it back to hand before it hits the graveyard. I can not figure out how to do this. somehow it works for the beacons for moving them to the library so it must be the coin flip code.

Oath of the Ancient Wood was broke

Code: Select all

auto=may counter(1/1,1) target(creature) restriction{type(creature|battlefield)~morethan~0}
auto=@movedTo(enchantment|myBattlefield) restriction{type(creature|battlefield)~morethan~0}:may counter(1/1,1) target(creature)
Primeval Bounty is not an Aura

This is the best I can do wity Scourge of Valkas ability though I wish I could get the other dragons to be able to have target(creature,player) instead of having to separate them. This is the correct way to code his damage ability.

Code: Select all

auto=damage:type:dragon:mybattlefield target(creature,player)
auto=lord(dragon[-scourge of valkas]|mybattlefield) transforms((,newability[name(damage creature) damage:type:dragon:mybattlefield target(creature)],newability[name(damage player) damage:type:dragon:mybattlefield target(player)]))
having from(creature) in Seraph of the Sword is unecessary

you forgot the upkeep check on Shadowborn Demon. Here is how I coded it

Code: Select all

auto=@each myupkeep:if type(creature|mygraveyard)~lessthan~6 then sacrifice
This way you don't need the alternative line either
!!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: M14 set 231/249

Post by Tacoghandi »

Syphon Sliver is supposed to have lifelink not flying

Tenacious Dead is a triggered effect on death not an activated ability

Code: Select all

autograveyard=@movedto(this|mygraveyard) from(mybattlefield):all(trigger) transforms((,newability[name(Pay 1B) pay[[{1}{B}]] name(pay 1B mana) moveto(ownerbattlefield} && tap?name(cancel) donothing])) oneshot
Trained Condor says another in its text so it should be (other creature|mybattlefield)

Same with Vampire Warlord. Says another so must use(other creature|mybattlefield)

Vastwood Hydra does not target the creature so it should say notatarget

I belive this is the correct line for Windreader Sphinx

Code: Select all

auto=@each blockers:foreach(creature[attacking;flying]|battlefield) draw:1 controller
you forgot the black part of Witchstalker and its not a may ability. It was also restricted to opponents hand.

Code: Select all

auto=@movedto(*[blue;black]|opponentstack) restriction{myturnonly}: counter(1/1,1) all(this)
You can not have more than one primitive with the same name. It will cause game issues. The Zathrid Necromancer zombie token should be renamed and done the same as Liliana's Reaver above.

Card and Token

Code: Select all

[card]
name=Xathrid Necromancer
autograveyard=@movedTo(this|graveyard) from(mybattlefield):token(-370619) controller
auto=@movedTo(other human|graveyard) from(mybattlefield):token(-370619) controller
text=Whenever Xathrid Necromancer or another Human creature you control dies, put a 2/2 black Zombie creature token onto the battlefield tapped.
mana={2}{B}
type=Creature
subtype=Human Wizard
power=2
toughness=2
[/card]
[card]
name=Xathrid Necromancer Zombie
type=Creature
subtype=Zombie
auto=tap
power=2
toughness=2
color=black
[/card]
Card.dat add for token

Code: Select all

[card]
primitive=Xathrid Necromancer Zombie
id=-370619
rarity=T
[/card]
!!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: M14 set 231/249

Post by Tacoghandi »

Banishing Priest is not a may ability and since it is opponent creature you don't need other in the target line

Bogbrew Witch can search on one line instead of two

Code: Select all

auto={2}{T}:moveTo(myBattlefield) and!(tap)! target(Festering Newt,Bubbling Cauldron|mylibrary)
Colossal Whale had a typo in ability. You forgot a p in opponent.
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Re: M14 set 231/249

Post by KF1 »

Tacoghandi,

I really appreciate the time you have taken to explain the corrections. More importantly, this helps provide explanations on why certain cards can only be coded in specific ways.

Having these issues pointed out also reminds me that I still have much to learn about coding.

I also hope this thread can be a reference for others starting out coding cards for Wagic.

It makes more sense for you to post the M14 primitives and card .dat file since you have made all the revisions already. Please post them when you are able.

Thank you for the constructive criticism.
Locked