mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10013] Implement CONDITION_QUESTTARGET
For cases when loot dependent from some quest objective complete state.
This commit is contained in:
parent
f9df9d6226
commit
59367bc19f
5 changed files with 71 additions and 2 deletions
|
|
@ -317,9 +317,10 @@ enum ConditionType
|
|||
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)
|
||||
CONDITION_QUESTTARGET = 19, // entry complete,for condition true entry (positive - creature entry, negative (-entry) - gameobject entry) is not rewarded quest objective in (completed, bool) state.
|
||||
};
|
||||
|
||||
#define MAX_CONDITION 19 // maximum value in ConditionType enum
|
||||
#define MAX_CONDITION 20 // maximum value in ConditionType enum
|
||||
|
||||
struct PlayerCondition
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue