version 1.34 | | version 1.35 |
---|
| | |
/* | | /* |
* static char *rcsid_disease_c = | | * static char *rcsid_disease_c = |
* "$Id: disease.c,v 1.34 2005/11/16 08:16:08 mwedel Exp $"; | | * "$Id: disease.c,v 1.35 2006/04/06 21:18:35 tchize Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
return 0; /*Immune! */ | | return 0; /*Immune! */ |
} | | } |
| | |
new_symptom = get_archetype(ARCH_SYMPTOM); | | new_symptom = create_archetype(ARCH_SYMPTOM); |
| | |
/* Something special done with dam. We want diseases to be more | | /* Something special done with dam. We want diseases to be more |
* random in what they'll kill, so we'll make the damage they | | * random in what they'll kill, so we'll make the damage they |
| | |
return 1; /* just update the existing immunity. */ | | return 1; /* just update the existing immunity. */ |
} | | } |
} | | } |
immunity = get_archetype("immunity"); | | immunity = create_archetype("immunity"); |
immunity->name = add_string(disease->name); | | immunity->name = add_string(disease->name); |
immunity->level = disease->level; | | immunity->level = disease->level; |
immunity->move_block = 0; | | immunity->move_block = 0; |