question on setting spells/skills

From: Angus A. Mezick (dodger@WPI.EDU)
Date: 01/20/97


Ray> Heyas, I got a little question that prolly can be answered by a yes/no
Ray> question (hopefully)...I wanna know if I can make a skil/spell RACE
Ray> specific, like in class.c make a seperate function to give a
Ray> particular race a set of spells and skills so that no other class
Ray> could get them unless they where this race.  My hypothesis was to
Ray> write this:

Ray> /* Arachnid */ spell_level(SKILL_EIGTH_ATTACK, RACE_ARACHNID, 90);
Ray> ^^^^^^^^^^^^^ can I do that instead of having to set it to a class?

just move the race ints up to start after the class numbers, then to an
if(num>MAX_CLASS) check for race 
else check for class
+-----------------------------------------------------------+
| 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