From a87377b25a3f77a1d10379f7463aee55b3a40aaf Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Tue, 27 Nov 2012 01:53:41 +0000 Subject: [PATCH] fixed an error in the reseting of setToughness, kind of a dumb error on my part because i was originally the coder :P a creatures life and toughness are tied together, if you do not change both then the creature lives on. --- projects/mtg/src/AllAbilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/AllAbilities.cpp b/projects/mtg/src/AllAbilities.cpp index 5c746f583..8c0563b3c 100644 --- a/projects/mtg/src/AllAbilities.cpp +++ b/projects/mtg/src/AllAbilities.cpp @@ -3844,7 +3844,7 @@ int ATransformer::destroy() } if(newtoughnessfound ) { - _target->toughness = oldtoughness; + _target->setToughness(oldtoughness); } if(newAbilityFound) {