version 1.20 | | version 1.21 |
---|
| | |
/* | | /* |
* static char *rcsid_living_c = | | * static char *rcsid_living_c = |
* "$Id: living.c,v 1.20 2001/01/08 20:31:54 avogl Exp $"; | | * "$Id: living.c,v 1.21 2001/01/08 21:33:11 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(!(i%6)) wc--; | | if(!(i%6)) wc--; |
/* addtional dam every 4 levels. */ | | /* addtional dam every 4 levels. */ |
if(!(i%4)&&!(dam_bonus[op->stats.Str]<0)) | | if(!(i%4)&&!(dam_bonus[op->stats.Str]<0)) |
op->stats.dam = MIN(op->stats.dam+1+(dam_bonus[op->stats.Str]/5), 127); | | op->stats.dam+=(1+(dam_bonus[op->stats.Str]/5)); |
} | | } |
} else | | } else |
#endif /* ALLOW_SKILLS */ | | #endif /* ALLOW_SKILLS */ |
wc-=(op->level+thaco_bonus[op->stats.Str]); | | wc-=(op->level+thaco_bonus[op->stats.Str]); |
op->stats.dam = MIN(op->stats.dam+dam_bonus[op->stats.Str], 127); | | |
| | |
| | op->stats.dam+=dam_bonus[op->stats.Str]; |
if(op->contr->braced) | | if(op->contr->braced) |
wc+=4; | | wc+=4; |
if(op->stats.dam<1) | | if(op->stats.dam<1) |