Re: Adding a new card
Do you have cardsfolder.zip in the the cardsfolder directory? If so, move it somewhere else. Forge reads the cards from the zip file and ignores the directories if the zip file is there. Been there, done thatIvalen wrote:Do I need a full blown development environment to add a new card, or is it simply a matter of correctly formatting a .txt file in the cardsfolder tree?
If it's the second, then when I run Forge I cannot get it to recognize the following attempt to half-implement Searing Blaze.
- Code: Select all
Name:Searing Blaze
ManaCost:2 R
Types:Instant
Text:no text
A:SP$ DealDamage | Cost$ 2 R | Tgt$ TgtC | numDmg$ X | SubAbility$ SVar=Targetplayer | SpellDescription$ CARDNAME deals 1 damage to target creature or 3 damage to target creature if a land was played this turn.
SVar:Targetplayer | SP$ DealDamage | Cost$ 2 R | Tgt$ TgtP | numDmg$ X | SpellDescription$ CARDNAME deals 1 damage to target creature's controller or 3 damage to creature's controller if a land was played this turn.
SVar:X:Count$Landfall.3.1
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/searing_blaze.jpg
SetInfo:WWK|Common|http://magiccards.info/scans/en/wwk/90.jpg
End
You have a syntax problem with your subability. It should be
- Code: Select all
SVar:Targetplayer:DB$ DealDamage ...
There's another gotcha that I just noticed. TgtP will let you target a planeswalker which is not a valid target for the spell.
Eventually I think the snippet for the spell ability should look like
- Code: Select all
A:SP$ DealDamage | Cost$ 2 R | VaildTgts$ Player | TgtPrompt$ Choose target player | numDmg$ X | SubAbility$ SVar=TargetCreature | SpellDescription$ CARDNAME deals 1 damage to target player or 3 damage to target player if a land was played this turn.
SVar:TargetCreature:DB$ DealDamage | Cost$ 2 R | ValidTgts$ Creature.TargetedCtrl| TgtPrompt$ Choose a creature the targeted player controls | numDmg$ X | SpellDescription$ CARDNAME deals 1 damage to creature targeted player controls or 3 damage to targeted player controls if a land was played this turn.
I like the way Landfall is handled. I hadn't seen that before.