update cant attack rule

If it says cant attack or cant attack You or PlanesWalker, creatures
cant attack a player or planeswalker, If it says cant attack You,
creatures cant attack a player only but can attack a PlanesWalker
This commit is contained in:
Anthony Calosa
2017-03-01 10:35:47 +08:00
parent 5f1874edae
commit e47256eae7
3 changed files with 138 additions and 68 deletions

View File

@@ -694,8 +694,6 @@ int MTGCardInstance::canPWAttack()
{
if (has(Constants::CANTATTACKPW))
return 0;
if (has(Constants::FLYERSONLY) && !has(Constants::FLYING))
return 0;
if (tapped)
return 0;
if (hasSummoningSickness())