add "recent" & "raidcount"
the recent attribute is to parse new cards entered play, then turns itself to 0 if some stuff happened since it's already in play...
This commit is contained in:
@@ -551,6 +551,14 @@ private:
|
||||
intValue +=1;
|
||||
}
|
||||
}
|
||||
else if (s == "praidcount")
|
||||
{
|
||||
intValue = card->controller()->raidcount;
|
||||
}
|
||||
else if (s == "oraidcount")
|
||||
{
|
||||
intValue = card->controller()->opponent()->raidcount;
|
||||
}
|
||||
else if (s == "countallspell")
|
||||
{
|
||||
intValue = card->controller()->game->stack->seenThisTurn("*", Constants::CAST_ALL) + card->controller()->opponent()->game->stack->seenThisTurn("*", Constants::CAST_ALL);
|
||||
@@ -3803,6 +3811,7 @@ public:
|
||||
spell->source->owner = tokenReciever;
|
||||
spell->source->isToken = 1;
|
||||
spell->source->fresh = 1;
|
||||
spell->source->entersBattlefield = 1;
|
||||
if(aLivingWeapon)
|
||||
{
|
||||
livingWeaponToken(spell->source);
|
||||
|
||||
@@ -44,6 +44,7 @@ class CardDescriptor: public MTGCardInstance
|
||||
CardDescriptor();
|
||||
void unsecureSetTapped(int i);
|
||||
void unsecuresetfresh(int k);
|
||||
void unsecuresetrecent(int j);
|
||||
void setisMultiColored(int w);
|
||||
void setNegativeSubtype( string value);
|
||||
int counterPower;
|
||||
|
||||
@@ -283,6 +283,7 @@ public:
|
||||
int canproduceB;
|
||||
int canproduceW;
|
||||
int canproduceC;
|
||||
int entersBattlefield;
|
||||
string currentimprintName;
|
||||
vector<string>imprintedNames;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user