version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_resurrection_c = | | * static char *rcsid_resurrection_c = |
* "$Id: resurrection.c,v 1.3 2000/05/26 09:50:49 jec Exp $"; | | * "$Id: resurrection.c,v 1.4 2000/07/20 03:56:28 peterm Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
sscanf(buf,"%s %ld",buf2,&exp); | | sscanf(buf,"%s %ld",buf2,&exp); |
switch(rspell) { | | switch(rspell) { |
case SP_RAISE_DEAD: | | case SP_RAISE_DEAD: |
exp-=exp/20; | | exp-=exp/5; |
break; | | break; |
case SP_RESURRECTION: | | case SP_RESURRECTION: |
exp-=exp/10; | | exp-=exp/10; |
break; | | break; |
case SP_REINCARNATION: | | case SP_REINCARNATION: |
exp-=exp/5; | | exp-=exp/20; |
break; | | break; |
} | | } |
sprintf(buf,"exp %ld\n",exp); | | sprintf(buf,"exp %ld\n",exp); |