>Interesting note: This can be calculated in such a way as to avoid
>having to complete experience tables for all the levels...
>
>int get_exp(char level)
>{
> if (level <= 0)
> return 0;
>
> return (get_exp(level - 1) + ((level + 4) / 5) * 10000);
>}
If I'm doing it correctly in my head then a
level 2 would need 10001 exp to his next level instead of 10000? And a lvl 27 would need 60026 exp to his next level, whereas the max should be 50000.
Angelfire for your free web-based e-mail. http://www.angelfire.com
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/11/01 PDT