added oplifetotal...or readded, i swear this was already in a long time ago when I added lifetotal as a variable. either way.

This commit is contained in:
zethfoxster
2016-07-24 11:08:08 -04:00
parent f254ca57c6
commit 3007ddc093
3 changed files with 9 additions and 4 deletions
+5
View File
@@ -596,6 +596,10 @@ private:
if(card->playerTarget)
intValue = card->playerTarget->curses.size();
}
else if (s == "oplifetotal")
{
intValue = target->controller()->opponent()->life;
}
else if (s == "lifetotal")
{
intValue = target->controller()->life;
@@ -3296,6 +3300,7 @@ public:
game->removeObserver(abilities[card]);
abilities.erase(card);
}
resolve();
return 1;
}