Adding spells...

From: Ake Jonsson (sv0akejo@ida.his.se)
Date: 01/19/95


Hi.

I have a small problem with the spells in circle 2.2..

I have tried to add a new spell but it seems like I am missing something.
Here is what I do:

I put ASPELL(channel) and ACAST(channel) in magic.c and spells2.c

In spells.h I add 

   /* END OF SKILL RESERVED "NO TOUCH" NUMBERS */

   #define SPELL_CHANNEL                53 /* Added 170195 DC */


I add a SPELLO in spell_parser.c

Now.. Here comes my problems:

"prac" with no arguments to list spells don't show my new spell.
Even if i told it to show all thats in spells list.

"prac channel" at guild works fine, but when i check my knowledge with
"prac" then I have learned the skill "pick" instead of channel.

Anyone have any ideas about what i am doing wrong..

BTW. This mud allow chars to prac both skills and spells.



//Ake
-- 
     _                                                  \\\\ ?!?!...
    /_\  University of Skovde, Sweden                   (o o)           
   _____   __                 ____  ()()        +-+-+oOO-(_)-OOo+-+-+   
  /  _  \ |  | __ ____       |    | ____   ____ | |_|_|_|_|_|_|_|_| | ____ 
 /  /_\  \|  |/ // __ \      |    |/  _ \ /    \|/  ___//  ___/  _ \|/    \
/    |    \    <\  ___/  sv0akejo@ida.his.se |  \\___ \ \___ (  <_> )   |  \
\____|__  /__|_ \\_http://www.his.se/ida/~sv0akejo___  >____  >____/|___|  /
        \/     \Stora\Bergsgatan 13 A 545 33 Toreboda\/     \/           \/
                          +46 (0)506-10385



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