Crossfire Server, Branches 1.12
R18729
|
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 SP_ALCHEMY 30 |
Definition at line 132 of file spells.h.
Referenced by cast_spell().
#define SP_ANIMATE_WEAPON 41 |
Definition at line 143 of file spells.h.
Referenced by cast_spell().
#define SP_AURA 46 |
Definition at line 148 of file spells.h.
Referenced by cast_spell(), and spell_effect_type_process().
#define SP_BLESS 25 |
Definition at line 127 of file spells.h.
Referenced by cast_spell().
#define SP_BOLT 4 |
Definition at line 106 of file spells.h.
Referenced by cast_spell(), monster_should_cast_spell(), and spell_effect_type_process().
#define SP_BOMB 8 |
Definition at line 110 of file spells.h.
Referenced by cast_spell(), explode_bullet(), monster_should_cast_spell(), and spell_effect_type_process().
#define SP_BULLET 5 |
Definition at line 107 of file spells.h.
Referenced by attack_message(), cast_spell(), is_aimed_missile(), monster_should_cast_spell(), move_swarm_spell(), and spell_effect_type_process().
#define SP_CAUSE_DISEASE 45 |
Definition at line 147 of file spells.h.
Referenced by cast_spell().
#define SP_CHANGE_ABILITY 24 |
Definition at line 126 of file spells.h.
Referenced by cast_spell().
#define SP_CHANGE_MANA 37 |
Definition at line 139 of file spells.h.
Referenced by cast_spell().
#define SP_CHANGE_MAP_LIGHT 43 |
Definition at line 145 of file spells.h.
Referenced by cast_spell().
#define SP_CHARGING 28 |
Definition at line 130 of file spells.h.
Referenced by cast_spell().
#define SP_CONE 7 |
Definition at line 109 of file spells.h.
Referenced by attack_message(), cast_spell(), explode_bullet(), monster_should_cast_spell(), spell_effect_type_move_on(), and spell_effect_type_process().
#define SP_CONSECRATE 40 |
Definition at line 142 of file spells.h.
Referenced by cast_spell().
#define SP_CREATE_FOOD 22 |
Definition at line 124 of file spells.h.
Referenced by cast_spell().
#define SP_CREATE_MISSILE 39 |
Definition at line 141 of file spells.h.
Referenced by cast_spell().
#define SP_CURSE 26 |
Definition at line 128 of file spells.h.
Referenced by cast_spell().
#define SP_DESTRUCTION 16 |
Definition at line 118 of file spells.h.
Referenced by cast_destruction(), and cast_spell().
#define SP_DETECTION 33 |
Definition at line 135 of file spells.h.
Referenced by cast_spell().
#define SP_DIMENSION_DOOR 13 |
Definition at line 115 of file spells.h.
Referenced by cast_spell().
#define SP_DISPEL_RUNE 38 |
Definition at line 140 of file spells.h.
Referenced by cast_spell().
#define SP_EARTH_TO_DUST 23 |
Definition at line 125 of file spells.h.
Referenced by cast_spell().
#define SP_EXPLOSION 6 |
Definition at line 108 of file spells.h.
Referenced by attack_message(), cast_smite_spell(), is_aimed_missile(), monster_should_cast_spell(), and spell_effect_type_process().
#define SP_FAERY_FIRE 44 |
Definition at line 146 of file spells.h.
Referenced by cast_destruction(), and cast_spell().
#define SP_HEALING 21 |
Definition at line 123 of file spells.h.
Referenced by cast_spell().
#define SP_IDENTIFY 32 |
Definition at line 134 of file spells.h.
Referenced by cast_spell().
#define SP_INVISIBLE 19 |
Definition at line 121 of file spells.h.
Referenced by cast_spell(), and monster_should_cast_spell().
#define SP_ITEM_CURSE_BLESS 49 |
Definition at line 151 of file spells.h.
Referenced by cast_spell().
#define SP_LIGHT 42 |
Definition at line 144 of file spells.h.
Referenced by cast_spell().
#define SP_MAGIC_MAPPING 14 |
Definition at line 116 of file spells.h.
Referenced by cast_spell().
#define SP_MAGIC_MISSILE 11 |
Definition at line 113 of file spells.h.
Referenced by cast_spell(), monster_should_cast_spell(), move_swarm_spell(), spell_effect_type_move_on(), and spell_effect_type_process().
#define SP_MAGIC_WALL 15 |
Definition at line 117 of file spells.h.
Referenced by cast_spell(), and monster_should_cast_spell().
#define SP_MAKE_MARK 3 |
Definition at line 105 of file spells.h.
Referenced by cast_spell().
#define SP_MOOD_CHANGE 34 |
Definition at line 136 of file spells.h.
Referenced by cast_spell().
#define SP_MOVING_BALL 35 |
Definition at line 137 of file spells.h.
Referenced by cast_spell(), monster_should_cast_spell(), spell_effect_type_move_on(), and spell_effect_type_process().
#define SP_PERCEIVE_SELF 17 |
Definition at line 119 of file spells.h.
Referenced by cast_spell().
#define SP_POLYMORPH 29 |
Definition at line 131 of file spells.h.
Referenced by cast_spell().
#define SP_PROBE 20 |
Definition at line 122 of file spells.h.
Referenced by cast_spell().
#define SP_RAISE_DEAD 1 |
Definition at line 103 of file spells.h.
Referenced by cast_spell().
#define SP_REMOVE_CURSE 31 |
Definition at line 133 of file spells.h.
Referenced by cast_spell().
#define SP_RUNE 2 |
Definition at line 104 of file spells.h.
Referenced by cast_spell().
#define SP_SMITE 10 |
Definition at line 112 of file spells.h.
Referenced by cast_spell(), and monster_should_cast_spell().
#define SP_SUMMON_GOLEM 12 |
Definition at line 114 of file spells.h.
Referenced by cast_spell(), and monster_should_cast_spell().
#define SP_SUMMON_MONSTER 27 |
Definition at line 129 of file spells.h.
Referenced by cast_spell(), and monster_should_cast_spell().
#define SP_SWARM 36 |
Definition at line 138 of file spells.h.
Referenced by cast_spell(), monster_should_cast_spell(), and spell_effect_type_process().
#define SP_TOWN_PORTAL 47 |
Definition at line 149 of file spells.h.
Referenced by cast_spell().
#define SP_WONDER 9 |
Definition at line 111 of file spells.h.
Referenced by cast_spell(), and cast_wonder().
#define SP_WORD_OF_RECALL 18 |
Definition at line 120 of file spells.h.
Referenced by cast_spell(), cast_word_of_recall(), and spell_effect_type_process().