diff options
| author | Xinef <none@empty.com> | 2017-02-05 16:39:56 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2020-04-26 22:58:51 +0200 |
| commit | 6f7ff9a3efd10cd4f776a67540109e7bb774f1c5 (patch) | |
| tree | 7a7339a82880134b10f6f4b0856d95cbbc44892b /src/server/game/DataStores | |
| parent | 0763844fb604075580e1c84672cb2e4a4fe19cde (diff) | |
Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Closes #18905
(cherry picked from commit 7c7b877c3fc0292f33f54f4e8b514be3bf8514a6)
Diffstat (limited to 'src/server/game/DataStores')
| -rw-r--r-- | src/server/game/DataStores/DBCEnums.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/server/game/DataStores/DBCEnums.h b/src/server/game/DataStores/DBCEnums.h index ce41455e934..65e0134a964 100644 --- a/src/server/game/DataStores/DBCEnums.h +++ b/src/server/game/DataStores/DBCEnums.h @@ -213,11 +213,15 @@ enum CriteriaCondition CRITERIA_CONDITION_UNK2 = 2, // only used in "Complete a daily quest every day for five consecutive days" CRITERIA_CONDITION_BG_MAP = 3, // requires you to be on specific map, reset at change CRITERIA_CONDITION_NO_LOSE = 4, // only used in "Win 10 arenas without losing" - CRITERIA_CONDITION_UNK5 = 5, // Have spell? - CRITERIA_CONDITION_UNK8 = 8, + CRITERIA_CONDITION_REMOVE_AURA = 5, // reset when this aura is removed + CRITERIA_CONDITION_CAST_SPELL = 8, // reset when casting this spell CRITERIA_CONDITION_NO_SPELL_HIT = 9, // requires the player not to be hit by specific spell CRITERIA_CONDITION_NOT_IN_GROUP = 10, // requires the player not to be in group - CRITERIA_CONDITION_UNK13 = 13 // unk + CRITERIA_CONDITION_LOSE_PET_BATTLE = 11, // reset when losing pet battle + CRITERIA_CONDITION_UNK13 = 13, // unk + CRITERIA_CONDITION_EVENT = 14, + + CRITERIA_CONDITION_MAX }; enum CriteriaAdditionalCondition |
