version 1.31 | | version 1.32 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.31 2002/07/15 04:25:40 mwedel Exp $"; | | * "$Id: gods.c,v 1.32 2002/10/12 05:34:29 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError,"Bad call to lose_priest_exp() \n"); | | LOG(llevError,"Bad call to lose_priest_exp() \n"); |
return; | | return; |
} | | } |
if((loss = check_dm_add_exp_to_obj(pl->chosen_skill->exp_obj,loss))) { | | if((loss = check_exp_loss(pl->chosen_skill->exp_obj,loss))) { |
pl->chosen_skill->exp_obj->stats.exp -= loss; | | pl->chosen_skill->exp_obj->stats.exp -= loss; |
pl->stats.exp -= loss; | | pl->stats.exp -= loss; |
add_exp(pl,0); | | player_lvl_adj(pl, pl->chosen_skill->exp_obj); |
| | player_lvl_adj(pl, NULL); |
} | | } |
} | | } |