Crossfire Server, Branches 1.12  R18729
Experience flags

Macros

#define SK_EXP_ADD_SKILL   0
 
#define SK_EXP_NONE   2
 
#define SK_EXP_TOTAL   1
 
#define SK_SUBTRACT_SKILL_EXP   3
 

Detailed Description

This is used in the exp functions - basically what to do if the player doesn't have the skill he should get exp in.

Macro Definition Documentation

#define SK_EXP_ADD_SKILL   0

Give the player the skill.

Definition at line 103 of file skills.h.

Referenced by add_player_exp(), do_harvest(), and mood_change().

#define SK_EXP_NONE   2

Player gets nothing.

Definition at line 105 of file skills.h.

Referenced by add_player_exp(), attempt_do_alchemy(), pay_for_item(), and sell_item().

#define SK_EXP_TOTAL   1

Give player exp to total, no skill.

Definition at line 104 of file skills.h.

Referenced by hit_with_one_attacktype(), kill_object(), and share_exp().

#define SK_SUBTRACT_SKILL_EXP   3

Used when removing exp.

Definition at line 106 of file skills.h.

Referenced by do_skill(), god_examines_priest(), pray_at_altar(), and subtract_player_exp().