corrections

seems lord is persistent now
This commit is contained in:
Anthony Calosa
2017-02-28 21:45:34 +08:00
parent 02d882a7c3
commit 22376e873e
2 changed files with 418 additions and 414 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -740,6 +740,11 @@ int AbilityFactory::parseCastRestrictions(MTGCardInstance * card, Player * playe
{
restriction.push_back("type(land|mybattlefield)~morethan~type(land|opponentbattlefield)");
}
check = restriction[i].find("didnotcastnontoken");
if(check != string::npos)
{
restriction.push_back("lastturn(*[-token]|mystack,mybattlefield)~lessthan~1");
}
check = restriction[i].find("paid(");
if(check != string::npos)