Re: [CODE] Race Skills/Spells

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


On Sat, 6 Dec 1997, Patrick J. Dughi wrote:

> > I have long tried to implement initial skills/spells for
> > each of my races (like elves receiving BOW at 90% at level 1).
> >
> > How do I add this feature?? Anyone who have done it?
> > I need answers. Have tried to copy the 'spell_level' function
> > but without success.
> >
>         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:
>
>         switch(race) {
>             case RACE_ELF:
>                 GET_SKILL(d->character,SKILL_BOW)=90;
>                 GET_SKILL(d->character,SKILL_SNEAK)=20;
>                 break;
>             case RACE_DWARF:
>                 GET_SKILL(d->character,SKILL_AXE)=60;
>                 break;
>                         .
>                         .
>                         .
>         etc..
>                                         PjD


I know about this, but the skills set won't show when I type prac...




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