mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9111] Implement ConditionType CONDITION_LEVEL for PlayerCondition
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
644cdf70d3
commit
effe02fb25
3 changed files with 26 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue