version 1.6 | | version 1.7 |
---|
| | |
/* | | /* |
* static char *rcsid_disease_c = | | * static char *rcsid_disease_c = |
* "$Id: disease.c,v 1.6 2000/06/04 22:26:08 cvs Exp $"; | | * "$Id: disease.c,v 1.7 2000/06/06 07:04:10 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
| | |
name Name Name of the plague | | name Name Name of the plague |
msg message What the plague says when it strikes. | | msg message What the plague says when it strikes. |
race those affected races the plague strikes (* means everything) | | race those affected species/race the plague strikes (* = everything) |
level Plague Level General description of the plague's deadliness | | level Plague Level General description of the plague's deadliness |
armour Attenuation reduction in wc per generation of disease. | | armour Attenuation reduction in wc per generation of disease. |
This builds in a self-limiting factor. | | This builds in a self-limiting factor. |
| | |
} | | } |
else | | else |
{ | | { |
if(!strstr(victim->race,disease->race)) /* Victim's not listed */ | | if(!strstr(victim->race,disease->race) && !(strstr(victim->name,disease->race))) /* Victim's not listed */ |
return 0; | | return 0; |
} | | } |
| | |