PT should work fine now...

This commit is contained in:
Anthony Calosa
2015-09-10 00:26:20 +08:00
parent 62dd54c886
commit 9d668342be

View File

@@ -4185,7 +4185,8 @@ for (it = types.begin(); it != types.end(); it++)
WParsedInt * val = NEW WParsedInt(newpower,NULL, source);
oldpowerbonus = _target->power - _target->origpower;//keep bonus if any
_target->setPower(oldpowerbonus + val->getValue());
_target->power += reapplyCountersBonus(_target,false,true);
_target->origpower = val->getValue();
//_target->power += reapplyCountersBonus(_target,false,true);
delete val;
}
if(newtoughnessfound )
@@ -4193,7 +4194,8 @@ for (it = types.begin(); it != types.end(); it++)
WParsedInt * val = NEW WParsedInt(newtoughness,NULL, source);
oldtoughnessbonus = _target->toughness - _target->origtoughness;// keep bonus if any
_target->setToughness(oldtoughnessbonus + val->getValue());
_target->addToToughness(reapplyCountersBonus(_target,true,false));
_target->origtoughness = val->getValue();
//_target->addToToughness(reapplyCountersBonus(_target,true,false));
_target->life = _target->toughness;
delete val;
}