Crossfire Server, Branches 1.12  R18729
Skill subtypes

Macros

#define SK_ALCHEMY   6
 
#define SK_BARGAINING   9
 
#define SK_BOWYER   4
 
#define SK_CLAWING   31
 
#define SK_CLIMBING   20
 
#define SK_DET_CURSE   14
 
#define SK_DET_MAGIC   11
 
#define SK_DISARM_TRAPS   27
 
#define SK_EVOCATION   35
 
#define SK_FIND_TRAPS   15
 
#define SK_FLAME_TOUCH   18
 
#define SK_HARVESTING   39
 
#define SK_HIDING   2
 
#define SK_INSCRIPTION   22
 
#define SK_JEWELER   5
 
#define SK_JUMPING   10
 
#define SK_KARATE   19
 
#define SK_LEVITATION   32
 
#define SK_LITERACY   8
 
#define SK_LOCKPICKING   1
 
#define SK_MEDITATION   16
 
#define SK_MISSILE_WEAPON   24
 
#define SK_ONE_HANDED_WEAPON   23
 
#define SK_ORATORY   12
 
#define SK_PRAYING   30
 
#define SK_PUNCHING   17
 
#define SK_PYROMANCY   34
 
#define SK_SET_TRAP   28
 
#define SK_SINGING   13
 
#define SK_SMITHERY   3
 
#define SK_SORCERY   36
 
#define SK_STEALING   7
 
#define SK_SUMMONING   33
 
#define SK_THAUMATURGY   29
 
#define SK_THROWING   25
 
#define SK_TWO_HANDED_WEAPON   37
 
#define SK_USE_MAGIC_ITEM   26
 
#define SK_WOODSMAN   21
 
#define SK_WRAITH_FEED   38
 

Detailed Description

This list is just a subtype <-> skill (code wise) in the server translation. In theory, the processing of the different skills could be done via strncmp This list doesn't really try to identify what the skills do. The order of this list has no special meaning. 0 is not used to denote improperly set objects.

Macro Definition Documentation

#define SK_ALCHEMY   6

Definition at line 53 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_BARGAINING   9

Definition at line 56 of file skills.h.

Referenced by do_skill(), query_cost(), and query_cost_string().

#define SK_BOWYER   4

Definition at line 51 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_CLAWING   31

Definition at line 78 of file skills.h.

Referenced by attack_message(), do_skill(), dragon_ability_gain(), and find_best_player_hth_skill().

#define SK_CLIMBING   20

Definition at line 67 of file skills.h.

Referenced by check_move_on(), and do_skill().

#define SK_DET_CURSE   14

Definition at line 61 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_DET_MAGIC   11

Definition at line 58 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_DISARM_TRAPS   27

Definition at line 74 of file skills.h.

Referenced by command_disarm(), and do_skill().

#define SK_EVOCATION   35

Definition at line 82 of file skills.h.

Referenced by do_skill().

#define SK_FIND_TRAPS   15

Definition at line 62 of file skills.h.

Referenced by command_search(), and do_skill().

#define SK_FLAME_TOUCH   18

Definition at line 65 of file skills.h.

Referenced by do_skill().

#define SK_HARVESTING   39

Definition at line 86 of file skills.h.

Referenced by do_skill().

#define SK_HIDING   2

Definition at line 49 of file skills.h.

Referenced by can_detect_enemy(), do_hidden_move(), and do_skill().

#define SK_INSCRIPTION   22

Definition at line 69 of file skills.h.

Referenced by do_skill().

#define SK_JEWELER   5

Definition at line 52 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_JUMPING   10

Definition at line 57 of file skills.h.

Referenced by do_skill().

#define SK_KARATE   19

Definition at line 66 of file skills.h.

Referenced by attack_message(), and do_skill().

#define SK_LEVITATION   32

Definition at line 79 of file skills.h.

Referenced by do_skill().

#define SK_LITERACY   8

Definition at line 55 of file skills.h.

Referenced by do_skill(), scroll_type_apply(), skill_ident(), START_TEST(), and write_on_item().

#define SK_LOCKPICKING   1

Definition at line 48 of file skills.h.

Referenced by do_skill().

#define SK_MEDITATION   16

Definition at line 63 of file skills.h.

Referenced by do_skill().

#define SK_MISSILE_WEAPON   24

Definition at line 71 of file skills.h.

Referenced by do_skill().

#define SK_ONE_HANDED_WEAPON   23

Definition at line 70 of file skills.h.

Referenced by do_skill().

#define SK_ORATORY   12

Definition at line 59 of file skills.h.

Referenced by do_skill().

#define SK_PRAYING   30
#define SK_PUNCHING   17

Definition at line 64 of file skills.h.

Referenced by attack_message(), and do_skill().

#define SK_PYROMANCY   34

Definition at line 81 of file skills.h.

Referenced by do_skill().

#define SK_SET_TRAP   28

Definition at line 75 of file skills.h.

Referenced by do_skill().

#define SK_SINGING   13

Definition at line 60 of file skills.h.

Referenced by do_skill().

#define SK_SMITHERY   3

Definition at line 50 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_SORCERY   36

Definition at line 83 of file skills.h.

Referenced by do_skill().

#define SK_STEALING   7

Definition at line 54 of file skills.h.

Referenced by do_skill().

#define SK_SUMMONING   33

Definition at line 80 of file skills.h.

Referenced by do_skill().

#define SK_THAUMATURGY   29

Definition at line 76 of file skills.h.

Referenced by do_skill(), and skill_ident().

#define SK_THROWING   25

Definition at line 72 of file skills.h.

Referenced by command_throw(), and do_skill().

#define SK_TWO_HANDED_WEAPON   37

Definition at line 84 of file skills.h.

Referenced by do_skill().

#define SK_USE_MAGIC_ITEM   26

Definition at line 73 of file skills.h.

Referenced by do_skill().

#define SK_WOODSMAN   21

Definition at line 68 of file skills.h.

Referenced by check_move_on(), deep_swamp_type_process(), do_skill(), and skill_ident().

#define SK_WRAITH_FEED   38

Definition at line 85 of file skills.h.

Referenced by attack_message(), and do_skill().