Added MH2 set, improved Android downloader, added/fixed primitives, improved coin flip event trigger, improved discarded attribute, improved castcard keyword (now it's possible to specify the x value in cost), improved add/remove/mod counter trigger, improved the "spent" and "converge" keyword for spell still in the stack.
This commit is contained in:
@@ -32,6 +32,7 @@ CardDescriptor::CardDescriptor()
|
||||
CDcontrollerDamaged = 0;
|
||||
CDdamager = 0;
|
||||
CDgeared = 0;
|
||||
CDdiscarded = 0;
|
||||
CDattached = 0;
|
||||
CDblocked = 0;
|
||||
CDcanProduceC = 0;
|
||||
@@ -291,6 +292,11 @@ MTGCardInstance * CardDescriptor::match(MTGCardInstance * card)
|
||||
match = NULL;
|
||||
}
|
||||
|
||||
if ((CDdiscarded == -1 && card->discarded) || (CDdiscarded == 1 && !card->discarded))
|
||||
{
|
||||
match = NULL;
|
||||
}
|
||||
|
||||
if ((fresh == -1 && card->fresh) || (fresh == 1 && !card->fresh))
|
||||
{
|
||||
match = NULL;
|
||||
|
||||
Reference in New Issue
Block a user