Fixed/added primitives, added keyword to alter devotion count, added keyword to target cards with flashback cost, added "duplicatecounters(single)" keyword to add a counter of a specific kind already present on a permanent or a player.
This commit is contained in:
@@ -542,6 +542,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
cd->unsecureSetHasKickerCost(1);
|
||||
}
|
||||
}
|
||||
//Has flashback cost
|
||||
else if (attribute.find("hasflashback") != string::npos)
|
||||
{
|
||||
if (minus)
|
||||
{
|
||||
cd->unsecureSetHasFlashbackCost(-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
cd->unsecureSetHasFlashbackCost(1);
|
||||
}
|
||||
}
|
||||
//Token
|
||||
else if (attribute.find("token") != string::npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user