summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/inventoryhandler.cpp13
-rw-r--r--src/net/eathena/inventoryhandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 0aa9f1af2..dae6e9aba 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -108,6 +108,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_IDENTIFIED,
SMSG_PLAYER_REFINE,
SMSG_PLAYER_REPAIR_LIST,
+ SMSG_PLAYER_REPAIR_EFFECT,
0
};
handledMessages = _messages;
@@ -248,6 +249,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processPlayerRepairList(msg);
break;
+ case SMSG_PLAYER_REPAIR_EFFECT:
+ processPlayerRepairEffect(msg);
+ break;
+
default:
break;
}
@@ -1007,4 +1012,12 @@ void InventoryHandler::processPlayerRepairList(Net::MessageIn &msg)
menu = MenuType::RepairWespon;
}
+void InventoryHandler::processPlayerRepairEffect(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt16("item index");
+ msg.readUInt8("flag");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/inventoryhandler.h b/src/net/eathena/inventoryhandler.h
index e151ecaae..5add72e20 100644
--- a/src/net/eathena/inventoryhandler.h
+++ b/src/net/eathena/inventoryhandler.h
@@ -123,6 +123,8 @@ class InventoryHandler final : public MessageHandler,
static void processPlayerRepairList(Net::MessageIn &msg);
+ static void processPlayerRepairEffect(Net::MessageIn &msg);
+
static Ea::InventoryItems mCartItems;
};
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index db31c5cef..0e284d234 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -104,6 +104,7 @@
#define SMSG_PLAYER_SKILL_PRODUCE_EFFECT 0x018f
#define SMSG_PLAYER_SKILL_AUTO_SPELLS 0x01cd
#define SMSG_PLAYER_REPAIR_LIST 0x01fc
+#define SMSG_PLAYER_REPAIR_EFFECT 0x01fe
#define SMSG_SKILL_FAILED 0x0110
#define SMSG_SKILL_DAMAGE 0x01de
#define SMSG_SKILL_AUTO_CAST 0x0147