mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Show achievement names from Achievement.dbc in chat notifications
Previously "Achievement earned! (ID 1234)" was the only message. Now loadAchievementNameCache() lazily loads Achievement.dbc (field 4 = Title, verified against WotLK 3.3.5a binary) on first earned event and shows "Achievement earned: Level 10" or "Player has earned the achievement: ..." Falls back to ID if DBC is unavailable or entry is missing.
This commit is contained in:
parent
e12e399c0a
commit
63c8dfa304
3 changed files with 50 additions and 6 deletions
|
|
@ -28,6 +28,7 @@
|
|||
"ReputationBase0": 10, "ReputationBase1": 11,
|
||||
"ReputationBase2": 12, "ReputationBase3": 13
|
||||
},
|
||||
"Achievement": { "ID": 0, "Title": 4, "Description": 21 },
|
||||
"AreaTable": { "ID": 0, "ExploreFlag": 3 },
|
||||
"CreatureDisplayInfoExtra": {
|
||||
"ID": 0, "RaceID": 1, "SexID": 2, "SkinID": 3, "FaceID": 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue