add penergy & oenergy

count energy counters available
This commit is contained in:
Anthony Calosa
2017-01-20 15:39:27 +08:00
parent 71c1512ef2
commit e558f21ebc

View File

@@ -552,6 +552,14 @@ private:
intValue +=1;
}
}
else if (s == "penergy")
{
intValue = card->controller()->energyCount;
}
else if (s == "oenergy")
{
intValue = card->controller()->opponent()->energyCount;
}
else if (s == "praidcount")
{
intValue = card->controller()->raidcount;