Add CD Blocked & some cards

cd "blocked" should fix Smite , Tattermunge Witch
This commit is contained in:
Anthony Calosa
2016-08-18 17:57:14 +08:00
parent ed838815ef
commit 892ef6b1b3
5 changed files with 110 additions and 3 deletions

View File

@@ -408,6 +408,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
cd->defenser = &MTGCardInstance::AnyCard;
}
}
//Blocked
else if (attribute.find("blocked") != string::npos)
{
if (minus)
{
cd->CDblocked = -1;
}
else
{
cd->CDblocked = 1;
}
}
//Tapped, untapped
else if (attribute.find("tapped") != string::npos)
{