Issues with card scripting
Posted: 09 Sep 2010, 13:03
I tried to script the simple card Boros Recruit. So I've read your Wiki about card scripting at Google Code (http://code.google.com/p/magicwars/wiki/DevelopmentManual) and I came up with this cardfile:
../cards/groovy/B/o/r/Boros Recruit.card
But when I start the programm the card isn't shown in the deck editor. It's simply not there .
Did I miss something?
EDIT: Added a second backslash to the manacost.
- Code: Select all
name = "Boros Recruit"
manacost = "R\\W"
types = [ "Creature", "Goblin", "Soldier" ]
power = 1
toughness = 1
text = ["First strike"]
prints = [
["RAV", "C", 88992, 243]
]
../cards/groovy/B/o/r/Boros Recruit.card
But when I start the programm the card isn't shown in the deck editor. It's simply not there .
Did I miss something?
EDIT: Added a second backslash to the manacost.