Re: Problem with new class and skills/spells.

From: Mike Breuer (mbreuer@new.rr.com)
Date: 12/14/01


----- Original Message -----
From: "Tyler" <tyler@TRILOBYTE.NET>
> I have recently added 4 new classes to my mud. the problem I
> have is,  the skills and spells show up in the practice list but when
> I practice them it says I do but I cant use the skill and it doesnt say
> I am any better at it.  Any idea on what I am missing?

Try making sure you have reasonable values in this structure in class.c:

/* #define LEARNED_LEVEL 0  % known which is considered "learned" */
/* #define MAX_PER_PRAC  1  max percent gain in skill per practice */
/* #define MIN_PER_PRAC  2  min percent gain in skill per practice */
/* #define PRAC_TYPE  3  should it say 'spell' or 'skill'? */

int prac_params[4][NUM_CLASSES] = {
  /* MAG CLE THE WAR */
  {95,  95, 85, 80},  /* learned level */
  {100,  100, 12, 12},  /* max per prac */
  {25,  25, 0, 0,},  /* min per pac */
  {SPELL, SPELL, SKILL, SKILL}  /* prac name */
};

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