revert pw attack rule

need to refactor this as this cause crashes on android when you cast a
planeswalker
This commit is contained in:
Anthony Calosa
2017-03-01 16:07:12 +08:00
parent 3bf1cca118
commit d761bac85c
11 changed files with 17 additions and 48 deletions
-1
View File
@@ -171,7 +171,6 @@ public:
int canBlock();
int canBlock(MTGCardInstance * opponent);
int canAttack();
int canPWAttack();
int isAttacker();
Targetable * isAttacking;
MTGCardInstance * storedCard;
+1 -2
View File
@@ -266,8 +266,7 @@ class Constants
HIDDENFACE = 144,
ANYTYPEOFMANA = 145,
NECROED = 146,
CANTATTACKPW = 147,
NB_BASIC_ABILITIES = 148,
NB_BASIC_ABILITIES = 147,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics
+1 -1
View File
@@ -279,7 +279,7 @@ public:
MTGAttackRule(GameObserver* observer, int _id);
const string getMenuText()
{
return "Attack Player";
return "Attacker";
}
int receiveEvent(WEvent * event);
virtual MTGAttackRule * clone() const;