ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/skillinc.h
Revision: 1.7
Committed: Sat May 19 00:31:08 2007 UTC (17 years ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.6: +14 -14 lines
Log Message:
A player must never apply two skills. crossfire always has and will ever
complain about that.

Nevertheless, levitation (and ONLY levitation) gets applied in addition to
other skills. Now that cannot work with the new skill system. Introduce a
special flag for levitation only so it only gets half-applied.

This probably fixes quite a number of older "has two skills applied"
messages.

File Contents

# Content
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 // symbol flags
5 def (LOCKPICKING , SF_RANGED)
6 def (HIDING , SF_USE)
7 def (SMITHERY , SF_USE)
8 def (BOWYER , SF_USE)
9 def (JEWELER , SF_USE)
10 def (ALCHEMY , SF_USE)
11 def (STEALING , SF_RANGED)
12 def (LITERACY , SF_USE)
13 def (BARGAINING , SF_USE)
14 def (JUMPING , SF_RANGED)
15 def (DET_MAGIC , SF_USE)
16 def (ORATORY , SF_RANGED)
17 def (SINGING , SF_RANGED)
18 def (DET_CURSE , SF_USE)
19 def (FIND_TRAPS , SF_RANGED)
20 def (MEDITATION , SF_USE)
21 def (PUNCHING , SF_COMBAT)
22 def (FLAME_TOUCH , SF_COMBAT)
23 def (KARATE , SF_COMBAT)
24 def (CLIMBING , 0)
25 def (WOODSMAN , SF_USE)
26 def (INSCRIPTION , SF_USE)
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 , 0)
33 def (THAUMATURGY , SF_USE)
34 def (PRAYING , SF_RANGED | SF_GRACE)
35 def (CLAWING , SF_COMBAT)
36 def (LEVITATION , SF_USE | SF_APPLY)
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