? coding multiple effects for custom Planeswalker ability ?

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
GrimmHatter
Posts: 32
Joined: Thu May 27, 2010 12:37 am

? coding multiple effects for custom Planeswalker ability ?

Post by GrimmHatter »

I'm trying out making some custom cards, one of which is a planeswalker that drops custom spider tokens (coded elsewhere) on your battlefield. It goes like this:

Code: Select all

auto=counter(0/0,4,loyalty)
auto={C(0/0,1,Loyalty)}:name(1 Spiderling token) token(8000002)
auto={C(0/0,-1,Loyalty)}:name(1 Spiderling token) lord(spider) haste ueot && token(8000002)
auto={C(0/0,-2,Loyalty)}:name(2 Spiderling tokens) lord(spider) haste ueot && token(8000002)*2
auto={C(0/0,-3,Loyalty)}:name(3 Spiderling tokens) lord(spider) haste ueot && token(8000002)*3
auto={C(0/0,-4,Loyalty)}:name(4 Spiderling tokens) lord(spider) haste ueot && token(8000002)*4
auto={C(0/0,-5,Loyalty)}:name(5 Spiderling tokens) lord(spider) haste ueot && token(8000002)*5
For a +1, he drops a Spiderling token of creature type spider. For -X, he drops X Spiderling tokens and is supposed to give all spider creatures (not just the tokens) haste ueot. Problem is, he drops the correct number of tokens, but doesn't give them haste. However, any spider creature already summoned that same turn before the ability is activated does get haste. Any spider creature that enters the battlefield after the ability's activation (but before combat) does NOT get haste. How can I accurately code this ability to give all spider creatures haste ueot?
kevlahnota
Posts: 619
Joined: Tue Feb 08, 2011 3:00 pm
Location: Philippines
Contact:

Re: ? coding multiple effects for custom Planeswalker abilit

Post by kevlahnota »

GrimmHatter wrote:I'm trying out making some custom cards, one of which is a planeswalker that drops custom spider tokens (coded elsewhere) on your battlefield. It goes like this:

Code: Select all

auto=counter(0/0,4,loyalty)
auto={C(0/0,1,Loyalty)}:name(1 Spiderling token) token(8000002)
auto={C(0/0,-1,Loyalty)}:name(1 Spiderling token) lord(spider) haste ueot && token(8000002)
auto={C(0/0,-2,Loyalty)}:name(2 Spiderling tokens) lord(spider) haste ueot && token(8000002)*2
auto={C(0/0,-3,Loyalty)}:name(3 Spiderling tokens) lord(spider) haste ueot && token(8000002)*3
auto={C(0/0,-4,Loyalty)}:name(4 Spiderling tokens) lord(spider) haste ueot && token(8000002)*4
auto={C(0/0,-5,Loyalty)}:name(5 Spiderling tokens) lord(spider) haste ueot && token(8000002)*5
For a +1, he drops a Spiderling token of creature type spider. For -X, he drops X Spiderling tokens and is supposed to give all spider creatures (not just the tokens) haste ueot. Problem is, he drops the correct number of tokens, but doesn't give them haste. However, any spider creature already summoned that same turn before the ability is activated does get haste. Any spider creature that enters the battlefield after the ability's activation (but before combat) does NOT get haste. How can I accurately code this ability to give all spider creatures haste ueot?
if you're using the latest-git you can grant tokens ability like this:

Code: Select all

auto=counter(0/0,4,loyalty)
auto={C(0/0,1,Loyalty)}:name(1 Spiderling token) token(8000002)
auto={C(0/0,-1,Loyalty)}:name(1 Spiderling token) token(8000002) and!(haste ueot)!
auto={C(0/0,-2,Loyalty)}:name(2 Spiderling tokens) token(8000002) and!(haste ueot)!*2
auto={C(0/0,-3,Loyalty)}:name(3 Spiderling tokens) token(8000002) and!(haste ueot)!*3
auto={C(0/0,-4,Loyalty)}:name(4 Spiderling tokens) token(8000002) and!(haste ueot)!*4
auto={C(0/0,-5,Loyalty)}:name(5 Spiderling tokens) token(8000002) and!(haste ueot)!*5
or if you want haste to all spiders:

Code: Select all

auto=counter(0/0,4,loyalty)
auto={C(0/0,1,Loyalty)}:name(1 Spiderling token) token(8000002)
auto={C(0/0,-1,Loyalty)}:name(1 Spiderling token) token(8000002) and!( transforms((,newablity[all(spider|mybattlefield) haste])) ueot )!
auto={C(0/0,-2,Loyalty)}:name(2 Spiderling tokens) token(8000002) and!( transforms((,newablity[all(spider|mybattlefield) haste])) ueot )!*2
auto={C(0/0,-3,Loyalty)}:name(3 Spiderling tokens) token(8000002) and!( transforms((,newablity[all(spider|mybattlefield) haste])) ueot )!*3
auto={C(0/0,-4,Loyalty)}:name(4 Spiderling tokens) token(8000002) and!( transforms((,newablity[all(spider|mybattlefield) haste])) ueot )!*4
auto={C(0/0,-5,Loyalty)}:name(5 Spiderling tokens) token(8000002) and!( transforms((,newablity[all(spider|mybattlefield) haste])) ueot )!*5
Locked