Creating abit more advanved cards - ISSUE
Posted: 12 Oct 2010, 14:10
Hi I recently stumbled upon your GENIOUS - MagicWars. And as an old MTG card player I must say I'm willing to become rather addicted again. Thanks for a great program so far mate(s)! Good job!
However, I have a problem adding some cards that I would like added. As I played 'Buried Alive' style with MTG I would like to do that in MagicWars as well, but I can't seem to get it loaded into the card database so far I kinda copied the Demonic Tutor as it with a few changes would be able do to what I want, oh well hope you can help me get this card added:
name = "Buried Alive"
manacost = "2 B"
types = [ "Sorcery" ]
text = ["Search your library for up to three creature cards and put them into your graveyard. Then shuffle your library."]
prints = [
["10E", "C", 135199, 182],
["MRD", "C", 45988, 79],
["6ED", "C", 16624, 160]
]
script = '''\
addSpell(
effect:{
def search = Search(
source:$this,
effect:{
moveToZone(from:GameZone.Library, to:GameZone.Graveyard, card:$chosen)
shuffleLibrary($this.controller)
},
choose: {$card.type('Creature')
)
run(search)
},
)
I did read the post where a similar problem was named, but I tried to both Alt+U and also the "New Constructed (All cards)" option, but it won't appear.
Hope you can help me out.
//Zaxxz
However, I have a problem adding some cards that I would like added. As I played 'Buried Alive' style with MTG I would like to do that in MagicWars as well, but I can't seem to get it loaded into the card database so far I kinda copied the Demonic Tutor as it with a few changes would be able do to what I want, oh well hope you can help me get this card added:
name = "Buried Alive"
manacost = "2 B"
types = [ "Sorcery" ]
text = ["Search your library for up to three creature cards and put them into your graveyard. Then shuffle your library."]
prints = [
["10E", "C", 135199, 182],
["MRD", "C", 45988, 79],
["6ED", "C", 16624, 160]
]
script = '''\
addSpell(
effect:{
def search = Search(
source:$this,
effect:{
moveToZone(from:GameZone.Library, to:GameZone.Graveyard, card:$chosen)
shuffleLibrary($this.controller)
},
choose: {$card.type('Creature')
)
run(search)
},
)
I did read the post where a similar problem was named, but I tried to both Alt+U and also the "New Constructed (All cards)" option, but it won't appear.
Hope you can help me out.
//Zaxxz