in this commit i added a creature subtype specific vector, added a couple variables for new abilities, and a sort for the creature variable to avoid the long lag out everytime we play a card or ability that needs this vector.

This commit is contained in:
omegablast2002@yahoo.com
2012-03-13 16:32:26 +00:00
parent 97bd418aac
commit 39e8bd1f30
6 changed files with 61 additions and 12 deletions

View File

@@ -88,6 +88,9 @@ public:
bool graveEffects;
bool exileEffects;
bool suspended;
int chooseacolor;
string chooseasubtype;
int coinSide;//1 = tails
int stillInUse();
int didattacked;
@@ -104,6 +107,7 @@ public:
MTGCardInstance * previous;
MTGCardInstance * next;
int doDamageTest;
bool skipDamageTestOnce;
int summoningSickness;
ManaCost reducedCost;
ManaCost increasedCost;
@@ -149,6 +153,7 @@ public:
int canBlock(MTGCardInstance * opponent);
int canAttack();
int isAttacker();
Targetable * isAttacking;
MTGCardInstance * isDefenser();
int initAttackersDefensers();
MTGCardInstance * getNextOpponent(MTGCardInstance * previous=NULL);