added Raid support
thisturn(creature[attacking]|mybattlefield)~morethan~0 only triggers once... use raid keyword... if raid then blah...
This commit is contained in:
@@ -418,6 +418,13 @@ int AbilityFactory::parseCastRestrictions(MTGCardInstance * card, Player * playe
|
||||
return 0;
|
||||
}
|
||||
|
||||
check = restriction[i].find("raid");
|
||||
if(check != string::npos)
|
||||
{
|
||||
if(card->controller()->raidcount < 1)
|
||||
return 0;
|
||||
}
|
||||
|
||||
check = restriction[i].find("ownerscontrol");
|
||||
if(check != string::npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user