Re: forgot

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 07/19/00


Del wrote:

> I guess if I can take 30 seconds to look up "exp" in fight.c, you can
> too
> and realize what you said is way off base!!!!
>
>   exp = MIN(max_exp_gain, GET_EXP(victim) / 3);
>
> I see no level comparison here.

Hrmmm, alright, you caught me being lazy.  now if you look down at the
next few lines...

  /* Calculate level-difference bonus */
  if (IS_NPC(ch))
    exp += MAX(0, (exp * MIN(4, (GET_LEVEL(victim) - GET_LEVEL(ch)))) /
8);
  else
    exp += MAX(0, (exp * MIN(8, (GET_LEVEL(victim) - GET_LEVEL(ch)))) /
8);

So, we're both half wrong, or half right, take your pick.

Regards, Peter


     +------------------------------------------------------------+
     | 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/10/01 PDT