Nuku Nuku <backdoor@wam.umd.edu> wrote: >xp_percent = GET_EXP(ch) / titles[(int) GET_CLASS(ch)][GET_LEVEL(ch)+1].exp; > > >xp_percent should be the approx, percentage of xp the character has >gotten for his next level. I've gotten all sorts of errors, done all Percent of 'a' in 'b' is: 100 * a / b >sorts of fixes, but for some reason, i always get < .1 That's because you need to multiply the result by 100 :) Rv.
This archive was generated by hypermail 2b30 : 12/18/00 PST