From 48f6d35d2c293a17a863bb540e686b1c780b9005 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Apr 2015 01:31:19 +0300 Subject: Add to item_db.conf item attributes for equip/unequip effects. New attributes: UnequipEffect - send this effect to client if unequip item was success UnequipFailEffect - send this effect to client if unequip item was fail For equip events used same attributes like for use. --- src/map/pc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/map/pc.h') diff --git a/src/map/pc.h b/src/map/pc.h index 84ced8d..37f3974 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -27,4 +27,10 @@ int epc_isuseequip_post(int retVal, struct map_session_data *sd, int *nPtr); int epc_useitem_post(int retVal, struct map_session_data *sd, int *nPtr); +int epc_equipitem_post(int retVal, struct map_session_data *sd, + int *nPtr, int *data); + +int epc_unequipitem_post(int retVal, struct map_session_data *sd, + int *nPtr, int *data); + #endif // EVOL_MAP_PC -- cgit v1.2.3-70-g09d2