added mypos

mypos returns cards zpos (zone position)
This commit is contained in:
Anthony Calosa
2017-02-15 07:30:13 +08:00
parent 01fdcfdfec
commit a9b42127d1

View File

@@ -997,6 +997,10 @@ private:
intValue += card->controller()->game->inPlay->cards[j]->power;
}
}
else if (s == "mypos")
{//hand,exile,grave & library only (library zpos is inverted so the recent one is always the top)
intValue = card->zpos;
}
else if (s == "revealedp")
{
if (card->revealedLast)