[newbie] weapon spells with bpl21

From: Peter d (death_comes_to_all@hotmail.com)
Date: 06/29/02


I got the add_wpn_spells.txt from the ftp..
I made some smaller changes to make it fit in the code..
but i get some errors i have no idea on how to fix without making the mud
crash..

this is one of the errors..

void weapon_spells(struct char_data *ch, struct char_data *vict, struct
obj_data *wpn) {

i get type mismatch on that line in fight.c .. check the txt file for
definitions and etc..

then i get undefined symbol on these three lines in db.c ..

obj_proto[i].wpn_spells[wsplnum].spellnum=t[0];
      obj_proto[i].wpn_spells[wsplnum].level=t[1];
      obj_proto[i].wpn_spells[wsplnum].percent=t[2];

the undefined symbol is wsplnum..

//Peter

_________________________________________________________________
På MSN hittar du det roliga, intressanta och användbara på internet:
http://www.msn.se

--
   +---------------------------------------------------------------+
   | 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/25/03 PDT