achievement_dbc
Stores achievement data that is missing in Achievement.dbc file.
Structure
| 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 |
Description of fields
ID
AchievementCriteria AchievementID
requiredFaction
- Both: -1
- Horde: 0
- Alliance: 1
mapID
Player must be on that map to be allowed criteria updates. (-1 if not set)
points
Achievement points awarded for completing the achievement, has no use serverside.
flags
| Value | Flag | Name | Comment |
|---|---|---|---|
| 1 | 0x0001 | ACHIEVEMENT_FLAG_COUNTER | Just count statistic (never stop and complete) |
| 2 | 0x0002 | ACHIEVEMENT_FLAG_HIDDEN | Not sent to client - internal use only |
| 4 | 0x0004 | ACHIEVEMENT_FLAG_STORE_MAX_VALUE | Store only max value? used only in "Reach level xx" |
| 8 | 0x0008 | ACHIEVEMENT_FLAG_SUMM | Use summ criteria value from all requirements (and calculate max value) |
| 16 | 0x0010 | ACHIEVEMENT_FLAG_MAX_USED | Show max criteria (and calculate max value ??) |
| 32 | 0x0020 | ACHIEVEMENT_FLAG_REQ_COUNT | Use not zero req count (and calculate max value) |
| 64 | 0x0040 | ACHIEVEMENT_FLAG_AVERAGE | Show as average value (value / time_in_days) depend from other flag (by def use last criteria value) |
| 128 | 0x0080 | ACHIEVEMENT_FLAG_BAR | Show as progress bar (value / max vale) depend from other flag (by def use last criteria value) |
| 256 | 0x0100 | ACHIEVEMENT_FLAG_REALM_FIRST_REACH | |
| 512 | 0x0200 | ACHIEVEMENT_FLAG_REALM_FIRST_KILL |
count
Should always be 1.
refAchievement
Should always be 0.
