Snow
Mana produced by snow permanent
This commit is contained in:
@@ -652,6 +652,10 @@ private:
|
||||
{
|
||||
intValue = target->controller()->epic;
|
||||
}
|
||||
else if (s == "snowcount")
|
||||
{
|
||||
intValue = target->controller()->snowManaG + target->controller()->snowManaU +target->controller()->snowManaR + target->controller()->snowManaB + target->controller()->snowManaW + target->controller()->snowManaC;
|
||||
}
|
||||
else if (s == "p" || s == "power")
|
||||
{
|
||||
intValue = target->getCurrentPower();
|
||||
|
||||
@@ -204,6 +204,17 @@ public:
|
||||
virtual TapCost * clone() const;
|
||||
};
|
||||
|
||||
//Snow cost
|
||||
class SnowCost : public ExtraCost
|
||||
{
|
||||
public:
|
||||
SnowCost();
|
||||
virtual int isPaymentSet();
|
||||
virtual int canPay();
|
||||
virtual int doPay();
|
||||
virtual SnowCost * clone() const;
|
||||
};
|
||||
|
||||
//untap cost
|
||||
class UnTapCost : public ExtraCost
|
||||
{
|
||||
|
||||
@@ -47,6 +47,12 @@ public:
|
||||
int initLife;
|
||||
int raidcount;
|
||||
int handmodifier;
|
||||
int snowManaG;
|
||||
int snowManaR;
|
||||
int snowManaB;
|
||||
int snowManaU;
|
||||
int snowManaW;
|
||||
int snowManaC;
|
||||
vector<string> prowledTypes;
|
||||
vector<MTGCardInstance*>curses;
|
||||
Player(GameObserver *observer, string deckFile, string deckFileSmall, MTGDeck * deck = NULL);
|
||||
|
||||
Reference in New Issue
Block a user