mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
* Some work under Achievement (add names, enums, comments)
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
e848a52da9
commit
fcc013071e
2 changed files with 23 additions and 9 deletions
|
|
@ -40,7 +40,7 @@ struct AchievementEntry
|
|||
uint32 ID; // 0
|
||||
uint32 factionFlag; // 1 -1=all, 0=horde, 1=alliance
|
||||
uint32 mapID; // 2 -1=none
|
||||
//uint32 unk; // 3 parent achievement (previous, required)
|
||||
//uint32 parentAchievement; // 3 its Achievement parent (can`t start while parent uncomplete, use its Criteria if don`t have own, use its progress on begin)
|
||||
//char *name[16]; // 4-19
|
||||
//uint32 name_flags; // 20
|
||||
//char *description[16]; // 21-36
|
||||
|
|
@ -49,11 +49,11 @@ struct AchievementEntry
|
|||
uint32 points; // 39 reward points
|
||||
//uint32 OrderInCategory; // 40
|
||||
uint32 flags; // 41
|
||||
//uint32 icon; // 42 icon
|
||||
//char *unk1[16]; // 43-58
|
||||
//uint32 unk_flags; // 59
|
||||
//uint32 count; // 60
|
||||
uint32 refAchievement; // 61 related achievement?
|
||||
//uint32 icon; // 42 icon (from SpellIcon.dbc)
|
||||
//char *titleReward[16]; // 43-58
|
||||
//uint32 titleReward_flags; // 59
|
||||
//uint32 count; // 60 - need this count Criteria for complete
|
||||
uint32 refAchievement; // 61 - related achievement?
|
||||
};
|
||||
|
||||
struct AchievementCategoryEntry
|
||||
|
|
@ -62,7 +62,7 @@ struct AchievementCategoryEntry
|
|||
uint32 parentCategory; // 1 -1 for main category
|
||||
//char *name[16]; // 2-17
|
||||
//uint32 name_flags; // 18
|
||||
uint32 sortOrder; // 19
|
||||
//uint32 sortOrder; // 19
|
||||
};
|
||||
|
||||
struct AchievementCriteriaEntry
|
||||
|
|
@ -167,6 +167,12 @@ struct AchievementCriteriaEntry
|
|||
uint32 fallHeight; // 4
|
||||
} fall_without_dying;
|
||||
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM = 26
|
||||
struct
|
||||
{
|
||||
uint32 type; // 0 - fatigue, 1 - drowning, 2 - falling, 3 - ??, 5 - fire and lava
|
||||
} deaths;
|
||||
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST = 27
|
||||
struct
|
||||
{
|
||||
|
|
@ -340,8 +346,9 @@ struct AchievementCriteriaEntry
|
|||
{
|
||||
uint32 emoteID; // 3
|
||||
} do_emote;
|
||||
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE = 13
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_HEALING_DONE = 55
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS = 56
|
||||
struct
|
||||
{
|
||||
uint32 unused; // 3
|
||||
|
|
@ -461,7 +468,7 @@ struct AchievementCriteriaEntry
|
|||
uint32 groupFlag; // 27
|
||||
//uint32 unk1; // 28
|
||||
uint32 timeLimit; // 29 time limit in seconds
|
||||
//uint32 order; // 30 order
|
||||
//uint32 showOrder; // 30 show order
|
||||
};
|
||||
|
||||
struct AreaTableEntry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue