Nicol Bolas, Planeswalker

Discute about general card coding keyword, ask questions and get answer about the mechanism, about the guideline, the direction we want to go...etc...
Locked
dopple
Posts: 26
Joined: Sat Nov 05, 2011 2:20 pm

Nicol Bolas, Planeswalker

Post by dopple »

I think Nicol Bolas, Planeswalker might be playable now. but not added yet.
coded by referencing older posts.

Code: Select all

[card]
name=Nicol Bolas, Planeswalker
mana={4}{U}{B}{B}{R}
auto=counter(0/0,5,loyalty)
auto={C(0/0,3,Loyalty)}:name(Destroy target non-creature permanent) destroy target(*[-creature])
auto={C(0/0,-2,Loyalty)}:name(Gain control of target creature) moveTo(myBattlefield) target(creature)
auto={C(0/0,-9,Loyalty)}:name(Ultimate) target(opponent) damage:7 && discard:7 && ability$! notatarget(<7>*|mybattlefield) sacrifice!$
type=Planeswalker
text=+3: Destroy target non-creature permanent. -- -2: Gain control of target creature -- -9: Nicol Bolas, Planeswalker deals 7 damage to target player. That player discards seven cards, then sacrifices seven permanents.
[/card]
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Nicol Bolas, Planeswalker

Post by Zethfox »

maybe, but

ability$! notatarget(<7>*|myhand) reject!$

instead of discard:7
becuase the player should be able to choose the cards....

I made changes to menu abilities that might have made this possible now...no one has confirmed everything, which is why I end up getting so frustrated...

you also might want to use targetedplayer tag

ability$! notatarget(<7>*|myhand) reject!$ targetedplayer
target(opponent) would be incorrect, as it should be usable on yourself also...
it is so important that you follow the card text/ruling as closly as possible.
target player <---on card, in your code you put target(opponent)
dopple
Posts: 26
Joined: Sat Nov 05, 2011 2:20 pm

Re: Nicol Bolas, Planeswalker

Post by dopple »

thanks for your advice. I missunderstood 3rd ability and forgot "discard" means "random discard".

my first try is below. even if target self, it works correctly.

auto={C(0/0,-9,Loyalty)}:name(Ultimate) target(player) damage:7 && discard:7 targetedplayer && ability$!notatarget(<7>*|targetedpersonsbattlefield) sacrifice!$ targetedplayer

so, I tried to change "random discard" to "choosen discard"

auto={C(0/0,-9,Loyalty)}:name(Ultimate) target(player) damage:7 && ability$!name(Discard 7 cards) notatarget(<7>*|myhand)!$ targetedplayer && ability$!name(Sacrifice 7 permanent) notatarget(<7>*|mybattlefield) sacrifice!$ targetedplayer

but something wrong... ( I can't explain how it does, because I'm not good at english )

I guess multiple ability$! !$ clauses cause error.

* (out of the topic, but may be it has some connections )
"Blightning" / {1}{B]{R} / Sorcery / deals 3 damages to target player. that player discard 2 cards.

Code: Select all

[card]
name=Blightning
target=player
auto=damage:3
auto=ability$!name(discard 2 cards) target(<2>*|myhand) reject!$targetedplayer
text=Blightning deals 3 damage to target player. That player discards two cards.
mana={1}{B}{R}
type=Sorcery
[/card]
If targeted self, damages dealt correctly but opponent discard 2 cards instead of me.
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Nicol Bolas, Planeswalker

Post by Zethfox »

try adding "choice " tag....
auto={C(0/0,-9,Loyalty)}:name(Ultimate) target(player) damage:7 && ability$!name(Discard 7 cards) choice notatarget(<7>*|myhand)!$ targetedplayer && ability$!name(Sacrifice 7 permanent) choice notatarget(<7>*|mybattlefield) sacrifice!$ targetedplayer
dopple
Posts: 26
Joined: Sat Nov 05, 2011 2:20 pm

Re: Nicol Bolas, Planeswalker

Post by dopple »

Add choice tag, but I got same result.
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Nicol Bolas, Planeswalker

Post by Zethfox »

might not be totally possible just yet then...
Locked