Re: A botched "do_advance"

From: Chuck Reed (creed@I-55.COM)
Date: 11/16/97


At 12:07 AM 11/16/97 -0400, you wrote:
>>  }
>>  if (newlevel > GET_LEVEL(ch)) {
>>    send_to_char("Yeah, right.\r\n", ch);
>>    return;
>>  }

No, you are reading this wrong.  It makes sure that the god's level
(get_level(ch)) isn't higher than the level he is trying to raise his victim
to (newlevel).  It prevents level 60 gods from making level 61 gods.


>Umm.. I think it should be:
>
>   }
>   if (newlevel < GET_LEVEL(ch)) {
>   ...

This wouldn't let anyone advance.

Chuck


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST