added menutext overriding to transforms.

castcard-> is now the copied spell x.
This commit is contained in:
omegablast2002@yahoo.com
2013-06-19 11:46:09 +00:00
parent 1851f3c7a6
commit 2fa3f468b4
3 changed files with 16 additions and 10 deletions

View File

@@ -4119,6 +4119,7 @@ public:
bool removeCreatureSubtypes;
bool removeTypes;
string menu;
string menutext; //this overrides the previous.
string newpower;
bool newpowerfound;
int oldpower;
@@ -4132,7 +4133,7 @@ public:
bool UYNT;
int myCurrentTurn;
ATransformer(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target, string stypes, string sabilities,string newpower,bool newpowerfound,string newtoughness,bool newtoughnessfound,vector<string> newAbilitiesList,bool newAbilityFound = false,bool aForever = false ,bool UYNT = false);
ATransformer(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target, string stypes, string sabilities,string newpower,bool newpowerfound,string newtoughness,bool newtoughnessfound,vector<string> newAbilitiesList,bool newAbilityFound = false,bool aForever = false ,bool UYNT = false,string menutext = "");
int addToGame();
int reapplyCountersBonus(MTGCardInstance * rtarget= NULL,bool powerapplied=false,bool toughnessapplied=false);
int testDestroy();
@@ -4156,8 +4157,9 @@ public:
bool newAbilityFound;
bool aForever;
bool UYNT;
string menu;
ATransformerInstant(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target, string types = "", string abilities = "",string newpower = "",bool newpowerfound = false,string newtoughness = "",bool newtoughnessfound = false,vector<string>newAbilitiesList = vector<string>(),bool newAbilityFound = false,bool aForever = false, bool UYNT = false);
ATransformerInstant(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target, string types = "", string abilities = "",string newpower = "",bool newpowerfound = false,string newtoughness = "",bool newtoughnessfound = false,vector<string>newAbilitiesList = vector<string>(),bool newAbilityFound = false,bool aForever = false, bool UYNT = false,string menutext = "");
int resolve();
const char * getMenuText();
ATransformerInstant * clone() const;