Re: Changing spells number

From: George (gagreer@dragon.ham.muohio.edu)
Date: 06/07/96


If you don't mind a pfile wipe you can, refer to the lines:

in: structs.h
  #define MAX_SKILLS 200 /* Used in char_file_u *DO*NOT*CHANGE* */
  in: struct player_special_data_saved {
    byte skills[MAX_SKILLS+1];	/* array of skills plus skill 0		*/

Basically you're just making an array bigger and changing the index numbers.

Just remember that the number your new spells stop at is the new MAX_SKILLS
Don't count the NPC spells like frost breath unless you want PC's to be able
to get them perhaps...

-George of Dragon'Spire @ dragon.ham.muohio.edu 5k



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