The First Snippet we Never forget

From: Nikolas (nikolas999@bol.com.br)
Date: 12/10/01


STOP_IMM Snippet by Nikolas(Kolaz) LOL! :-)

Open limits.c

==========
Search for...
::::::::::::::::::::::::::::::::::::::::::::::::
  if (gain > 0) {
    gain = MIN(max_exp_gain, gain); /* put a cap on the max gain per kill */
    GET_EXP(ch) += gain;
    while (GET_LEVEL(ch) < LVL_IMMORT &&
 GET_EXP(ch) >= level_exp(GET_CLASS(ch), GET_LEVEL(ch) + 1)) {
      GET_LEVEL(ch) += 1;
      num_levels++;
      advance_level(ch);
      is_altered = TRUE;
::::::::::::::::::::::::::::::::::::::::::::::::
In the "while (GET_LEVEL(ch) < LVL_IMMORT %%" translate LVL_IMMORT to lvl
you want to stop the "Your rise a level!" of players...

Search for...
::::::::::::::::::::::::::::::::::::::::::::::::
  if (!IS_NPC(ch) && ((GET_LEVEL(ch) < 1 || GET_LEVEL(ch) >= LVL_IMMORT)))
    return;
::::::::::::::::::::::::::::::::::::::::::::::::
if you want to define a level to stop the gain of xp of players, translate
LVL_IMMORT to the initial level when this start...(ex.: 17)

Sorry for my bad english of tourist and
Tahnk You,
Nikolas

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



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