Fix Flip/Transform Cards

If the card is a copier or a token, it cannot be transformed since it's
not a double face card. Also the copied card must be the "active" part
of a double faced card. Flip cards (kamigawa block) is not restricted by
this since its a single sided card. If the transformed card is cda, take
any damage into account (PT bonus is already in effect for cda)..
This commit is contained in:
Anthony Calosa
2016-07-27 14:39:39 +08:00
parent dd5d5589ff
commit b8bfe7acc1
3 changed files with 62 additions and 11 deletions

View File

@@ -4499,7 +4499,8 @@ class AAFlip: public InstantAbility
public:
vector<MTGAbility *> currentAbilities;
string flipStats;
AAFlip(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target,string flipStats);
bool isflipcard;
AAFlip(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target,string flipStats, bool isflipcard = false);
int resolve();
int testDestroy();
const string getMenuText();