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

@@ -485,6 +485,14 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
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?