added M15 cards :)

added M15 cards and support for cards that use startinglife
keyword(Resolute Archangel)
This commit is contained in:
Anthony Calosa
2015-09-21 12:00:34 +08:00
parent b16b37e757
commit 7b3da0e2c2
4 changed files with 1076 additions and 12 deletions

View File

@@ -546,6 +546,16 @@ private:
{
intValue = target->controller()->life;
}
else if (s == "startinglife")
{
intValue = target->controller()->initLife;
}
else if (s == "abundantlife")//current life is morethan or equal to starting life
{
intValue = 0;
if (target->controller()->life >= target->controller()->initLife)
intValue = 1;
}
else if (s == "highestlifetotal")
{
intValue = target->controller()->life <= target->controller()->opponent()->life? target->controller()->opponent()->life:target->controller()->life;