added poolsave(COLOR) its an ability that works only on permanents in play.
opponentpoolsave(
mypoolsave(
ex:Upwelling
added a tag for mana, doesntempty
add{g}{g}{g} doesntempty
what this does is make THAT mana remain in the pool until end of turn.
ex:
Sakura-Tribe Springcaller
This commit is contained in:
@@ -4378,6 +4378,18 @@ public:
|
||||
|
||||
};
|
||||
|
||||
class AManaPoolSaver: public MTGAbility
|
||||
{
|
||||
public:
|
||||
string Color;
|
||||
bool OtherPlayer;
|
||||
AManaPoolSaver(GameObserver* observer, int id, MTGCardInstance * source,string Color = "",bool otherPlayer = false);
|
||||
int addToGame();
|
||||
int destroy();
|
||||
AManaPoolSaver * clone() const;
|
||||
~AManaPoolSaver();
|
||||
};
|
||||
|
||||
class ADrawReplacer: public MTGAbility
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -519,7 +519,8 @@ public:
|
||||
ManaCost * output;
|
||||
int tap;
|
||||
string Producing;
|
||||
AManaProducer(GameObserver* observer, int id, MTGCardInstance * card, Targetable * t, ManaCost * _output, ManaCost * _cost = NULL, int who = TargetChooser::UNSET,string producing = "");
|
||||
bool DoesntEmpty;
|
||||
AManaProducer(GameObserver* observer, int id, MTGCardInstance * card, Targetable * t, ManaCost * _output, ManaCost * _cost = NULL, int who = TargetChooser::UNSET,string producing = "",bool doesntEmpty = false);
|
||||
int isReactingToClick(MTGCardInstance * _card, ManaCost * mana = NULL);
|
||||
int resolve();
|
||||
int reactToClick(MTGCardInstance* _card);
|
||||
|
||||
@@ -66,7 +66,8 @@ public:
|
||||
MTGInPlay * inPlay();
|
||||
ManaPool * getManaPool();
|
||||
void takeMulligan();
|
||||
|
||||
ManaCost * doesntEmpty;
|
||||
ManaCost * poolDoesntEmpty;
|
||||
void cleanupPhase();
|
||||
virtual int Act(float dt)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user