ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/skillinc.h
Revision: 1.2
Committed: Mon Apr 30 04:25:30 2007 UTC (17 years ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.1: +43 -41 lines
Log Message:
This is the first rough cut of the skill use system (use the STABLE tag).

Details will likely change, and combat skills do not work very well, but
it works quite well.

Players no longer have a shoottype or range slots, instead, each player
has these members:

   combat_skill/combat_ob  the currently selected skill (and weapon)
                           for direct attacks.
   ranged_skill/ranged_ob  the currently selected ranged skill (and
                           bow/spell/item)
   golem                   the currently-controlled golem, if any.

File Contents

# User Rev Content
1 root 1.1 // the order of skills MUST stay the same, with no holes, to match
2     // the archetypes. Do not remove or add skills in between.
3    
4 root 1.2 // symbol flags
5     def (LOCKPICKING , SF_RANGED)
6     def (HIDING , SF_READY)
7     def (SMITHERY , SF_READY)
8     def (BOWYER , SF_READY)
9     def (JEWELER , SF_READY)
10     def (ALCHEMY , SF_READY)
11     def (STEALING , SF_RANGED)
12     def (LITERACY , SF_READY)
13     def (BARGAINING , SF_READY)
14     def (JUMPING , SF_RANGED)
15     def (DET_MAGIC , SF_READY)
16     def (ORATORY , SF_RANGED)
17     def (SINGING , SF_RANGED)
18     def (DET_CURSE , SF_READY)
19     def (FIND_TRAPS , SF_RANGED)
20     def (MEDITATION , SF_READY)
21     def (PUNCHING , SF_COMBAT)
22     def (FLAME_TOUCH , SF_COMBAT)
23     def (KARATE , SF_COMBAT)
24     def (CLIMBING , 0)
25     def (WOODSMAN , SF_READY)
26     def (INSCRIPTION , SF_READY)
27     def (ONE_HANDED_WEAPON , SF_COMBAT | SF_NEED_WEAPON)
28     def (MISSILE_WEAPON , SF_RANGED | SF_NEED_BOW)
29     def (THROWING , SF_RANGED)
30     def (USE_MAGIC_ITEM , SF_RANGED)
31     def (DISARM_TRAPS , SF_RANGED)
32     def (SET_TRAP , SF_READY)
33     def (THAUMATURGY , SF_READY)
34     def (PRAYING , SF_RANGED | SF_GRACE)
35     def (CLAWING , SF_RANGED)
36     def (LEVITATION , SF_READY)
37     def (SUMMONING , SF_RANGED | SF_MANA)
38     def (PYROMANCY , SF_RANGED | SF_MANA)
39     def (EVOCATION , SF_RANGED | SF_MANA)
40     def (SORCERY , SF_RANGED | SF_MANA)
41     def (TWO_HANDED_WEAPON , SF_COMBAT)
42     def (SPARK_TOUCH , SF_COMBAT)
43     def (SHIVER , SF_COMBAT)
44     def (ACID_SPLASH , SF_COMBAT)
45     def (POISON_NAIL , SF_COMBAT)
46