[9111] Implement ConditionType CONDITION_LEVEL for PlayerCondition

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-01-05 01:58:40 +01:00
parent 644cdf70d3
commit effe02fb25
3 changed files with 26 additions and 2 deletions

View file

@ -286,9 +286,10 @@ enum ConditionType
CONDITION_ACTIVE_EVENT = 12, // event_id 0
CONDITION_AREA_FLAG = 13, // area_flag area_flag_not
CONDITION_RACE_CLASS = 14, // race_mask class_mask
CONDITION_LEVEL = 15, // player_level 0, 1 or 2 (0: equal to, 1: equal or higher than, 2: equal or less than)
};
#define MAX_CONDITION 15 // maximum value in ConditionType enum
#define MAX_CONDITION 16 // maximum value in ConditionType enum
struct PlayerCondition
{