mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8276] Implement achievment ACHIEVEMENT_CRITERIA_TYPE_WIN_BG
* including new achievement createria data type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE Note: Some achivement creteria for success need data in `achievement_criteria_data`
This commit is contained in:
parent
571f94b36a
commit
9002710c93
11 changed files with 146 additions and 22 deletions
|
|
@ -81,11 +81,14 @@ struct AchievementCriteriaEntry
|
|||
} kill_creature;
|
||||
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_WIN_BG = 1
|
||||
// TODO: there are further criterias instead just winning
|
||||
struct
|
||||
{
|
||||
uint32 bgMapID; // 3
|
||||
uint32 winCount; // 4
|
||||
uint32 additionalRequirement1_type; // 5 additional requirement 1 type
|
||||
uint32 additionalRequirement1_value; // 6 additional requirement 1 value
|
||||
uint32 additionalRequirement2_type; // 7 additional requirement 2 type
|
||||
uint32 additionalRequirement2_value; // 8 additional requirement 1 value
|
||||
} win_bg;
|
||||
|
||||
// ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL = 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue