--- deliantra/server/include/skills.h 2006/02/03 07:12:50 1.1 +++ deliantra/server/include/skills.h 2006/04/30 12:07:47 1.2 @@ -72,13 +72,17 @@ #define SK_EVOCATION 35 #define SK_SORCERY 36 #define SK_TWO_HANDED_WEAPON 37 +#define SK_SPARK_TOUCH 38 +#define SK_FROST_TOUCH 39 +#define SK_ACID_TOUCH 40 +#define SK_POISON_TOUCH 41 /* This is the highest number skill in the table +1 * This is used to store pointers to the actual skills - * to make life easier, we use the value above as index, * eg, SK_EVOCATION (35) will be in last_skills[35]. */ -#define NUM_SKILLS 38 +#define NUM_SKILLS 42 /* This is used in the exp functions - basically what to do if @@ -98,7 +102,9 @@ #define IS_COMBAT_SKILL(num) \ ((num==SK_PUNCHING) || (num==SK_FLAME_TOUCH) || (num==SK_KARATE) || \ (num==SK_ONE_HANDED_WEAPON) || (num==SK_MISSILE_WEAPON) || \ - (num==SK_THROWING) || (num==SK_CLAWING) || (num==SK_TWO_HANDED_WEAPON)) + (num==SK_THROWING) || (num==SK_CLAWING) || (num==SK_TWO_HANDED_WEAPON) || \ + (num==SK_SPARK_TOUCH) || (num==SK_FROST_TOUCH) || \ + (num==SK_ACID_TOUCH) || (num==SK_POISON_TOUCH)) /* Like IS_COMBAT_SKILL above, but instead this is used to determine * how many mana points the player has. @@ -133,6 +139,10 @@ SK_CLAWING, SK_FLAME_TOUCH, SK_PUNCHING, +SK_SPARK_TOUCH, +SK_FROST_TOUCH, +SK_ACID_TOUCH, +SK_POISON_TOUCH, -1 };