copy/flip limit

if the copy/flip is activated, it means it's already in the battlefield,
so "enters the battlefield" must not trigger...
This commit is contained in:
Anthony Calosa
2016-08-10 19:49:31 +08:00
parent 2422e72713
commit 0c124327de
7 changed files with 25 additions and 14 deletions

View File

@@ -1949,7 +1949,8 @@ class AACopier: public ActivatedAbility
{
public:
MTGAbility * andAbility;
AACopier(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target = NULL, ManaCost * _cost = NULL);
bool activated;
AACopier(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target = NULL, ManaCost * _cost = NULL, bool activated = false);
int resolve();
const string getMenuText();
AACopier * clone() const;
@@ -4595,7 +4596,8 @@ public:
string flipStats;
bool isflipcard;
bool forcedcopy;
AAFlip(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target,string flipStats, bool isflipcard = false, bool forcedcopy = false);
bool activated;
AAFlip(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target,string flipStats, bool isflipcard = false, bool forcedcopy = false, bool activated = false);
int resolve();
int testDestroy();
const string getMenuText();

View File

@@ -89,6 +89,7 @@ public:
bool turningOver;
bool isMorphed;
bool isFlipped;
bool activateCF;
string MeldedFrom;
bool isPhased;
bool isCascaded;