couple changes, first i re-added my fancy getMenuText for becomes/transforms abilities, somewhere in the refactor these were forgotten. Fix "Swap" ueot menutext display, it was returning "ability".
fixed a Ai related bug, taught Ai not to mill itself to death basically. played a few matches which Ai was just destroying himself with a creature that allowed him to draw cards for each(whatever) in play. Ai will be a little more careful not to kill himself by Mill, also not to draw 30 cards in a turn when it clearly cant play them.
This commit is contained in:
@@ -3212,6 +3212,7 @@ public:
|
||||
list<int> oldcolors;
|
||||
list<int> oldtypes;
|
||||
bool remove;
|
||||
string menu;
|
||||
|
||||
ATransformer(int id, MTGCardInstance * source, MTGCardInstance * target, string stypes, string sabilities);
|
||||
int addToGame();
|
||||
@@ -3228,6 +3229,7 @@ public:
|
||||
list<int> abilities;
|
||||
list<int> types;
|
||||
list<int> colors;
|
||||
string menu;
|
||||
|
||||
AForeverTransformer(int id, MTGCardInstance * source, MTGCardInstance * target, string stypes, string sabilities);
|
||||
int addToGame();
|
||||
@@ -3266,11 +3268,12 @@ public:
|
||||
class ASwapPTUEOT: public InstantAbility
|
||||
{
|
||||
public:
|
||||
ASwapPT * ability;
|
||||
ASwapPTUEOT(int id, MTGCardInstance * source, MTGCardInstance * target);
|
||||
int resolve();
|
||||
ASwapPTUEOT * clone() const;
|
||||
~ASwapPTUEOT();
|
||||
ASwapPT * ability;
|
||||
ASwapPTUEOT(int id, MTGCardInstance * source, MTGCardInstance * target);
|
||||
int resolve();
|
||||
const char * getMenuText();
|
||||
ASwapPTUEOT * clone() const;
|
||||
~ASwapPTUEOT();
|
||||
};
|
||||
|
||||
//becomes ability
|
||||
|
||||
Reference in New Issue
Block a user