added basic offering support
usage tap lands to produce mana then sacrifice an offering... example
you have Guttersnipe in play, it has a mana cost of {2}{R}, and you have
Patron of the Akki in hand that costs {4}{R}{R}. You need to produce
{2}{R} mana first before casting Patron of the Akki, then choose
Guttersnipe as an offering.
This commit is contained in:
@@ -254,6 +254,17 @@ public:
|
||||
virtual Ninja * clone() const;
|
||||
};
|
||||
|
||||
//offering cost
|
||||
class Offering : public ExtraCost
|
||||
{
|
||||
public:
|
||||
Offering(TargetChooser *_tc = NULL);
|
||||
virtual int canPay();
|
||||
virtual int isPaymentSet();
|
||||
virtual int doPay();
|
||||
virtual Offering * clone() const;
|
||||
};
|
||||
|
||||
class CounterCost : public ExtraCost
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -224,7 +224,8 @@ class Constants
|
||||
OPPGRAVEEXILER = 106,
|
||||
LIBRARYDEATH = 107,
|
||||
SHUFFLELIBRARYDEATH = 108,
|
||||
NB_BASIC_ABILITIES = 109,
|
||||
OFFERING = 109,
|
||||
NB_BASIC_ABILITIES = 110,
|
||||
|
||||
|
||||
RARITY_S = 'S', //Special Rarity
|
||||
|
||||
Reference in New Issue
Block a user