It is currently 23 Oct 2025, 19:59
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

Re: Card Contributions

Postby friarsol » 04 Feb 2011, 23:40

I did Mana Severance. I don't remember that posts saying it couldn't be done, so it's easier for me to just write it up than try to find it.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Zirbert » 04 Feb 2011, 23:45

First! Yeah, I know I said I wanted the Apes of Rath, but this one just jumped out at me as a *really* easy hack job: Maze of Ith + a "tap-for-1" land + Dauthi Cutthroat to see the syntax for "creature with Shadow" + Femeref Archers to see the syntax for "Attacking creature with...". I'll do the Apes next, and stick to Tempest for the time being. If I get a few done (let's say 4 or more), I'll zip 'em up.
Code: Select all
Name:Maze of Shadows
ManaCost:no cost
Types:Land
Text:no text
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
A:AB$Pump | Cost$ T | ValidTgts$ Creature.attacking+withShadow | TgtPrompt$ Select target attacking creature with shadow | KW$ HIDDEN Prevent all combat damage that would be dealt to and dealt by CARDNAME. | SpellDescription$ Untap target attacking creature with shadow. Prevent all combat damage that would be dealt to and dealt by that creature this turn. | SubAbility$ UntapTgt
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/maze_of_shadows.jpg
SetInfo:TMP|Uncommon|http://magiccards.info/scans/en/tp/317.jpg
End
Caveat: it prints the abilities in the opposite order from the card, both in the Choose window and in the right-hand text pane. Reversing them in the card script made no difference. I don't know whether that can be fixed, but it's no big deal anyway.
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby Zirbert » 04 Feb 2011, 23:54

friarsol wrote:I did Mana Severance. I don't remember that posts saying it couldn't be done, so it's easier for me to just write it up than try to find it.
I was extrapolating a bit, I guess - in this post (http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=2091&p=39339&hilit=Mana+Severance#p39339) someone requested it, suggesting that it could use the same principles as Cranial Extraction and Rootwater Thief. When I looked at those ones over the last couple of days to see if I could hack it up, I found out they both use hardcoding (at least in the Beta - I didn't check SVN).

So can I do Selective Memory? :-)

-Zirbert
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 00:00

Zirbert wrote:
friarsol wrote:I did Mana Severance. I don't remember that posts saying it couldn't be done, so it's easier for me to just write it up than try to find it.
I was extrapolating a bit, I guess - in this post (http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=2091&p=39339&hilit=Mana+Severance#p39339) someone requested it, suggesting that it could use the same principles as Cranial Extraction and Rootwater Thief. When I looked at those ones over the last couple of days to see if I could hack it up, I found out they both use hardcoding (at least in the Beta - I didn't check SVN).

So can I do Selective Memory? :-)
Heh lots of things requested in August weren't done because the system we have now wasn't even built. If it takes you longer than 5 seconds to do Selective Memory than you are fired.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 00:01

Here's a list for Exodus
Code: Select all
Bequeathal
Cinder Crawler
Elven Palisade
Entropic Specter
Equilibrium
Flowstone Flood
Forbid
Grollub
Mana Breach
Monstrous Hound
Nausea
Pegasus Stampede
Pit Spawn
Plaguebearer (Check out Gorilla Shaman)
Predatory Hunger
Pygmy Troll
Reaping the Rewards
Rootwater Alligator
Scalding Salamander
Skyshroud War Beast
Slaughter
Spellshock
Thalakos Scout
Zealots en-Dal
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Zirbert » 05 Feb 2011, 00:18

friarsol wrote: If it takes you longer than 5 seconds to do Selective Memory than you are fired.
Come on, be fair - I had to confirm the syntax for nonland (thank you, AEthersnipe).

Code: Select all
Name:Selective Memory
ManaCost:3 U
Types:Sorcery
Text:no text
A:SP$ChangeZone | Cost$ 3 U | Origin$ Library | Destination$ Exile | ChangeType$ nonLand | ChangeNum$ XFetch  | SpellDescription$ Search your library for any number of nonland cards and exile them. Then shuffle your library.
SVar:XFetch:Count$TypeInYourLibrary.nonLand
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/selective_memory.jpg
SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/37.jpg
End
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 00:44

Urza's Saga.

Code: Select all
Arc Lightning
Barrin's Codex
Cave Tiger
Copper Gnomes
Curfew
Destructive Urge
Discordant Dirge
Dromosaur
Electryte
Exhaustion
Falter
Flesh Reaver
Fortitude
Grafted Skullcap
Headlong Rush
Hermetic Study
Ill-Gotten Gains? (Hidden$ True)
Imaginary Pet
Lotus Blossom
Mobile Fort
Noetic Scales?
Reclusive Wight
Redeem
Retromancer
Rewind
Shivan Gorge
Show and Tell
Shower of Sparks
Skittering Skirge
Songstitcher
Sporogenesis
Tainted AEther
Titania's Boon
Vebulid
Venomous Fangs
Viashino Weaponsmith
Wall of Junk
Witch Engine
Wizard Mentor
Last edited by friarsol on 05 Feb 2011, 00:45, edited 1 time in total.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 00:45

Oh apparently I had done Weatherlight the other day, so you get that too

Code: Select all
Abduction
Agonizing Memories
Barishi
Betrothed of Fire
Bogardan Firefiend
Cinder Giant
Cinder Wall
Dense Foliage
Fog Elemental
Goblin Vandal
Heat Stroke
Jangling Automaton
Lava Storm
Llanowar Sentinel
Merfolk Traders
Mischievous Poltergeist
Mistmoon Griffin
Odylic Wraith
Phantom Wings
Revered Unicorn
Roc Hatchling
Sawtooth Ogre
Serenity
Serrated Biskelion
Shattered Crypt
Straw Golem
Sylvan Hierophant
Thunderbolt
Tolarian Serpent
Urborg Stalker
Wave of Terror
Well of Knowledge
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Zirbert » 05 Feb 2011, 00:58

We got apes! And it would have been a shame to not include their easily tweakable buddy Lead Golem.

Code: Select all
Name:Apes of Rath
ManaCost:2 G G
Types:Creature Ape
Text:no text
PT:5/4
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ StayTapped | TriggerDescription$ Whenever CARDNAME attacks, it doesn't untap during its controller's next untap step.
SVar:StayTapped:DB$Pump | KW$ HIDDEN This card doesn't untap during your next untap step. | Defined$ Self | Permanent$ True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/apes_of_rath.jpg
SetInfo:TMP|Uncommon|http://magiccards.info/scans/en/tp/108.jpg
End
Code: Select all
Name:Lead Golem
ManaCost:5
Types:Artifact Creature Golem
Text:no text
PT:3/5
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ StayTapped | TriggerDescription$ Whenever CARDNAME attacks, it doesn't untap during its controller's next untap step.
SVar:StayTapped:DB$Pump | KW$ HIDDEN This card doesn't untap during your next untap step. | Defined$ Self | Permanent$ True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/lead_golem.jpg
SetInfo:6ED|Uncommon|http://magiccards.info/scans/en/6e/295.jpg
SetInfo:MIR|Uncommon|http://magiccards.info/scans/en/mr/271.jpg
End
EDIT - Next I'm going to try the Tempest dual lands that don't untap during your next untap step, since I've got that KW on the brain now. I see there's also a functional reprint cycle in Champions of Kamigawa that we don't have yet - I'll do those up too. 10 cards for remarkably little effort.
Last edited by Zirbert on 05 Feb 2011, 02:53, edited 3 times in total.
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby jeffwadsworth » 05 Feb 2011, 01:18

friarsol wrote:Urza's Saga.

Code: Select all
Electryte
Flesh Reaver
Noetic Scales?  Can not be done at this time.
Sporogenesis
Vebulid
Venomous Fangs
I will start on these and edit the list as its done. Thanks.
Last edited by jeffwadsworth on 12 Feb 2011, 20:48, edited 22 times in total.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Card Contributions

Postby lazylockie » 05 Feb 2011, 01:30

friarsol wrote:Oh apparently I had done Weatherlight the other day, so you get that too

Code: Select all
Abduction
Agonizing Memories
Barishi
Betrothed of Fire
Bogardan Firefiend
Cinder Giant
Cinder Wall
Dense Foliage
Fog Elemental
Goblin Vandal
Heat Stroke
Jangling Automaton
Lava Storm
Llanowar Sentinel
Merfolk Traders
Mischievous Poltergeist
Mistmoon Griffin
Odylic Wraith
Phantom Wings
Revered Unicorn
Roc Hatchling
Sawtooth Ogre
Serenity
Serrated Biskelion
Shattered Crypt
Straw Golem
Sylvan Hierophant
Thunderbolt
Tolarian Serpent
Urborg Stalker
Wave of Terror
Well of Knowledge
I'll take Exodus.
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 03:36

Urza's Legacy
Code: Select all
Brink of Madness
Hope and Glory
Iron Maiden
Rank and File
Repopulate
Rivalry
Second Chance
Sick and Tired
Tethered Skirge
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 03:46

Anddd to finish off the block here's Urza's Destiny
Code: Select all
AEther Sting
Apprentice Necromancer
Archery Training?? (I'm curious if SVars can work this way)
Caltrops
Carnival of Souls
Chime of Night
Compost
Disappear
Disease Carriers
Dying Wail
Flicker
Hunting Moa
Illuminated Wings
Incendiary
Mark of Fury
Marker Beetles
Pattern of Rebirth
Phyrexian Negator
Plague Dogs
Private Research
Repercussion?
Rescue
Serra Advocate
Sigil of Sleep
Skittering Horror
Thran Foundry
Lemme know when you guys need more
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Zirbert » 05 Feb 2011, 04:56

FYI, Sol - Mana Severance and Selective Memory both make the 1-28 beta puke. Hopefully something has been changed / updated to let them work in the SVN. The error starts with:

Code: Select all
For input string: "XFetch"


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Linux Version: 2.6.31-9-rt Architecture: amd64

Java Version: 1.6.0_18 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NumberFormatException: For input string: "XFetch"
   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
   at java.lang.Integer.parseInt(Integer.java:481)
   at java.lang.Integer.parseInt(Integer.java:514)
   at forge.AbilityFactory_ChangeZone.changeHiddenOriginStackDescription(AbilityFactory_ChangeZone.java:265)
If you need the whole error message, I can replicate it upon request. Unfortunately.

-Zirbert
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Card Contributions

Postby friarsol » 05 Feb 2011, 05:23

Zirbert wrote:FYI, Sol - Mana Severance and Selective Memory both make the 1-28 beta puke. Hopefully something has been changed / updated to let them work in the SVN. The error starts with:
I can't really worry about what doesn't work in previous versions. Most likely it wasn't using calculateAmount() for the changeNum in that version of the code. I did test it locally in the latest SVN and it was working, so it shouldn't be a program for trunk builds.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Google [Bot] and 82 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 83 users online :: 1 registered, 0 hidden and 82 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: Google [Bot] and 82 guests

Login Form