serum powder code
serum powder second ability... Any time you could mulligan and Serum Powder is in your hand, you may exile all the cards from your hand, then draw that many cards.
This commit is contained in:
@@ -5540,6 +5540,17 @@ public:
|
||||
AAShuffle * clone() const;
|
||||
};
|
||||
|
||||
//Mulligan
|
||||
class AAMulligan: public ActivatedAbilityTP
|
||||
{
|
||||
public:
|
||||
AAMulligan(GameObserver* observer, int _id, MTGCardInstance * card, Targetable * _target, ManaCost * _cost = NULL, int who =
|
||||
TargetChooser::UNSET);
|
||||
int resolve();
|
||||
const string getMenuText();
|
||||
AAMulligan * clone() const;
|
||||
};
|
||||
|
||||
//Remove Mana From ManaPool
|
||||
class AARemoveMana: public ActivatedAbilityTP
|
||||
{
|
||||
|
||||
@@ -151,6 +151,7 @@ class GameObserver{
|
||||
bool undo();
|
||||
bool isLoading(){ return mLoading; };
|
||||
void Mulligan(Player* player = NULL);
|
||||
void serumMulligan(Player* player = NULL);
|
||||
Player* getPlayer(size_t index) { return players[index];};
|
||||
bool isStarted() { return (mLayers!=NULL);};
|
||||
RandomGenerator* getRandomGenerator() { return &randomGenerator; };
|
||||
|
||||
@@ -68,6 +68,7 @@ public:
|
||||
MTGInPlay * inPlay();
|
||||
ManaPool * getManaPool();
|
||||
void takeMulligan();
|
||||
void serumMulligan();
|
||||
ManaCost * doesntEmpty;
|
||||
ManaCost * poolDoesntEmpty;
|
||||
void cleanupPhase();
|
||||
|
||||
Reference in New Issue
Block a user