Fixed issues #1049 and #1050 opened by @ranger7271, improved imprint keywords, improved boast ability, added a new "hasability" keyword to check if a card has an ability or not.
This commit is contained in:
@@ -953,6 +953,16 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
}
|
||||
}
|
||||
|
||||
if (attribute.find("evictname") != string::npos && card->imprintedCards.size())
|
||||
{
|
||||
attributefound = 1;
|
||||
cd->compareName = card->currentimprintName;
|
||||
if (minus)
|
||||
cd->nameComparisonMode = COMPARISON_UNEQUAL;
|
||||
else
|
||||
cd->nameComparisonMode = COMPARISON_EQUAL;
|
||||
}
|
||||
|
||||
if (!attributefound)
|
||||
{
|
||||
//Abilities
|
||||
|
||||
Reference in New Issue
Block a user