Crossfire Server, Trunk  R20513
Macros
Experience flags

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

Macros

#define SK_EXP_ADD_SKILL   0
 Give the player the skill. More...
 
#define SK_EXP_NONE   2
 Player gets nothing. More...
 
#define SK_EXP_TOTAL   1
 Give player exp to total, no skill. More...
 
#define SK_SUBTRACT_SKILL_EXP   3
 Used when removing exp. More...
 

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 79 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 81 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 80 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 82 of file skills.h.

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