Re: [NEWBIE]Innate Racial Skills

From: Daniel A. Koepke (dkoepke@california.com)
Date: 12/21/99


On Tue, 21 Dec 1999, Brian Hartvigsen wrote:

> The problem with this is it checks BASED ON THE Class!
>
>      if ((GET_LEVEL(ch) >= spell_info[i].min_level[(int) GET_CLASS(ch)])

Sorry, you didn't pay close enough attention.  His code was:

> >     if ((GET_LEVEL(ch) >= spell_info[i].min_level[(int) GET_CLASS(ch)]) ||
> >         ((GET_SKILL(ch, i) > 0) && (GET_LEVEL(ch) < LVL_GOD))) {

I.e., if their level is high enough according to class OR if they know the
skill a little AND their level is below LVL_GOD.  That means the first
part may be false and it will still be displayed if the second part is
true.

-dak / dkoepke@circlemud.org


     +------------------------------------------------------------+
     | 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 : 12/15/00 PST