Ad Nauseam

Card coding that have been confirmed working and added to the SVN are moved in this forum. Do not post here.
Locked
luzbelitto
Posts: 3
Joined: Sun Jun 09, 2013 1:19 am

Ad Nauseam

Post by luzbelitto »

Hola, yo hace muy poco que empecé a codificar cartas, pero creo que este aporte puede ser interesante, ya que lo he probado y parece funcionar bastante bien... La inclusión de esta carta desbloquea un mazo muy divertido a mi parecer. Espero que les sirva.



[card]
name=Ad Nauseam
auto=token(-12213309)
text=Reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. You may repeat this process any number of times.
mana={3}{B}{B}
type=Instant
[/card]
[card]
name=Ad Nauseam
id=-12213309
auto=@movedto(*[manacost=1]|myhand) from(mylibrary):life:-1
auto=@movedto(*[manacost=2]|myhand) from(mylibrary):life:-2
auto=@movedto(*[manacost=3]|myhand) from(mylibrary):life:-3
auto=@movedto(*[manacost=4]|myhand) from(mylibrary):life:-4
auto=@movedto(*[manacost=5]|myhand) from(mylibrary):life:-5
auto=@movedto(*[manacost=6]|myhand) from(mylibrary):life:-6
auto=@movedto(*[manacost=7]|myhand) from(mylibrary):life:-7
auto=@movedto(*[manacost=8]|myhand) from(mylibrary):life:-8
auto=@movedto(*[manacost=9]|myhand) from(mylibrary):life:-9
auto=@movedto(*[manacost=10]|myhand) from(mylibrary):life:-10
auto=@movedto(*[manacost=11]|myhand) from(mylibrary):life:-11
auto=@movedto(*[manacost=12]|myhand) from(mylibrary):life:-12
auto=@movedto(*[manacost=13]|myhand) from(mylibrary):life:-13
auto=@movedto(*[manacost=14]|myhand) from(mylibrary):life:-14
auto=@movedto(*[manacost=15]|myhand) from(mylibrary):life:-15
auto={0}:token(-12213310)
auto=@each endofturn:moveto(exile)
type=nothing
[/card]
[card]
name=Reveal the top card
id=-12213310
auto=draw:1
auto=@each endofturn:moveto(exile)
type=nothing
[/card]
Garrafa
Posts: 15
Joined: Tue Nov 08, 2011 1:50 am

Re: Ad Nauseam

Post by Garrafa »

Hola!
Hay un problema: la ficha de Ad Nauseam continuará causando daño si tu roba carta de otra manera, pero la solución es simple: yo puse una habilidad que permite que sacrifiques la ficha cuando quieras. También lo hice con las fichas para robar carta se exilem después de entrar en el campo de batalla. Lo siento si he cometido errores, no puedo hablar español.

//

Hello!
There's a problem: the Ad Nauseam token keeps dealing dmg if you draw cards from other sources, but the solution is simple: I coded an ability that allows you to sacrifice the token whenever you want. I've also coded the "Reveal the top card" token so it is exiled after entering the battlefield, it keeps the battlefield clean.

Code: Select all

[card]
name=Ad Nauseam
auto=token(-12213309)
text=Reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. You may repeat this process any number of times.
mana={3}{B}{B}
type=Instant
[/card]
[card]
name=Ad Nauseam
id=-12213309
auto=@movedto(*[manacost=1]|myhand) from(mylibrary):life:-1
auto=@movedto(*[manacost=2]|myhand) from(mylibrary):life:-2
auto=@movedto(*[manacost=3]|myhand) from(mylibrary):life:-3
auto=@movedto(*[manacost=4]|myhand) from(mylibrary):life:-4
auto=@movedto(*[manacost=5]|myhand) from(mylibrary):life:-5
auto=@movedto(*[manacost=6]|myhand) from(mylibrary):life:-6
auto=@movedto(*[manacost=7]|myhand) from(mylibrary):life:-7
auto=@movedto(*[manacost=8]|myhand) from(mylibrary):life:-8
auto=@movedto(*[manacost=9]|myhand) from(mylibrary):life:-9
auto=@movedto(*[manacost=10]|myhand) from(mylibrary):life:-10
auto=@movedto(*[manacost=11]|myhand) from(mylibrary):life:-11
auto=@movedto(*[manacost=12]|myhand) from(mylibrary):life:-12
auto=@movedto(*[manacost=13]|myhand) from(mylibrary):life:-13
auto=@movedto(*[manacost=14]|myhand) from(mylibrary):life:-14
auto=@movedto(*[manacost=15]|myhand) from(mylibrary):life:-15
auto={0}:token(-12213310)
auto={0}:moveTo(mygraveyard)
auto=@each endofturn:moveto(exile)
type=nothing
[/card]
[card]
name=Reveal the top card
id=-12213310
auto=draw:1
#auto=@each endofturn:moveto(exile)
auto=moveto(exile)
type=nothing
[/card]
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Ad Nauseam

Post by Zethfox »

Dont use tokens to create ability effects, there is an ability that makes menus to create effects like this.
Locked