Back to 'achievement_criteria_data' Return to world Go to 'achievement_reward'
Stores achievement data that is missing in Achievement.dbc file.
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| ID | int | unsigned | PRI | NO | |||
| requiredFaction | int | signed | NO | -1 | |||
| mapID | int | signed | NO | -1 | |||
| points | int | unsigned | NO | 0 | |||
| flags | int | unsigned | NO | 0 | |||
| count | int | unsigned | NO | 0 | |||
| refAchievement | int | unsigned | NO | 0 |
AchievementCriteria AchievementID
Player must be on that map to be allowed criteria updates. (-1 if not set)
Achievement points awarded for completing the achievement, has no use serverside.
| Name | Value | Comment |
|---|---|---|
| ACHIEVEMENT_FLAG_COUNTER | 0x0001 | Just count statistic (never stop and complete) |
| ACHIEVEMENT_FLAG_HIDDEN | 0x0002 | Not sent to client - internal use only |
| ACHIEVEMENT_FLAG_STORE_MAX_VALUE | 0x0004 | Store only max value? used only in "Reach level xx" |
| ACHIEVEMENT_FLAG_SUMM | 0x0008 | Use summ criteria value from all requirements (and calculate max value) |
| ACHIEVEMENT_FLAG_MAX_USED | 0x0010 | Show max criteria (and calculate max value ??) |
| ACHIEVEMENT_FLAG_REQ_COUNT | 0x0020 | Use not zero req count (and calculate max value) |
| ACHIEVEMENT_FLAG_AVERAGE | 0x0040 | Show as average value (value / time_in_days) depend from other flag (by def use last criteria value) |
| ACHIEVEMENT_FLAG_BAR | 0x0080 | Show as progress bar (value / max vale) depend from other flag (by def use last criteria value) |
| ACHIEVEMENT_FLAG_REALM_FIRST_REACH | 0x0100 | |
| ACHIEVEMENT_FLAG_REALM_FIRST_KILL | 0x0200 |
Should always be 1.
Should always be 0.
Back to 'achievement_criteria_data' Return to world Go to 'achievement_reward'