version 1.48 | | version 1.49 |
---|
| | |
/* | | /* |
* static char *rcsid_skill_util_c = | | * static char *rcsid_skill_util_c = |
* "$Id: skill_util.c,v 1.48 2004/06/06 16:25:40 ryo_saeba Exp $"; | | * "$Id: skill_util.c,v 1.49 2004/06/23 05:49:07 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
buf,tmp->level, | | buf,tmp->level, |
tmp->stats.exp, | | tmp->stats.exp, |
level_exp(tmp->level+1, op->expmul), | | level_exp(tmp->level+1, op->expmul), |
clipped_percent(tmp->last_heal,tmp->stats.exp)); | | clipped_percent(tmp->perm_exp,tmp->stats.exp)); |
#else | | #else |
sprintf(skills[num_skills_found++],"%slvl:%3d (xp:%lld/%lld/%d%%)", | | sprintf(skills[num_skills_found++],"%slvl:%3d (xp:%lld/%lld/%d%%)", |
buf,tmp->level, | | buf,tmp->level, |
tmp->stats.exp, | | tmp->stats.exp, |
level_exp(tmp->level+1, op->expmul), | | level_exp(tmp->level+1, op->expmul), |
clipped_percent(tmp->last_heal,tmp->stats.exp)); | | clipped_percent(tmp->perm_exp,tmp->stats.exp)); |
#endif | | #endif |
} else { | | } else { |
#ifdef WIN32 | | #ifdef WIN32 |