trying to figure out why ai is cast cards that belong to a combo outside of a combo even though it is told to skip these cards.
This commit is contained in:
@@ -1033,7 +1033,10 @@ bool TypeTargetChooser::canTarget(Targetable * target,bool withoutProtections)
|
||||
if (card->hasSubtype(types[i])) return true;
|
||||
if(card->getLCName().size())
|
||||
{
|
||||
if (MTGAllCards::findType(card->getLCName()) == types[i]) return true;
|
||||
if (MTGAllCards::findType(card->getLCName()) == types[i])
|
||||
return true;
|
||||
if (MTGAllCards::findType(card->getName()) == types[i])
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user