Welcome to the Builder Academy

Question spells.h

More
25 Sep 2016 18:35 #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
25 Sep 2016 21:13 #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.

More
25 Sep 2016 22:49 #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.195 seconds