added basepower and basetoughness

added these two so if we want to access original power and toughness, we
can point to origpower and origtoughness respectively.
This commit is contained in:
Anthony Calosa
2015-09-10 05:26:09 +08:00
parent 9d668342be
commit c1e9fad271
3 changed files with 10 additions and 6 deletions

View File

@@ -36,7 +36,9 @@ MTGCardInstance::MTGCardInstance(MTGCard * card, MTGPlayerCards * arg_belongs_to
attacker = 0;
lifeOrig = life;
origpower = power;
basepower = origpower;
origtoughness = toughness;
basetoughness = origtoughness;
belongs_to = arg_belongs_to;
owner = NULL;
if (arg_belongs_to)