Card Contributions
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Card Contributions
by ZzzzSleep » 18 Feb 2011, 02:57
Name:Electric Eel
ManaCost:U
Types:Creature Fish
Text:no text
PT:1/1
A:AB$Pump | Cost$ R R | NumAtt$ +2 | SubAbility$ DamageYou/1 | SpellDescription$ CARDNAME gets +2/+0 until end of turn and deals 1 damage to you.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals 1 damage to you.
SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | Defined$ You | NumDmg$ 1
SVar:Rarity:Uncommon
End
Balduvian Dead isn't perfect, because it's not removing the creature as a cost. I'll leave it up to you guys whether it get committed in its current state or not.Name:Balduvian Dead
ManaCost:3 B
Types:Creature Zombie
Text:no text
PT:2/2
A:AB$ChangeZone | Cost$ 2 R | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose target card in a graveyard | ValidTgts$ Creature.YouCtrl | SubAbility$ SVar=MakeGraveborn | SpellDescription$ Exile a creature card from your graveyard: Put a 3/1 black and red Graveborn creature token with haste onto the battlefield. Sacrifice it at the beginning of the next end step.
SVar:MakeGraveborn:DB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Graveborn | TokenTypes$ Creature,Graveborn | TokenOwner$ Controller | TokenColors$ Red,Black | TokenPower$ 3 | TokenToughness$ 1 | TokenKeywords$ Haste<>At the beginning of the end step, sacrifice CARDNAME. | SpellDescription$ Put a 3/1 black and red Graveborn creature token with haste onto the battlefield. Sacrifice it at the beginning of the next end step.
SVar:Rarity:Uncommon
End
Re: Card Contributions
by Zirbert » 18 Feb 2011, 03:42
. Balduvian Dead is actually easier to code with the exile as a cost - I think this will do it, but I'm not sure, because I'm not running the SVN and exile from grave as a cost isn't implemented yet in the 2-14 Beta. I'm working my way through the "exile as a cost" cards, but don't want to post them, for the most part, until I can test them first:
- Code: Select all
Name:Balduvian Dead
ManaCost:3 B
Types:Creature Zombie
Text:no text
PT:2/3
A:AB$ Token | Cost$ 2 R ExileFromGrave<1/Creature> | TokenAmount$ 1 | TokenName$ Graveborn | TokenTypes$ Creature,Graveborn | TokenOwner$ Controller | TokenColors$ Black,Red | TokenPower$ 3 | TokenToughness$ 1 | TokenKeywords$ Haste<>At the beginning of the end step, sacrifice CARDNAME. | SpellDescription$ Put a 3/1 black and red Graveborn creature token with haste onto the battlefield. Sacrifice it at the beginning of the next end step.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/balduvian_dead.jpg
SetInfo:ALL|Uncommon|http://magiccards.info/scans/en/ai/93.jpg
End
Re: Card Contributions
by slapshot5 » 18 Feb 2011, 04:04
I think the token keywords are separated by a & in AFs.
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Card Contributions
by Chris H. » 18 Feb 2011, 13:51
`Zirbert wrote:I'm not running the SVN and exile from grave as a cost isn't implemented yet in the 2-14 Beta. I'm working my way through the "exile as a cost" cards, but don't want to post them, for the most part, until I can test them first
The forge 02-14-2011 topic now has a link to a newer archive using rev 6469. New cards, code, bug fixes, launchers, archive compression format. Check it out.
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Card Contributions
by friarsol » 18 Feb 2011, 20:10
Prophecy is currently lowest percentage of the sets so let's fix that:
- Code: Select all
Barbed Field
Branded Brawlers
Endbringer's Revel
Excavation
Flameshot
Forgotten Harvest
Hazy Homunculus
Heightened Awareness
Infernal Genesis (? might work with Mill and Remembered)
Keldon Battlewagon
Keldon Berserker
Lesser Gargadon
Noxious Field
Overburden
Rethink
Reveille Squad
Sheltering Prayers
Silt Crawler
Sunken Field
Thresher Beast
Verdant Field
Veteran Brawlers
Well of Discovery
Well of Life
Windscouter
Wing Storm (Damage Opponent + Damage You SubAbility)
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by lazylockie » 18 Feb 2011, 20:56
I'll do Prophecy.friarsol wrote:Prophecy is currently lowest percentage of the sets so let's fix that:
- Code: Select all
Barbed Field
Branded Brawlers
Endbringer's Revel
Excavation
Flameshot
Forgotten Harvest
Hazy Homunculus
Heightened Awareness
Infernal Genesis (? might work with Mill and Remembered)
Keldon Battlewagon
Keldon Berserker
Lesser Gargadon
Noxious Field
Overburden
Rethink
Reveille Squad
Sheltering Prayers
Silt Crawler
Sunken Field
Thresher Beast
Verdant Field
Veteran Brawlers
Well of Discovery
Well of Life
Windscouter
Wing Storm (Damage Opponent + Damage You SubAbility)
- lazylockie
- Posts: 508
- Joined: 13 Jul 2010, 22:44
- Has thanked: 74 times
- Been thanked: 15 times
Re: Card Contributions
by Zirbert » 18 Feb 2011, 22:39
Yup, and Exile from Grave was implemented in... r6470. To quote Maxwell Smart, "Missed it - by that much!"Chris H. wrote:`Zirbert wrote:I'm not running the SVN and exile from grave as a cost isn't implemented yet in the 2-14 Beta. I'm working my way through the "exile as a cost" cards, but don't want to post them, for the most part, until I can test them first
The forge 02-14-2011 topic now has a link to a newer archive using rev 6469. New cards, code, bug fixes, launchers, archive compression format. Check it out.
Re: Card Contributions
by Chris H. » 19 Feb 2011, 00:01
`Zirbert wrote:Yup, and Exile from Grave was implemented in... r6470. To quote Maxwell Smart, "Missed it - by that much!"
"Sorry about that chief."
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Card Contributions
by lazylockie » 19 Feb 2011, 02:04
This time I've checked the script and the end of lines (using Notepad)
Branded Brawlers
Flameshot
Forgotten Harvest
Hazy Homunculus
Heightened Awareness
Keldon Berserker
Lesser Gargadon
Noxious Field
Reveille Squad
Silt Crawler
Thresher Beast
Verdant Field
Veteran Brawlers
Well of Discovery
Well of Life
Wing Storm
Barbed Fieldfriarsol wrote:Prophecy is currently lowest percentage of the sets so let's fix that:
- Code: Select all
Endbringer's Revel
Excavation
Infernal Genesis (? might work with Mill and Remembered)
Keldon Battlewagon
Overburden
Rethink
Sheltering Prayers
Windscouter
Branded Brawlers
Flameshot
Forgotten Harvest
Hazy Homunculus
Heightened Awareness
Keldon Berserker
Lesser Gargadon
Noxious Field
Reveille Squad
Silt Crawler
Thresher Beast
Verdant Field
Veteran Brawlers
Well of Discovery
Well of Life
Wing Storm
- Attachments
-
PCY.zip- (7.83 KiB) Downloaded 347 times
- lazylockie
- Posts: 508
- Joined: 13 Jul 2010, 22:44
- Has thanked: 74 times
- Been thanked: 15 times
Re: Card Contributions
by jhhh » 19 Feb 2011, 09:53
Name:Grim Lavamancer
ManaCost:R
Types:Creature Human Wizard
Text:no text
PT:1/1
A:AB$DealDamage | Cost$ R T ExileFromGrave<2/card> | Tgt$ TgtCP | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Rarity:Rare
SVar:Picture:http://magiccards.info/scans/en/tr/100.jpg
End
- jhhh
- Posts: 58
- Joined: 15 Oct 2010, 23:40
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by Sloth » 19 Feb 2011, 12:37
Grim Lavamancer was the very first card with ExileFromGrave I added as an example.jhhh wrote:Name:Grim Lavamancer
ManaCost:R
Types:Creature Human Wizard
Text:no text
PT:1/1
A:AB$DealDamage | Cost$ R T ExileFromGrave<2/card> | Tgt$ TgtCP | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Rarity:Rare
SVar:Picture:http://magiccards.info/scans/en/tr/100.jpg
End
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Card Contributions
by slapshot5 » 19 Feb 2011, 17:11
These are all added now. Thanks!lazylockie wrote:This time I've checked the script and the end of lines (using Notepad)Barbed Fieldfriarsol wrote:Prophecy is currently lowest percentage of the sets so let's fix that:
- Code: Select all
Endbringer's Revel
Excavation
Infernal Genesis (? might work with Mill and Remembered)
Keldon Battlewagon
Overburden
Rethink
Sheltering Prayers
Windscouter
Branded Brawlers
Flameshot
Forgotten Harvest
Hazy Homunculus
Heightened Awareness
Keldon Berserker
Lesser Gargadon
Noxious Field
Reveille Squad
Silt Crawler
Thresher Beast
Verdant Field
Veteran Brawlers
Well of Discovery
Well of Life
Wing Storm
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Card Contributions
by Zirbert » 20 Feb 2011, 03:18
Woohoo! As of the new Beta, my Homarid Spawning Bed code works!
- Code: Select all
Name:Homarid Spawning Bed
ManaCost:U U
Types:Enchantment
Text:no text
A:AB$Token | Cost$ 1 U U Sac<1/Creature.Blue> | TokenImage$ U 1 1 Camarid | TokenAmount$ X | TokenName$ Camarid | TokenTypes$ Creature,Camarid | TokenOwner$ Controller | TokenColors$ Blue | TokenPower$ 1 | TokenToughness$ 1 | SpellDescription$ Put X 1/1 blue Camarid creature tokens onto the battlefield, where X is the sacrificed creature's converted mana cost.
SVar:X:Sacrificed$CardManaCost
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/homarid_spawning_bed.jpg
SetInfo:FEM|Uncommon|http://magiccards.info/scans/en/fe/106.jpg
End
Re: Card Contributions
by Chris H. » 20 Feb 2011, 14:11
Your Homarid Spawning Bed was added to the SVN, thank you.
I almost added the new beta as a bug-fix + new code release to the previous beta version. But that would have made things more difficult for some members of the user base. The list of links were starting to get too long.
I almost added the new beta as a bug-fix + new code release to the previous beta version. But that would have made things more difficult for some members of the user base. The list of links were starting to get too long.
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Card Contributions
by Zirbert » 20 Feb 2011, 20:39
Here's the Grave-Cost Gang, all tested and seem to be working fine. The AI uses most of them quite capably. It's especially aggressive with Bearscape. This pack contains these cards:
Bearscape
Cabal Patriarch
Cabal Surgeon
Cryptwailing
Organ Grinder
Salvage Titan
Scarred Vinebreeder
Screams of the Damned
Soul Shepherd
Woodwraith Strangler
I'm still planning on trying Cabal Inquisitor and Drudge Spell - I think they'll just take a little more research on syntax (I need to look at some cards with Threshold and that make tokens with abilities, respectively). I'll also try converting Scarblade Elite to script.
I tried but failed on these ones. If anyone else can script them, please do:
Necropolis (don't know how to record the CMC of the exiled card - "SVar:X:Exiled$CardManaCost" doesn't do it)
Molten-Tail Masticore (don't know how to do the upkeep cost)
Painbringer (that darn "any number" clause)
-Zirbert
Bearscape
Cabal Patriarch
Cabal Surgeon
Cryptwailing
Organ Grinder
Salvage Titan
Scarred Vinebreeder
Screams of the Damned
Soul Shepherd
Woodwraith Strangler
I'm still planning on trying Cabal Inquisitor and Drudge Spell - I think they'll just take a little more research on syntax (I need to look at some cards with Threshold and that make tokens with abilities, respectively). I'll also try converting Scarblade Elite to script.
I tried but failed on these ones. If anyone else can script them, please do:
Necropolis (don't know how to record the CMC of the exiled card - "SVar:X:Exiled$CardManaCost" doesn't do it)
Molten-Tail Masticore (don't know how to do the upkeep cost)
Painbringer (that darn "any number" clause)
-Zirbert
- Attachments
-
Grave-Cost Gang.zip- (4.14 KiB) Downloaded 394 times
Who is online
Users browsing this forum: No registered users and 41 guests