version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_disease_c = | | * static char *rcsid_disease_c = |
* "$Id: disease.c,v 1.12 2000/11/17 11:16:45 peterm Exp $"; | | * "$Id: disease.c,v 1.13 2000/12/04 00:40:05 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
copy_object(disease,new_disease); | | copy_object(disease,new_disease); |
new_disease->stats.food=disease->stats.maxgrace; | | new_disease->stats.food=disease->stats.maxgrace; |
new_disease->value=disease->stats.maxhp; | | new_disease->value=disease->stats.maxhp; |
new_disease->stats.wc -= disease->armour; /* self-limiting factor */ | | new_disease->stats.wc -= disease->last_grace; /* self-limiting factor */ |
| | |
/* Unfortunately, set_owner does the wrong thing to the skills pointers | | /* Unfortunately, set_owner does the wrong thing to the skills pointers |
resulting in exp going into the owners *current* chosen skill. */ | | resulting in exp going into the owners *current* chosen skill. */ |