cantattack

change some cards since -cantattack overrides cantattack. If there is an
effect that makes creatures can't attack, you can just activate the
ability to remove -cantattack...
This commit is contained in:
Anthony Calosa
2016-08-04 05:41:22 +08:00
parent 0679832b04
commit c45b5751af
3 changed files with 58 additions and 91 deletions
+2
View File
@@ -1836,6 +1836,8 @@ int MTGAttackRule::receiveEvent(WEvent *e)
card->setAttacker(0);
if (card->isAttacker() && !card->has(Constants::VIGILANCE))
card->tap();
if (card->isAttacker() && card->has(Constants::CANTATTACK))
card->toggleAttacker();//if a card has cantattack, then you cant
}
return 1;
}