Re: [Circle] [CIRCLE][CODE]

From: Ross O'Connor (r.oconnor@lancaster.ac.uk)
Date: 11/24/96


On Sat, 23 Nov 1996, Rhys - Legends wrote:

> I have a question about prac_param in class.c
> 
> I want to add a class that can use both skills and spells.
> In prac_param, there is a field where we specify SKILL or SPELL.
> Has anyone changed it so that it allows both?

I was considering the same thing, and as if my memory is correct,
the info for skills & spells is all stored in one MASSIVE array called
spells. You will probably have to add an extra field into this array,
that specifies whether a given skill is actually a spell or skill,
and then u can refer to this whenever needed. This will in face make
the field in the array you mentioned obsolete :-)

-------------------------------------------------------------------------
Hmm, so whats a signature anyway ?

"They aren't margueritas, that's urine recyc!", Lister - series VI, Out
Of Time - the original ending.

Mail  : Flat 1
	14 South Road
	Lancaster
	LA1 4XD
EMail : r.oconnor@lancaster.ac.uk
WWW   : ****THEY'RE BACK**** http://www.lancs.ac.uk/ug/oconnorr
-------------------------------------------------------------------------


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



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