version 1.52 | | version 1.53 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.52 2004/06/01 07:20:56 mwedel Exp $"; | | * "$Id: skills.c,v 1.53 2004/07/16 22:24:10 ryo_saeba Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
esrv_send_item(pl, newscroll); | | esrv_send_item(pl, newscroll); |
success = calc_skill_exp(pl,newscroll, skill); | | success = calc_skill_exp(pl,newscroll, skill); |
if(!confused) success *= 2; | | if(!confused) success *= 2; |
| | success = success * skill->level; |
return success; | | return success; |
| | |
} else { /* Inscription has failed */ | | } else { /* Inscription has failed */ |