mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9795] Implement CONDITION_INSTANCE_SCRIPT (mapid, some_id)
True if mapid fit to called instance map id and instance script confirm success for some_id case. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
929798e635
commit
3032e80bb6
8 changed files with 41 additions and 8 deletions
|
|
@ -315,9 +315,10 @@ enum ConditionType
|
|||
CONDITION_LEVEL = 15, // player_level 0, 1 or 2 (0: equal to, 1: equal or higher than, 2: equal or less than)
|
||||
CONDITION_NOITEM = 16, // item_id count
|
||||
CONDITION_SPELL = 17, // spell_id 0, 1 (0: has spell, 1: hasn't spell)
|
||||
CONDITION_INSTANCE_SCRIPT = 18, // map_id instance_condition_id (instance script specific enum)
|
||||
};
|
||||
|
||||
#define MAX_CONDITION 18 // maximum value in ConditionType enum
|
||||
#define MAX_CONDITION 19 // maximum value in ConditionType enum
|
||||
|
||||
struct PlayerCondition
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue