Re: [CODE] Race Skills/Spells

From: Christoffer Lundberg (avatar@ORION.BODEN.SE)
Date: 12/06/97


> > > On Sat, 6 Dec 1997, Christoffer Lundberg wrote:

> > > > > > I have long tried to implement initial skills/spells for
> > > > > > each of my races (like elves receiving BOW at 90% at level 1).
> > > > > >
> > > > >         This is actually pretty easy, all things considered.  When you go
> > > > > through the initial character generation, after the race is chosen have
> > > > > something like the  following in the next  con state:
> > > > >
> > > >
> > > > I know about this, but the skills set won't show when I type prac...
> > > >
> > >
> > > Make sure that the player is the right class and level to have the skill.
> > > Check out list_skills() in spec_proc.c.
> >
> > What do you mean??
> >
>
> When you type prac it will only show mortals what skills they have
> obtained for their level and class. If mages get magefire at 9th level
> and they are only 8th level then magefire will not show up when they type
> prac.
>
> You have two options to fix your problem:
>
> 1) For the skills that the races automatically get, give them to all
> classes at level 1.
>
> 2) change list_skills() in spec_proc.c so that it will list all skills
> that are available to the person's class and level, and then add on the
> ones that they have higher than 0% in.

how do I do this. What will the code look like? Should I run
&& (GET_SKILL(ch, i) > 0) after the '[(int) GET_CLASS])' stuff ???

Give me some detailed information please....


> John Evans <evansj@hi-line.net>
>
> May the source be with you.
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | 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