Craig Cooney wrote: > >i recently patched in the rolemaster patch. I've went ahead and put in > >a cmodifier for classes and have noticed that every level the experience > >resets to zero. This didn't bother me at first until i realized that extra > >exp was lost(i.e need 38 exp to level, get 43, lose 5). I have an idea about > >how to go about this, but was wondering if anybody had done this before. > > Peter Ajamian suggested: > return (get_exp(level - 1) + MIN(((level + 4) / 5) * 10000, 50000)); I did? Heh, don't remember what exactly I suggested or what it was in regards to, but that will definately work for what you want. > Instead of: > return MIN(((level + 4) / 5) * 10000, 50000); > and the GET_EXP(ch) = 0 in advance_level This will also work... GET_EXP(ch) -= exp_to_level(GET_LEVEL(ch)-1); Instead of GET_EXP(ch) = 0; in advance_level. Regards, Peter -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/03/01 PST