Made damager keyword work. Fixed Executioner's Swing in mtg.txt

This commit is contained in:
Bjørn Snoen
2013-12-21 11:05:15 +01:00
parent d4e0296d2b
commit 20e878a102
9 changed files with 32 additions and 3 deletions

View File

@@ -1224,6 +1224,14 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
cd.CDcontrollerDamaged = 1;
}
}
//creature dealt damage to anything
else if (attribute.find("damager") != string::npos){
if (minus){
cd.CDdamager = -1;
} else {
cd.CDdamager = 1;
}
}
else if (attribute.find("multicolor") != string::npos)
{
//card is multicolored?