Spell subtypes
Detailed Description
This is the subtype for the
SPELL type. Start at 1 so that it is easy to see 0 as an uninitialized value. Note that for some spells, subtype pretty accurately describes the entire spell (SP_DETECT_MAGIC). But for other, the subtype may not really say much (eg, SP_BOLT), and it is other fields within the object which really determines its properties. No effort is made to match these new numbers with the old ones, and given there is not a 1:1 mapping, you can't do that anyways.
Define Documentation
#define SP_ANIMATE_WEAPON 41 |
#define SP_CAUSE_DISEASE 45 |
#define SP_CHANGE_ABILITY 24 |
#define SP_CHANGE_MANA 37 |
#define SP_CHANGE_MAP_LIGHT 43 |
#define SP_CREATE_FOOD 22 |
#define SP_CREATE_MISSILE 39 |
#define SP_DESTRUCTION 16 |
#define SP_DIMENSION_DOOR 13 |
#define SP_DISPEL_RUNE 38 |
#define SP_EARTH_TO_DUST 23 |
#define SP_ITEM_CURSE_BLESS 49 |
#define SP_MAGIC_MAPPING 14 |
#define SP_MAGIC_MISSILE 11 |
#define SP_MOOD_CHANGE 34 |
#define SP_MOVING_BALL 35 |
#define SP_PERCEIVE_SELF 17 |
#define SP_REMOVE_CURSE 31 |
#define SP_SUMMON_GOLEM 12 |
#define SP_SUMMON_MONSTER 27 |
#define SP_TOWN_PORTAL 47 |
#define SP_WORD_OF_RECALL 18 |