Hi All, I am current adding a lot of new spells to my mud. The trouble is that I want to add a lot more than 130 spells. Can I just change the following in spells.h and go from there. Thanks for the help. Fionn * File: spells.h Part of CircleMUD * #define SPELL_INFRAVISION 50 /* Reserved Skill[] DO NOT CHANGE */ #define SPELL_WATERWALK 51 /* Reserved Skill[] DO NOT CHANGE */ #define SPELL_WHIRLWIND 52 /* New Spell */ #define SPELL_MONSTER_SUMMON_I 53 /* New Spell */ /* Insert new spells here, up to MAX_SPELLS */ #define MAX_SPELLS 130 <-- Change this to 500 /* PLAYER SKILLS - Numbered from MAX_SPELLS+1 to MAX_SKILLS */ #define SKILL_BACKSTAB 131 /* Reserved Skill[] DO NOT CHANGE */ #define SKILL_BASH 132 /* Reserved Skill[] DO NOT CHANGE */ #define SKILL_HIDE 133 /* Reserved Skill[] DO NOT CHANGE */ #define SKILL_KICK 134 /* Reserved Skill[] DO NOT CHANGE */ #define SKILL_PICK_LOCK 135 /* Reserved Skill[] DO NOT CHANGE */ ^ | -- Change these to 501 502 etc. #define SPELL_IDENTIFY 201 #define SPELL_FIRE_BREATH 202 #define SPELL_GAS_BREATH 203 #define SPELL_FROST_BREATH 204 #define SPELL_ACID_BREATH 205 #define SPELL_LIGHTNING_BREATH 206 ^ | ---- Change these to 1001 1002 etc. #define TOP_SPELL_DEFINE 299 <---- Change this to 1099. /* NEW NPC/OBJECT SPELLS can be inserted here up to 299 */ /* WEAPON ATTACK TYPES */ #define TYPE_HIT 300 #define TYPE_STING 301 #define TYPE_WHIP 302 #define TYPE_SLASH 303 #define TYPE_BITE 304 #define TYPE_BLUDGEON 305 #define TYPE_CRUSH 306 #define TYPE_POUND 307 #define TYPE_CLAW 308 #define TYPE_MAUL 309 #define TYPE_THRASH 310 #define TYPE_PIERCE 311 #define TYPE_BLAST 312 #define TYPE_PUNCH 313 #define TYPE_STAB 314 ^ | --- Change these to 1100 1101 etc. /* new attack types can be added here - up to TYPE_SUFFERING */ #define TYPE_SUFFERING 399 <-- Change this to 1199
This archive was generated by hypermail 2b30 : 12/18/00 PST