Page 1 of 1

card set and rarity

PostPosted: 19 Aug 2010, 18:32
by mtgrares
I didn't know how to specify a card's set and rarity, so I just didn't. I knew that cards could exist in different sets and have different rarities for each set. Obviously once I added sealed deck and drafting to Forge, there was a question of rarity so I came up with common.txt, uncommon.txt, and rare.txt. But this doesn't allow a user to easily change between sets.

So a card's rarity and set is still "up in the air".

Re: card set and rarity

PostPosted: 20 Aug 2010, 14:32
by Rob Cashwalker
Don't worry I've got a crack-team of monk-- err developers working on this very question.....

I just undid my changes for draft booster packs. Maintaining "normal" rarity isn't too tough, and there's an "app for that" or rather, a "script for that". But draft, especially the way juzamjedi has been doing it is more personal, and plowing through 3900 cards in cards.txt to add another line for each card is not something I want him or anyone else to waste time on. So I reverted to using the draft/rarity.txt file for that part only.
Somewhere shortly down the line, I'll come up with a simpler, single-file format that will come along with a list screen to "import" your preferred (saved between sessions) card pool and rarity. (or choose the default card pool (all) using the SVar:Rarity)

In a similar fashion, I think the easiest way to implement sets will be with a file-per-set. Each card will have a one-line entry noting the rarity and possibly a picture from that set. New Booster Pack generators would be written to take the set code or name as a parameter, and pull the rarity from the associated file.

Re: card set and rarity

PostPosted: 20 Aug 2010, 17:59
by juzamjedi
I've read the couple of forum topics on this and it seems like a fine solution. Thanks Rob for listening to my concern.

Re: card set and rarity

PostPosted: 20 Aug 2010, 18:03
by mtgrares
Rob, sounds good. I figured eventually somebody would have a good idea.

Re: card set and rarity

PostPosted: 20 Aug 2010, 18:23
by Chris H.
juzamjedi wrote:I've read the couple of forum topics on this and it seems like a fine solution. Thanks Rob for listening to my concern.
`
Download both the forge 08-20 and the forge fix r1802 archive files and I believe that you will be able to continue with the draft mode.