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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user