spells.h

  • Errigour
  • Errigour's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 11 months ago #6174 by Errigour
spells.h was created by Errigour
I was wondering if anyone knows why the spells listed in spells.h like SPELL_DISPEL_GOOD have this by thier name:
/* Reserved Skill[] DO NOT CHANGE */

is it just because they use the file messages or is there another reason. I have found the need to change one of the spell definitions and I am just curious what are the reasons you shouldn't change them.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #6175 by thomas
Replied by thomas on topic spells.h
They are "reserved" in that they may be in use in world files (wands, scrolls, spec_procs, etc.).
If you are confident a particular spell isn't used in any world file, you can change it here. However, there's a lot of unused numbers, so I'd just add a new one instead. Just remember to raise NUM_SPELLS as well.

Please Log in or Create an account to join the conversation.

  • Errigour
  • Errigour's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 11 months ago #6176 by Errigour
Replied by Errigour on topic spells.h
world files, ok thanks I forgot about that part thanks alot.

Please Log in or Create an account to join the conversation.

Time to create page: 0.992 seconds