From 3ee341cc4ee93c7a51baab39aacf11241c3d984e Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Thu, 9 Jun 2016 20:06:39 +0800 Subject: [PATCH] Clone Fix for issue #448 --- projects/mtg/src/MTGCardInstance.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/mtg/src/MTGCardInstance.cpp b/projects/mtg/src/MTGCardInstance.cpp index a4c4a2554..8318d8dea 100644 --- a/projects/mtg/src/MTGCardInstance.cpp +++ b/projects/mtg/src/MTGCardInstance.cpp @@ -100,8 +100,10 @@ void MTGCardInstance::copy(MTGCardInstance * card) setText(""); //The text is retrieved from the data anyways setName(data->name); - power = data->power; - toughness = data->toughness; + power = data->power;//layer 7a + toughness = data->toughness;//layer 7a + power += pbonus;//layer 7b + toughness += tbonus;//layer 7b life = toughness; lifeOrig = life; magicText = data->magicText;