Return to Ravnica Spoiler Season
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Return to Ravnica Spoiler Season
 by RumbleBBU » 01 Oct 2012, 18:07
by RumbleBBU » 01 Oct 2012, 18:07 
As a (related) aside, can anyone provide a link to spoiler list contents of the guild booster packs? I might have time to try to build the 'guild cubes' to fully enable that part of guild sealed. Just need the lists...ArsenalNut wrote:The RTR event decks just announced are completely supported with the new cards
Re: Return to Ravnica Spoiler Season
 by moomarc » 01 Oct 2012, 18:10
by moomarc » 01 Oct 2012, 18:10 
I know the guy that originally requested it had a link to magicinfo or wizards where they had the full cardpool split by guild. I'll try find it a bit later...RumbleBBU wrote:As a (related) aside, can anyone provide a link to spoiler list contents of the guild booster packs? I might have time to try to build the 'guild cubes' to fully enable that part of guild sealed. Just need the lists...ArsenalNut wrote:The RTR event decks just announced are completely supported with the new cards
-Marc
		- 
				 
 moomarc
- Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Return to Ravnica Spoiler Season
 by Sloth » 01 Oct 2012, 18:15
by Sloth » 01 Oct 2012, 18:15 
This is correct (actually the card is exiled which removes the SpellAbility along with it).moomarc wrote:Nivmagus Elemental isworking perfectly now, but just want to check one last thing before committing. Am I correct in thinking that exiling a spell from the stack also exiles the card (unless it's a copied spell)? If so I can commit right now.
- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Return to Ravnica Spoiler Season
 by Sloth » 01 Oct 2012, 20:12
by Sloth » 01 Oct 2012, 20:12 
The script of Slaughter Games is wrong: It exiles all cards instead of any number.
Memoricide hasn't been implemented yet, because of this little difference to Cranial Extraction.
			
		Memoricide hasn't been implemented yet, because of this little difference to Cranial Extraction.
- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Return to Ravnica Spoiler Season
 by ArsenalNut » 02 Oct 2012, 02:49
by ArsenalNut » 02 Oct 2012, 02:49 
Gotcha. Surgical Extraction is also wrong since it has basically the same text.Sloth wrote:The script of Slaughter Games is wrong: It exiles all cards instead of any number.
Memoricide hasn't been implemented yet, because of this little difference to Cranial Extraction.
Edit:
I checked in this version as a fix
- Slaughter Games | Open
- Name:Slaughter Games
 ManaCost:2 B R
 Types:Sorcery
 Text:no text
 K:CARDNAME can't be countered.
 A:SP$ NameCard | Cost$ 2 B R | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SubAbility$ ExileYard | SpellDescription$ Name a nonland card. Search target player's graveyard, hand, and library for all cards with that name and exile them. Then that player shuffles his or her library.
 SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library.
 SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Opponent | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None
 SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Opponent | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None
 SVar:NumInLib:TargetedPlayer$CardsInLibrary
 SVar:NumInHand:TargetedPlayer$CardsInHand
 SVar:NumInYard:TargetedPlayer$CardsInGraveyard
 SVar:Rarity:Rare
 SVar:Picture:http://www.wizards.com/global/images/magic/general/slaughter_games.jpg
 SetInfo:RTR|Rare|http://magiccards.info/scans/en/rtr/197.jpg
 Oracle:Slaughter Games can't be countered by spells or abilities.\nName a nonland card. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library.
 End
If this is an acceptable implementation, the logic can be applied to Surgical Extraction as well.
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Return to Ravnica Spoiler Season
 by RumbleBBU » 02 Oct 2012, 05:34
by RumbleBBU » 02 Oct 2012, 05:34 
The one I have found is on MythicSpoiler.com...it does contain the info I need but in picture format, not text. Lots of manual work required to type in all that (as opposed to simply 'Import'ing a text list):moomarc wrote:I know the guy that originally requested it had a link to magicinfo or wizards where they had the full cardpool split by guild. I'll try find it a bit later...RumbleBBU wrote:As a (related) aside, can anyone provide a link to spoiler list contents of the guild booster packs? I might have time to try to build the 'guild cubes' to fully enable that part of guild sealed. Just need the lists...ArsenalNut wrote:The RTR event decks just announced are completely supported with the new cards
http://mythicspoiler.com/izzetguildpack.html
Re: Return to Ravnica Spoiler Season
 by ArsenalNut » 02 Oct 2012, 05:54
by ArsenalNut » 02 Oct 2012, 05:54 
Don't know how much if will help with typing but I stripped this out of the page sourceRumbleBBU wrote:The one I have found is on MythicSpoiler.com...it does contain the info I need but in picture format, not text. Lots of manual work required to type in all that (as opposed to simply 'Import'ing a text list):
http://mythicspoiler.com/izzetguildpack.html
- | Open
- <td> <!-- commons-->
 <div>
 <pre style="margin:0; overflow:scroll"><nobr>
 <img width="200" jace src="cards/goblinelectromancer.jpg">
 <img width="200" jace src="cards/chemisterstrick.jpg">
 <img width="200" jace src="cards/essencebacklash.jpg">
 <img width="200" jace src="cards/frostburnweird.jpg">
 
 <img width="200" jace src="cards/dynacharge.jpg">
 <img width="200" jace src="cards/electrickery.jpg">
 <img width="200" jace src="cards/pursuitofflight.jpg">
 <img width="200" jace src="cards/surveythewreckage.jpg">
 <img width="200" jace src="cards/viashinoracketeer.jpg">
 <img width="200" jace src="cards/traitorousinstinct.jpg">
 <img width="200" jace src="cards/tenementcrasher.jpg">
 <img width="200" jace src="cards/explosiveimpact.jpg">
 <img width="200" jace src="cards/annihilatingfire.jpg">
 <img width="200" jace src="cards/lobbercrew.jpg">
 <img width="200" jace src="cards/batterhorn.jpg">
 <img width="200" jace src="cards/bellowslizard.jpg">
 <img width="200" jace src="cards/cobblebrute.jpg">
 <img width="200" jace src="cards/downsize.jpg">
 <img width="200" jace src="cards/mizziumskin.jpg">
 <img width="200" jace src="cards/stealerofsecrets.jpg">
 <img width="200" jace src="cards/paralyzinggrasp.jpg">
 <img width="200" jace src="cards/inspiration.jpg">
 <img width="200" jace src="cards/voidwielder.jpg">
 <img width="200" jace src="cards/chronicflooding.jpg">
 <img width="200" jace src="cards/cancel.jpg">
 <img width="200" jace src="cards/doorkeeper.jpg">
 <img width="200" jace src="cards/dispel.jpg">
 <img width="200" jace src="cards/crosstowncourier.jpg">
 <img width="200" jace src="cards/runewing.jpg">
 </nobr>
 </pre>
 </div>
 </td></tr><tr><td>
 <font size=5 color="white">3 UNCOMMONS
 </td></tr>
 <tr>
 <td><!-- uncommons-->
 <div>
 <pre style="margin:0; overflow:scroll"><nobr>
 <img width="200" jace src="cards/nivixguildmage.jpg">
 <img width="200" jace src="cards/izzetcharm.jpg">
 <img width="200" jace src="cards/teleportal.jpg">
 <img width="200" jace src="cards/thoughtflare.jpg">
 <img width="200" jace src="cards/izzetstaticaster.jpg">
 <img width="200" jace src="cards/blistercoilweird.jpg">
 <img width="200" jace src="cards/vandalblast.jpg">
 <img width="200" jace src="cards/streetspasm.jpg">
 
 <img width="200" jace src="cards/pyroconvergence.jpg">
 <img width="200" jace src="cards/guttersnipe.jpg">
 <img width="200" jace src="cards/racecoursefury.jpg">
 <img width="200" jace src="cards/goblinrally.jpg">
 <img width="200" jace src="cards/minotauraggressor.jpg">
 <img width="200" jace src="cards/blustersquall.jpg">
 <img width="200" jace src="cards/psychicspiral.jpg">
 <img width="200" jace src="cards/syncopate.jpg">
 <img width="200" jace src="cards/skylinepredator.jpg">
 <img width="200" jace src="cards/faerieimposter.jpg">
 <img width="200" jace src="cards/hoverbarrier.jpg">
 <img width="200" jace src="cards/aquussteed.jpg">
 <img width="200" jace src="cards/izzetkeyrune.jpg">
 <img width="200" jace src="cards/codexshredder.jpg">
 <img width="200" jace src="cards/tabletoftheguilds.jpg">
 <img width="200" jace src="cards/civicsaber.jpg">
 <img width="200" jace src="cards/streetsweeper.jpg">
 </nobr>
 </pre>
 </div>
 </td></tr>
 <tr><td>
 <font size=5 color="white">1 RARE
 </td></tr>
 <tr>
 <td><!-- rares-->
 <div>
 <pre style="margin:0; overflow:scroll"><nobr>
 <img width="200" jace src="cards/nivmizzetdracogenius.jpg">
 <img width="200" jace src="cards/firemindsforesight.jpg">
 <img width="200" jace src="cards/mercurialchemister.jpg">
 <img width="200" jace src="cards/counterflux.jpg">
 <img width="200" jace src="cards/nivmaguselemental.jpg">
 <img width="200" jace src="cards/steamvents.jpg">
 ><img width="200" jace src="cards/mizziummortars.jpg">
 <img width="200" jace src="cards/ashzealot.jpg">
 <img width="200" jace src="cards/guildfeud.jpg">
 <img width="200" jace src="cards/cyclonicrift.jpg">
 <img width="200" jace src="cards/conjuredcurrency.jpg">
 <img width="200" jace src="cards/sphinxofthechimes.jpg">
 <img width="200" jace src="cards/searchthecity.jpg">
 
 </nobr>
 </pre>
 </div>
 </td>
 </tr> <tr><td>
 <font size=5 color="white">AND...
 </td></tr>
 <tr>
 <td><!-- rares-->
 <div>
 <pre style="margin:0; overflow:scroll"><nobr>
 <img width="200" jace src="cards/hypersonicdragonpromo.jpg">
 <img width="200" jace src="cards/izzetguildgate.jpg">
 
 </nobr>
 </pre>
 </div>
 </td>
 </tr>
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Return to Ravnica Spoiler Season
 by RumbleBBU » 02 Oct 2012, 07:09
by RumbleBBU » 02 Oct 2012, 07:09 
Yeah, I thought of that, too. Doesn't really help much with the typing (I'm a touch typist and actually type the full card names faster than edit that list into the correct format) but at least it makes it easier not to accidentally skip cards...
I built an experimental Izzet cube (attached to this post) based on the MythicSpoiler.com info. Observations:
(- Yeah, I know the landset code is wrong, I've corrected it in my local copy already.)
- Ok, so you can't run a Sealed Deck game with this cube without modifying the source or draft rankings file slightly. But that's true for the whole RtR expansion, not just this cube. Reason: there are no draft rankings for RtR cards yet, which causes the AI deck building to hang when all available cards have a draft vale of 'null'.
- Two cards that should have gone to the Izzet cube were apparently not implemented yet: Sphinx of the Chimes and Tablet of the Guilds. They need to be added later when implemented.
- The images downloaded by the content downloader into my RtR set pictures subfolder were all 27kb and broken. The deck editor crashed when trying to display them.
- Seems that I don't know how to set up the cube rarity info properly. Currently this cube gives you 1 Rare and 1 guaranteed(!) Mythic Rare per booster, meaning a guaranteed Niv-Mizzet, Dracogenius in every booster pack. That is obviously not how Mythic Rarity is supposed to work...
			
				I built an experimental Izzet cube (attached to this post) based on the MythicSpoiler.com info. Observations:
(- Yeah, I know the landset code is wrong, I've corrected it in my local copy already.)
- Ok, so you can't run a Sealed Deck game with this cube without modifying the source or draft rankings file slightly. But that's true for the whole RtR expansion, not just this cube. Reason: there are no draft rankings for RtR cards yet, which causes the AI deck building to hang when all available cards have a draft vale of 'null'.
- Two cards that should have gone to the Izzet cube were apparently not implemented yet: Sphinx of the Chimes and Tablet of the Guilds. They need to be added later when implemented.
- The images downloaded by the content downloader into my RtR set pictures subfolder were all 27kb and broken. The deck editor crashed when trying to display them.
- Seems that I don't know how to set up the cube rarity info properly. Currently this cube gives you 1 Rare and 1 guaranteed(!) Mythic Rare per booster, meaning a guaranteed Niv-Mizzet, Dracogenius in every booster pack. That is obviously not how Mythic Rarity is supposed to work...
- Attachments
- 
		 IzzetCubeTest.zip IzzetCubeTest.zip
- (1.03 KiB) Downloaded 271 times
 
Re: Return to Ravnica Spoiler Season
 by moomarc » 02 Oct 2012, 07:38
by moomarc » 02 Oct 2012, 07:38 
Thanks Rumble. I'm a little tied up with work at the moment so won't be able to try it out yet, but regarding the corrupt images, when did you last run the downloader? Sol fixed that problem the other day (Cardforge was redirecting instead of returning a file-not-found, so blank images were downloaded). I tried this just afterwards and the fix was working perfectly for me. Delete all the old blanks and just use low res images from gatherer for now until the HQ images are posted by the HQ team. You can grab them from Ark's site: http://ark42.com/mtg/cards/Return%20to%20Ravnica/Fulls.zip (cropped the same as the HQ pics)RumbleBBU wrote:Yeah, I thought of that, too. Doesn't really help much with the typing (I'm a touch typist and actually type the full card names faster than edit that list into the correct format) but at least it makes it easier not to accidentally skip cards...
I built an experimental Izzet cube (attached to this post) based on the MythicSpoiler.com info. Observations:
(- Yeah, I know the landset code is wrong, I've corrected it in my local copy already.)
- Ok, so you can't run a Sealed Deck game with this cube without modifying the source or draft rankings file slightly. But that's true for the whole RtR expansion, not just this cube. Reason: there are no draft rankings for RtR cards yet, which causes the AI deck building to hang when all available cards have a draft vale of 'null'.
- Two cards that should have gone to the Izzet cube were apparently not implemented yet: Sphinx of the Chimes and Tablet of the Guilds. They need to be added later when implemented.
- The images downloaded by the content downloader into my RtR set pictures subfolder were all 27kb and broken. The deck editor crashed when trying to display them.
- Seems that I don't know how to set up the cube rarity info properly. Currently this cube gives you 1 Rare and 1 guaranteed(!) Mythic Rare per booster, meaning a guaranteed Niv-Mizzet, Dracogenius in every booster pack. That is obviously not how Mythic Rarity is supposed to work...
-Marc
		- 
				 
 moomarc
- Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Return to Ravnica Spoiler Season
 by moomarc » 02 Oct 2012, 07:48
by moomarc » 02 Oct 2012, 07:48 
Sloth, there's a minor problem with the fix you added for this. If a copy of a spell is countered, the original card goes to the graveyard (even if it's already been moved to another zone (via Nivmagus Elemental for instanceSloth wrote:I will take a look at this. As this is a general problem you can probably commit savely.moomarc wrote:EDIT2: I noticed in testing that Counterspell also can't counter storm copies. Is this meant to be the case?
 ). For the stuff I added for Nivmagus I just surrounded the actual exile statement with if(!sourceCard.isCopiedSpell). Can the same thing be done for the countered spells or are there other complications?
 ). For the stuff I added for Nivmagus I just surrounded the actual exile statement with if(!sourceCard.isCopiedSpell). Can the same thing be done for the countered spells or are there other complications?-Marc
		- 
				 
 moomarc
- Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Return to Ravnica Spoiler Season
 by Sloth » 02 Oct 2012, 08:41
by Sloth » 02 Oct 2012, 08:41 
I tried a more general approach in r17287. Copied spell and original spell will no longer be confused with each other.moomarc wrote:Sloth, there's a minor problem with the fix you added for this. If a copy of a spell is countered, the original card goes to the graveyard (even if it's already been moved to another zone (via Nivmagus Elemental for instanceSloth wrote:I will take a look at this. As this is a general problem you can probably commit savely.moomarc wrote:EDIT2: I noticed in testing that Counterspell also can't counter storm copies. Is this meant to be the case?). For the stuff I added for Nivmagus I just surrounded the actual exile statement with if(!sourceCard.isCopiedSpell). Can the same thing be done for the countered spells or are there other complications?
- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Return to Ravnica Spoiler Season
 by moomarc » 02 Oct 2012, 08:49
by moomarc » 02 Oct 2012, 08:49 
Thanks! I also wasn't quite sure how to handle it in my code so eventually just appended " (Copied Spell)" to the copies seeing as I think most players would rather exile their copies and leave the original to resolve and go to the grave so they can use their graveyard shenanigans.Sloth wrote:I tried a more general approach in r17287. Copied spell and original spell will no longer be confused with each other.
-Marc
		- 
				 
 moomarc
- Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Return to Ravnica Spoiler Season
 by Sloth » 02 Oct 2012, 08:59
by Sloth » 02 Oct 2012, 08:59 
Maybe a " (Copied Spell)" indicator is still a good idea, since unique numbers aren't always helpful.moomarc wrote:Thanks! I also wasn't quite sure how to handle it in my code so eventually just appended " (Copied Spell)" to the copies seeing as I think most players would rather exile their copies and leave the original to resolve and go to the grave so they can use their graveyard shenanigans.Sloth wrote:I tried a more general approach in r17287. Copied spell and original spell will no longer be confused with each other.
- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Return to Ravnica Spoiler Season
 by Sloth » 02 Oct 2012, 16:33
by Sloth » 02 Oct 2012, 16:33 
Is someone still working on Epic Experiment? I think it's scriptable without many code modifications. The only problematic part is "Then put all cards exiled this way that weren't cast into your graveyard."
			
		- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Return to Ravnica Spoiler Season
 by moomarc » 02 Oct 2012, 16:43
by moomarc » 02 Oct 2012, 16:43 
I for one am not working on it. I'm not sure on the specifics of the Play AF, but we should be able to just do something similar to what I did for Search the City, and just use a ForgetPlayed param that removes the particular card from the remembered list instead of clearing the full remembered list as we usually do. Then the final changzone just moves the cards still remembered.Sloth wrote:Is someone still working on Epic Experiment? I think it's scriptable without many code modifications. The only problematic part is "Then put all cards exiled this way that weren't cast into your graveyard."
-Marc
		- 
				 
 moomarc
- Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Who is online
Users browsing this forum: No registered users and 22 guests
 
 
