version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_resurrection_c = | | * static char *rcsid_resurrection_c = |
* "$Id: resurrection.c,v 1.9 2003/03/09 00:44:12 mwedel Exp $"; | | * "$Id: resurrection.c,v 1.10 2003/03/09 00:52:54 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
static char *races[]= { "barbarian","cleric", "elf","human","mage","ninja","priest", | | static char *races[]= { "barbarian","cleric", "elf","human","mage","ninja","priest", |
"swashbuckler","thief","viking","warrior","wizard" }; | | "swashbuckler","thief","viking","warrior","wizard" }; |
| | |
long int exp; | | sint64 exp; |
int Con; | | int Con; |
| | |
/* set up our paths/strings... */ | | /* set up our paths/strings... */ |
| | |
{ fgets(buf,255,deadplayer); | | { fgets(buf,255,deadplayer); |
sscanf(buf,"%s",buf2); | | sscanf(buf,"%s",buf2); |
if( ! (strcmp(buf2,"exp"))) { | | if( ! (strcmp(buf2,"exp"))) { |
sscanf(buf,"%s %ld",buf2,&exp); | | sscanf(buf,"%s %lld",buf2,&exp); |
switch(rspell) { | | switch(rspell) { |
case SP_RAISE_DEAD: | | case SP_RAISE_DEAD: |
exp-=exp/5; | | exp-=exp/5; |