Advertising
Hey everyone I'm new to this, and I enjoy Wagic a lot, but there are so many cards missing and that's why I want to learn a bit about coding and so on and try to code some cards I feel missing.One of these cards is Snapcaster Mage, a card that finds it's way into every blue deck nowadays.
Since it is such an essential card I find it quite puzzling no one made the attempt to code it.
This is what I've got and I haven't tested it yet but I'm sure it doesn't work:
[card]
name=Snapcaster Mage
abilities=flash
auto=may flashback(mygraveyard) target(instant,sorcery|mygraveyard)
text= Flash
When Snapcaster Mage enters the battlefield, target instant or sorcery card in your graveyard gains flashback until end of turn. The flashback cost is equal to its mana cost. (You may cast that card from your graveyard for its flashback cost. Then exile it.)
mana={1}{U}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
My reasoning is the following:
Even if magic identifies the line "may flashback card in GY" it doesn't provide information about how much the card costs.
My Idea for this can be found in another code:
[card]
name=Yawgmoth's Will
auto=counter(0/0,1,hand) all(*|myhand)
auto=token(-11122351)
auto=moveto(myhand) all(*|mygraveyard) && moveto(exile) all(this)
text=Until end of turn, you may play cards from your graveyard. -- If a card would be put into your graveyard from anywhere this turn, exile that card instead.
mana={2}{B}
type=Sorcery
[/card]
It's not fully correct since it removes all the cards in my hand (I tested it) at the end of turn.
So all that needs to be done is make Snapcaster Mage something like this:
- Return the target card to your hand with a 1 on it, give all other cards a 0 like Goblin Ringleader from Apocalypse.
- at the end of turn remove the card from your hand if you didn't play it
- remove the card from the game when you play it.
I don't know how to do that, but maybe I figure it out. Nevertheless, maybe someone of you guy/galls might be able to code it that way.
The next card i'm trying to create is Cruel Ultimatum, with the little restriction of letting the opponent chose at random, because let's face it... the AI does so many stupid things what does it matter if he sacrifices cards at random, it might even be better for him or sometimes.
