Re: Limiting Exp Gain?

From: Thomas Arp (
Date: 08/20/02

From: "Mathew Earle Reuther" <>
> I'm having difficulty in determining where I should put checks in to stop
> the gaining of experience.  Through experiementing with gain_exp, I've
> noted that if I put in checks to limit the exp gain there, it also has the
> benefit of working to limit exp loss through death if the limiting
> conditions are satisfied.  Thus, peopole can have no fear of death (or at
> least losing exp) once they manage to put themselves in a state where exp
> needs to be limited.  (This is not good, obviously.)
I figure that by 'limit exp gain' you mean nullify any exp loss/gain. To
counter that, I'd suggest something along these lines:

in gain_exp():

if (exp_gain>0 && limit is reached)
  do normal exp calcs.

> Just looking for suggestions here since it's the end of my coding day and
> I'll be picking this up again tomorrow.

Best I could do before I turn in, too.


   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT