Refactored PW Attack Rule

This commit is contained in:
Anthony Calosa
2017-03-01 17:53:40 +08:00
parent 7627a00dce
commit b7dae1025b
7 changed files with 48 additions and 15 deletions

View File

@@ -170,7 +170,7 @@ public:
MTGCardInstance * banding; // If belongs to a band when attacking
int canBlock();
int canBlock(MTGCardInstance * opponent);
int canAttack();
int canAttack( bool pwcheck = false );
int isAttacker();
Targetable * isAttacking;
MTGCardInstance * storedCard;

View File

@@ -266,7 +266,8 @@ class Constants
HIDDENFACE = 144,
ANYTYPEOFMANA = 145,
NECROED = 146,
NB_BASIC_ABILITIES = 147,
CANTPWATTACK = 147,
NB_BASIC_ABILITIES = 148,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics