Here are the changes made in the code. If the difficulty adjustment is changed I think we can do something better than this but am not volunteering
justin7674, consider paying more attention to the comments detail. There are two spots where you did not update the comments with the correct values.
Original
static const int64 nTargetTimespan = 1 * 24 * 60 * 60; // CraftCoin: 1 days
justin7674
static const int64 nTargetTimespan = 3 * 60 * 60; // CraftCoin: 3 hrs
Original
static const int64 nReTargetHistoryFact = 4; // look at 4 times the retarget
// interval into the block history
justin7674 (need to fix the comments to say "look at 6 times the retarget")
static const int64 nReTargetHistoryFact = 6; // look at 4 times the retarget
// interval into the block history
Original
// Maximum 400% adjustment...
bnResult *= 4;
// ... in best-case exactly 4-times-normal target time
justin7674 (need to change "400%" comment to "200%")
// Maximum 400% adjustment...
bnResult *= 2;
// ... in best-case exactly 2-times-normal target time