More code compliance. New tests.

This commit is contained in:
Bjørn Snoen
2013-12-21 19:31:32 +01:00
parent 60219411f6
commit 928ca3497a
5 changed files with 130 additions and 5 deletions

View File

@@ -1227,9 +1227,12 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
//creature dealt damage to anything
else if (attribute.find("damager") != string::npos)
{
if (minus){
if (minus)
{
cd.CDdamager = -1;
} else {
}
else
{
cd.CDdamager = 1;
}
}