Go to the source code of this file.
Data Structures | |
| struct | skill_struct |
Defines | |
| #define | NO_SKILL_READY -1 |
Typedefs | |
| typedef struct skill_struct | skill |
Enumerations | |
| enum | skillnrs { SK_ALCHEMY, SK_LITERACY, SK_BARGAINING, SK_CONSTRUCTION, SK_BOXING, SK_KARATE, SK_THROWING, SK_SPELL_CASTING, SK_USE_MAGIC_ITEM, SK_PRAYING, SK_FIND_TRAPS, SK_REMOVE_TRAP, SK_MISSILE_WEAPON, SK_XBOW_WEAP, SK_SLING_WEAP, SK_SLASH_WEAP, SK_CLEAVE_WEAP, SK_PIERCE_WEAP, SK_MELEE_WEAPON, SK_TWOHANDS, SK_POLEARMS, NROFSKILLS } |
Variables | |
| skill | skills [] |
Skills header.
Definition in file skills.h.
| typedef struct skill_struct skill |
Skill structure for the skills array.
| enum skillnrs |
Skill numbers.
| SK_ALCHEMY |
Player can attempt alchemical recipes. |
| SK_LITERACY |
Can read books |
| SK_BARGAINING |
Sells items to shops at Cha + level-based bonus (30 max) |
| SK_CONSTRUCTION |
Player is able to alter maps like apartment in real-time. |
| SK_BOXING |
Can attack hand-to-hand, see attack_hth() |
| SK_KARATE |
Can attack hand-to-hand, see attack_hth() |
| SK_THROWING |
Player can throw items |
| SK_SPELL_CASTING |
Player can cast magic spells |
| SK_USE_MAGIC_ITEM |
Player use wands/horns/rods |
| SK_PRAYING |
Player can cast cleric spells and regenerate grace points |
| SK_FIND_TRAPS |
Player can find traps better |
| SK_REMOVE_TRAP |
Player can remove traps |
| SK_MISSILE_WEAPON |
Player can use bows. |
| SK_XBOW_WEAP |
Player can use crossbows. |
| SK_SLING_WEAP |
Player can use slings. |
| SK_SLASH_WEAP |
Player can use slash weapons. |
| SK_CLEAVE_WEAP |
Player can use cleave weapons. |
| SK_PIERCE_WEAP |
Player can use pierce weapons. |
| SK_MELEE_WEAPON |
Player can attack with impact weapons |
| SK_TWOHANDS |
Player can use two-handed weapons. |
| SK_POLEARMS |
Player can use polearms. |
| NROFSKILLS |
Number of the skills, always last. |
The default skills array, values can be overwritten by init_skills() in skill_util.c.
Definition at line 58 of file skillist.h.
1.6.2