diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-14 17:58:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-14 17:58:29 +0300 |
commit | 2ed4142dfcde097648857f41f8064b0a19c350c7 (patch) | |
tree | 5777014a74b30081ac39cda28ea9c64280cbebb5 /src/emap/pc.h | |
parent | f8b3342f690816022d26038389431002e9cf3648 (diff) | |
download | plugin-2ed4142dfcde097648857f41f8064b0a19c350c7.tar.gz plugin-2ed4142dfcde097648857f41f8064b0a19c350c7.tar.bz2 plugin-2ed4142dfcde097648857f41f8064b0a19c350c7.tar.xz plugin-2ed4142dfcde097648857f41f8064b0a19c350c7.zip |
Add basic support for charm items (If item present in inventory it give own bonuses)
For char item in items.conf need add attribute "Charm: true"
Diffstat (limited to 'src/emap/pc.h')
-rw-r--r-- | src/emap/pc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emap/pc.h b/src/emap/pc.h index 388c606..7250de6 100644 --- a/src/emap/pc.h +++ b/src/emap/pc.h @@ -39,4 +39,16 @@ int epc_setnewpc(int retVal, struct map_session_data *sd, int *account_id, int *char_id, int *login_id1, unsigned int *client_tick, int *sex, int *fd); +int epc_additem_post(int retVal, struct map_session_data *sd, + struct item *item_data, int *amountPtr, + e_log_pick_type *log_type); + +int epc_delitem_pre(struct map_session_data *sd, int *nPtr, int *amountPtr, + int *typePtr, short *reasonPtr, + e_log_pick_type *log_type); + +int epc_delitem_post(int retVal, struct map_session_data *sd, int *nPtr, int *amountPtr, + int *typePtr, short *reasonPtr, + e_log_pick_type *log_type); + #endif // EVOL_MAP_PC |