Crossfire Server, Trunk
|
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. More...
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.