Issue: 474
modified player status to recognize that test suite has been activated. This is to allow deactivation of "phase skip automation" game setting during test suite. TODO: fix "Phase Skip Automation" such that if turned on the test suite does not break. This fix should be considered temporary
This commit is contained in:
@@ -15,12 +15,21 @@ class Player: public Damageable{
|
||||
ManaPool * manaPool;
|
||||
|
||||
public:
|
||||
enum ENUM_PLAY_MODE
|
||||
{
|
||||
MODE_TEST_SUITE,
|
||||
MODE_HUMAN,
|
||||
MODE_AI,
|
||||
};
|
||||
|
||||
|
||||
virtual void End();
|
||||
int typeAsTarget(){return TARGET_PLAYER;}
|
||||
const string getDisplayName() const;
|
||||
virtual int displayStack(){return 1;}
|
||||
JTexture * mAvatarTex;
|
||||
JQuad * mAvatar;
|
||||
int playMode;
|
||||
int canPutLandsIntoPlay;
|
||||
int nomaxhandsize;
|
||||
int castedspellsthisturn;
|
||||
|
||||
@@ -88,7 +88,7 @@ class TestSuiteAI:public AIPlayerBaka{
|
||||
public:
|
||||
TestSuite * suite;
|
||||
float timer;
|
||||
int playMode;
|
||||
|
||||
TestSuiteAI(TestSuite * suite, int playerId);
|
||||
virtual int Act(float dt);
|
||||
virtual int displayStack();
|
||||
|
||||
Reference in New Issue
Block a user