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

View File

@@ -551,6 +551,18 @@ private:
intValue +=1;
}
}
else if (s == "countallspell")
{
intValue = card->controller()->game->stack->seenThisTurn("*", Constants::CAST_ALL) + card->controller()->opponent()->game->stack->seenThisTurn("*", Constants::CAST_ALL);
}
else if (s == "countmycrespell")
{
intValue = card->controller()->game->stack->seenThisTurn("creature", Constants::CAST_ALL);
}
else if (s == "countmynoncrespell")
{
intValue = card->controller()->game->stack->seenThisTurn("*[-creature]", Constants::CAST_ALL);
}
else if (s == "evictg")
{
intValue = card->imprintG;