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);
|
||||
|
||||
Reference in New Issue
Block a user