Date: Tuesday September 26, 2000 @ 17:50 Author: peterm Update of /home/cvs/CVS/crossfire/include In directory boltzmann.eecs.berkeley.edu:/tmp/cvs-serv1677 Modified Files: define.h skills.h skillist.h Log Message: Created a levitation skill for fireborn. They were always supposed to be flying creatures. And flying creatures should be able to control whether they levitate or not. **************************************** Index: crossfire/include/define.h diff -u crossfire/include/define.h:1.12 crossfire/include/define.h:1.13 --- crossfire/include/define.h:1.12 Fri Jun 9 05:01:46 2000 +++ crossfire/include/define.h Tue Sep 26 17:50:18 2000 @@ -1,6 +1,6 @@ /* * static char *rcsid_define_h = - * "$Id: define.h,v 1.12 2000/06/09 12:01:46 jec Exp $"; + * "$Id: define.h,v 1.13 2000/09/27 00:50:18 peterm Exp $"; */ /* @@ -306,7 +306,7 @@ #define NROFREALSPELLS 187 /* Number of different spells */ -#define NROFSKILLS 32 /* match to the number of elements in skills[] array */ +#define NROFSKILLS 33 /* match to the number of elements in skills[] array */ #define NROF_SOUNDS (23 + NROFREALSPELLS) /* Number of sounds */ Index: crossfire/include/skills.h diff -u crossfire/include/skills.h:1.5 crossfire/include/skills.h:1.6 --- crossfire/include/skills.h:1.5 Tue Jun 20 22:03:47 2000 +++ crossfire/include/skills.h Tue Sep 26 17:50:18 2000 @@ -1,6 +1,6 @@ /* * static char *rcsid_skills_h = - * "$Id: skills.h,v 1.5 2000/06/21 05:03:47 cvs Exp $"; + * "$Id: skills.h,v 1.6 2000/09/27 00:50:18 peterm Exp $"; */ /* @@ -117,7 +117,8 @@ SK_USE_MAGIC_ITEM, /* player use wands/horns/rods */ /* 30 */ SK_PRAYING, /* player can cast cleric spells, regen grace points */ - SK_CLAWING /* player attack for troll, dragon characters */ + SK_CLAWING, /* player attack for troll, dragon characters */ + SK_LEVITATION /* skill for players who can fly. */ /* Here follows a list of others which could be implemented, but are * not */ Index: crossfire/include/skillist.h diff -u crossfire/include/skillist.h:1.2 crossfire/include/skillist.h:1.3 --- crossfire/include/skillist.h:1.2 Thu Feb 10 21:00:10 2000 +++ crossfire/include/skillist.h Tue Sep 26 17:50:18 2000 @@ -70,7 +70,8 @@ { "use magic item", EXP_NONE, 0, 0, 0, NO_STAT_VAL, NO_STAT_VAL, NO_STAT_VAL }, /* 30 */ { "praying", EXP_NONE, 0, 0, 0, WIS, POW, INT }, - { "clawing", EXP_NONE, 0, 0, 0, STR, DEX, NO_STAT_VAL } + { "clawing", EXP_NONE, 0, 0, 0, STR, DEX, NO_STAT_VAL }, + { "levitation", EXP_NONE, 0, 0, 0, NO_STAT_VAL, NO_STAT_VAL, NO_STAT_VAL } };