It is currently 11 Sep 2025, 09:31
   
Text Size

Random Sets in quest card shop?

Post MTG Forge Related Programming Questions Here

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

Random Sets in quest card shop?

Postby Jaedayr » 29 Aug 2012, 21:35

I know that there is no longer a new set of random cards except after playing a match. However, I just noticed that for a particular card that is present in more than one set, the set IS random every time you go to the shop. What this means is that if you see a card you want but at a high price, exit and reenter the shop and see if it shows up in a lower cost set. Is this intended, or a bug?
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: Random Sets in quest card shop?

Postby Max mtg » 30 Aug 2012, 19:12

I am surprised to learn that cards' costs change by set.
That might be reasonable if the price list is imported from some real-word prices, where card edition matters. Not sure if this is a bug.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Random Sets in quest card shop?

Postby friarsol » 30 Aug 2012, 19:17

Max mtg wrote:I am surprised to learn that cards' costs change by set.
That might be reasonable if the price list is imported from some real-word prices, where card edition matters. Not sure if this is a bug.
I believe what Jaedayr is saying is that the actual set that a card belongs to in the shop isn't saved along with the name. Since the prices are imported from real world data, an Alpha Birds of Paradise might cost 50k credits, where a M12 one will only cost 500. Since the set isn't saved, he can quit in the middle of a quest session. Return to the store, and get a reduced price.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Random Sets in quest card shop?

Postby Max mtg » 31 Aug 2012, 03:12

friarsol wrote:I believe what Jaedayr is saying is that the actual set that a card belongs to in the shop isn't saved along with the name. Since the prices are imported from real world data, an Alpha Birds of Paradise might cost 50k credits, where a M12 one will only cost 500. Since the set isn't saved, he can quit in the middle of a quest session. Return to the store, and get a reduced price.
Should we keep the randomizer seed to initialize the shop inside the quest save then?
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Random Sets in quest card shop?

Postby Jaedayr » 31 Aug 2012, 20:39

I don't have a problem with it the way it is. :D But then I tend to be more casual and play the lower difficulties mostly. Not to get too complex, but what about saving the seed for the two highest difficulties and leaving it as is for the lower ones?
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: Random Sets in quest card shop?

Postby Sloth » 31 Aug 2012, 20:53

When i look at the QuestData xml file the cards in the shopList have a set code. I guess it just needs to be restored without randomization.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 47 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 47 users online :: 0 registered, 0 hidden and 47 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 47 guests

Login Form