version 1.37 | | version 1.38 |
---|
| | |
/* | | /* |
* static char *rcsid_skill_util_c = | | * static char *rcsid_skill_util_c = |
* "$Id: skill_util.c,v 1.37 2003/02/03 07:23:48 mwedel Exp $"; | | * "$Id: skill_util.c,v 1.38 2003/03/08 05:35:32 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
buf[40] = 0; | | buf[40] = 0; |
| | |
if (settings.use_permanent_experience) { | | if (settings.use_permanent_experience) { |
new_draw_info_format(NDI_UNIQUE,0,op,"%slvl:%3d (xp:%d/%d/%d%%)", | | new_draw_info_format(NDI_UNIQUE,0,op,"%slvl:%3d (xp:%lld/%lld/%d%%)", |
buf,tmp->exp_obj->level, | | buf,tmp->exp_obj->level, |
tmp->exp_obj->stats.exp, | | tmp->exp_obj->stats.exp, |
level_exp(tmp->exp_obj->level+1, op->expmul), | | level_exp(tmp->exp_obj->level+1, op->expmul), |
clipped_percent(tmp->exp_obj->last_heal,tmp->exp_obj->stats.exp)); | | clipped_percent(tmp->exp_obj->last_heal,tmp->exp_obj->stats.exp)); |
} else { | | } else { |
new_draw_info_format(NDI_UNIQUE,0,op,"%slvl:%3d (xp:%d/%d)", | | new_draw_info_format(NDI_UNIQUE,0,op,"%slvl:%3d (xp:%lld/%lld)", |
buf,tmp->exp_obj->level, | | buf,tmp->exp_obj->level, |
tmp->exp_obj->stats.exp, | | tmp->exp_obj->stats.exp, |
level_exp(tmp->exp_obj->level+1, op->expmul)); | | level_exp(tmp->exp_obj->level+1, op->expmul)); |