diff options
author | smokexyz <sagunkho@hotmail.com> | 2018-06-30 04:20:03 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-07-24 21:41:20 +0100 |
commit | 19aa33a5f61f0996d76d19db7dbe9d81f5daa090 (patch) | |
tree | b54e07d42a58e34820e3131f750b56b7130cb461 /db/constants.conf | |
parent | 78c75cade7f445231f11395a6faef9b0a55568dc (diff) | |
download | hercules-19aa33a5f61f0996d76d19db7dbe9d81f5daa090.tar.gz hercules-19aa33a5f61f0996d76d19db7dbe9d81f5daa090.tar.bz2 hercules-19aa33a5f61f0996d76d19db7dbe9d81f5daa090.tar.xz hercules-19aa33a5f61f0996d76d19db7dbe9d81f5daa090.zip |
Implementation of the official Achievement System.
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1
Script Commands -
```
achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>});
```
Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out.
This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules.
Does not include the title system yet.
A big thanks to -
@MishimaHaruna for constantly reviewing.
@4144 for all the support.
@Asheraf for a lot of official information.
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
Diffstat (limited to 'db/constants.conf')
-rw-r--r-- | db/constants.conf | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf index b7bc24985..c3b1fdb57 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -3931,4 +3931,52 @@ constants_db: { HAT_EF_QSCARABA: 54 HAT_EF_FSTONE: 55 HAT_EF_MAGICCIRCLE: 56 + + comment__: "Achievement Types" + ACH_QUEST: 0 + ACH_KILL_PC_TOTAL: 1 + ACH_KILL_PC_JOB: 2 + ACH_KILL_PC_JOBTYPE: 3 + ACH_KILL_MOB_CLASS: 4 + ACH_DAMAGE_PC_MAX: 5 + ACH_DAMAGE_PC_TOTAL: 6 + ACH_DAMAGE_PC_REC_MAX: 7 + ACH_DAMAGE_PC_REC_TOTAL: 8 + ACH_DAMAGE_MOB_MAX: 9 + ACH_DAMAGE_MOB_TOTAL: 10 + ACH_DAMAGE_MOB_REC_MAX: 11 + ACH_DAMAGE_MOB_REC_TOTAL: 12 + ACH_JOB_CHANGE: 13 + ACH_STATUS: 14 + ACH_STATUS_BY_JOB: 15 + ACH_STATUS_BY_JOBTYPE: 16 + ACH_CHATROOM_CREATE_DEAD: 17 + ACH_CHATROOM_CREATE: 18 + ACH_CHATROOM_MEMBERS: 19 + ACH_FRIEND_ADD: 20 + ACH_PARTY_CREATE: 21 + ACH_PARTY_JOIN: 22 + ACH_MARRY: 23 + ACH_ADOPT_BABY: 24 + ACH_ADOPT_PARENT: 25 + ACH_ZENY_HOLD: 26 + ACH_ZENY_GET_ONCE: 27 + ACH_ZENY_GET_TOTAL: 28 + ACH_ZENY_SPEND_ONCE: 29 + ACH_ZENY_SPEND_TOTAL: 30 + ACH_EQUIP_REFINE_SUCCESS: 31 + ACH_EQUIP_REFINE_FAILURE: 32 + ACH_EQUIP_REFINE_SUCCESS_TOTAL: 33 + ACH_EQUIP_REFINE_FAILURE_TOTAL: 34 + ACH_EQUIP_REFINE_SUCCESS_WLV: 35 + ACH_EQUIP_REFINE_FAILURE_WLV: 36 + ACH_EQUIP_REFINE_SUCCESS_ID: 37 + ACH_EQUIP_REFINE_FAILURE_ID: 38 + ACH_ITEM_GET_COUNT: 39 + ACH_ITEM_GET_COUNT_ITEMTYPE: 40 + ACH_ITEM_GET_WORTH: 41 + ACH_ITEM_SELL_WORTH: 42 + ACH_PET_CREATE: 43 + ACH_ACHIEVE: 44 + ACH_ACHIEVEMENT_RANK: 45 } |