--- deliantra/server/common/living.C 2007/01/15 21:06:18 1.30 +++ deliantra/server/common/living.C 2007/01/18 19:42:09 1.31 @@ -757,7 +757,7 @@ /* Randomly change the players luck. Basically, we move it * back neutral (if greater>0, subtract, otherwise add) */ - if (RANDOM () % (FABS (tmp->stats.luck)) >= RANDOM () % 30) + if (RANDOM () % (FABS (tmp->stats.luck)) >= rndm (30)) { int diff = tmp->stats.luck > 0 ? -1 : 1;