From 27ff1c385f024f4f166ef4965183d40d500567f4 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期六, 13 四月 2019 17:28:32 +0800
Subject: [PATCH] 6485 【2.0】【后端】炼丹功能开发单

---
 ServerPack/MapServerPack/HA3_Function/AttrFruitEatCntList.h |    1 +
 ServerPack/MapServerPack/HA3_Function/PlayerStoveMsg.h      |   20 +++++++++++++++-----
 ClientPack/ClientToMapServer/CA5_Function/PlayerRefine.h    |    9 ++++-----
 ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit      |    0 
 ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.des  |    1 +
 ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.h    |    7 +++++++
 6 files changed, 28 insertions(+), 10 deletions(-)

diff --git a/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit b/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit
diff --git a/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.des b/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.des
new file mode 100644
index 0000000..8c441a2
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.des
@@ -0,0 +1 @@
+A3 17 增加果实使用上限 #tagCMAddFruitUseLimit
diff --git a/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.h b/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.h
new file mode 100644
index 0000000..c4e1b4f
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/AddFruitUseLimit.h
@@ -0,0 +1,7 @@
+// A3 17 增加果实使用上限 #tagCMAddFruitUseLimit
+
+struct	tagCMAddFruitUseLimit
+{
+	tagHead		Head;
+	DWORD		ItemID;		//果实物品ID
+};
diff --git a/ClientPack/ClientToMapServer/CA5_Function/PlayerRefine.h b/ClientPack/ClientToMapServer/CA5_Function/PlayerRefine.h
index 812fe06..a1395b4 100644
--- a/ClientPack/ClientToMapServer/CA5_Function/PlayerRefine.h
+++ b/ClientPack/ClientToMapServer/CA5_Function/PlayerRefine.h
@@ -1,9 +1,8 @@
 // A5 76 玩家炼丹 #tagCMPlayerRefine
 
-
-struct tagCMPlayerRefine
+struct	tagCMPlayerRefine
 {
-    tagHead    Head;
-    WORD    RefineNum;    // 配方编号
-    DWORD   UseRateItem;  // 附加材料ID
+	tagHead    Head;
+	DWORD	AlchemyID;    // 丹药ID
+	BYTE	DoType;  // 0-学习 1-开始炼丹 2-停止炼丹 3-开炉取丹
 };
diff --git a/ServerPack/MapServerPack/HA3_Function/AttrFruitEatCntList.h b/ServerPack/MapServerPack/HA3_Function/AttrFruitEatCntList.h
index 40a58af..7abd8d9 100644
--- a/ServerPack/MapServerPack/HA3_Function/AttrFruitEatCntList.h
+++ b/ServerPack/MapServerPack/HA3_Function/AttrFruitEatCntList.h
@@ -4,6 +4,7 @@
 {
 	DWORD	ItemID;	//果实物品ID
 	WORD	EatCnt;	//已使用个数
+	DWORD	AddItemCnt;	//增幅丹使用个数
 };
 
 
diff --git a/ServerPack/MapServerPack/HA3_Function/PlayerStoveMsg.h b/ServerPack/MapServerPack/HA3_Function/PlayerStoveMsg.h
index 35f3c89..4ba2f9c 100644
--- a/ServerPack/MapServerPack/HA3_Function/PlayerStoveMsg.h
+++ b/ServerPack/MapServerPack/HA3_Function/PlayerStoveMsg.h
@@ -1,9 +1,19 @@
 // A3 BF 通知客户端炼丹炉信息 #tagMCPlayerStoveMsg
 
-struct tagMCPlayerStoveMsg
+struct	tagMCPlayerStoveInfo
 {
-    tagHead    Head;
-    BYTE    StoveLV;    // 炼丹炉等级
-    DWORD   StoveExp; // 炼丹炉经验 
-    DWORD   ItemID; // 合成物品id
+	DWORD	AlchemyID; // 丹 ID
+	DWORD	StartTime; // 开始炼的时间 
+};
+
+
+struct	tagMCPlayerStoveMsg
+{
+	tagHead    Head;
+	BYTE	StoveLV;    // 炼丹炉等级
+	DWORD	StoveExp; // 炼丹炉经验
+	DWORD	ItemID; // 合成物品id
+	BYTE	ItemCnt;    // 丹药数量
+	WORD	StoveCnt;    // 丹药数量
+	tagMCPlayerStoveInfo	InfoList[StoveCnt];
 };

--
Gitblit v1.8.0