Jeck - Hooked economic difficulty into booster prices.

This commit is contained in:
wagic.jeck
2010-02-09 16:56:39 +00:00
parent 5444c4e507
commit 2a2bcef71a
4 changed files with 13 additions and 9 deletions
-3
View File
@@ -114,9 +114,6 @@ class Constants
RARITY_L = 'L', //Lands
RARITY_T = 'T', //Tokens
//Economic values (Placeholders for stuff later set by economic difficulty)
PRICE_FILTER_SCALAR = 4,
ECON_NORMAL = 0, //Options default to 0.
ECON_HARD = 1,
ECON_LUCK = 2,
+1
View File
@@ -22,6 +22,7 @@ class PriceList{
int getPurchasePrice(int cardid);
int getPrice(int cardId);
int setPrice(int cardId, int price);
static float difficultyScalar(float price, int cardid=0);
static void updateKey() {randomKey = rand();};
};