added keyword phandcount - player hand count
added keyword ohandcount - opponent hand count
This commit is contained in:
@@ -344,6 +344,14 @@ private:
|
|||||||
{
|
{
|
||||||
intValue = target->controller()->handsize;
|
intValue = target->controller()->handsize;
|
||||||
}
|
}
|
||||||
|
else if (s == "phandcount")
|
||||||
|
{
|
||||||
|
intValue = target->controller()->game->hand->nb_cards;
|
||||||
|
}
|
||||||
|
else if (s == "ohandcount")
|
||||||
|
{
|
||||||
|
intValue = target->controller()->opponent()->game->hand->nb_cards;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
intValue = atoi(s.c_str());
|
intValue = atoi(s.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user