From 1dc83dfe6c1bddff95a4a713f91b18860bbdb805 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 十二月 2025 18:58:30 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(寻宝系数增加心愿物品规则;武将招募保底产出增加受永久卡限制;武将招募首次获得武将增加全服广播;)

---
 /dev/null                                      |    6 ------
 ClientPack/CA5_Function/TreasureWishSelect.h   |    9 +++++++++
 ClientPack/CA5_Function/TreasureWishSelect     |    0 
 ClientPack/CA5_Function/TreasureWishSelect.des |    1 +
 ServerPack/HA3_Function/TreasureInfo.h         |    8 ++++++++
 5 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/ClientPack/CA5_Function/RefreshTreasureFreeCnt.des b/ClientPack/CA5_Function/RefreshTreasureFreeCnt.des
deleted file mode 100644
index 333fdb9..0000000
--- a/ClientPack/CA5_Function/RefreshTreasureFreeCnt.des
+++ /dev/null
@@ -1 +0,0 @@
-A5 69 刷新寻宝免费次数 #tagCMRefreshTreasureFreeCnt
diff --git a/ClientPack/CA5_Function/RefreshTreasureFreeCnt.h b/ClientPack/CA5_Function/RefreshTreasureFreeCnt.h
deleted file mode 100644
index 7500198..0000000
--- a/ClientPack/CA5_Function/RefreshTreasureFreeCnt.h
+++ /dev/null
@@ -1,6 +0,0 @@
-// A5 69 刷新寻宝免费次数 #tagCMRefreshTreasureFreeCnt
-
-struct tagCMRefreshTreasureFreeCnt
-{
-	tagHead		Head;
-};
diff --git a/ClientPack/CA5_Function/RefreshTreasureFreeCnt b/ClientPack/CA5_Function/TreasureWishSelect
similarity index 100%
rename from ClientPack/CA5_Function/RefreshTreasureFreeCnt
rename to ClientPack/CA5_Function/TreasureWishSelect
diff --git a/ClientPack/CA5_Function/TreasureWishSelect.des b/ClientPack/CA5_Function/TreasureWishSelect.des
new file mode 100644
index 0000000..71c8036
--- /dev/null
+++ b/ClientPack/CA5_Function/TreasureWishSelect.des
@@ -0,0 +1 @@
+A5 69 寻宝心愿物品选择 #tagCSTreasureWishSelect
diff --git a/ClientPack/CA5_Function/TreasureWishSelect.h b/ClientPack/CA5_Function/TreasureWishSelect.h
new file mode 100644
index 0000000..8d47a23
--- /dev/null
+++ b/ClientPack/CA5_Function/TreasureWishSelect.h
@@ -0,0 +1,9 @@
+// A5 69 寻宝心愿物品选择 #tagCSTreasureWishSelect
+
+struct tagCSTreasureWishSelect
+{
+	tagHead		Head;
+	BYTE		TreasureType;	//寻宝类型
+	BYTE		WishCnt;
+	DWORD		WishIDList[WishCnt];	// 选择的寻宝物品库中的数据ID,注意不是库ID
+};
diff --git a/ServerPack/HA3_Function/TreasureInfo.h b/ServerPack/HA3_Function/TreasureInfo.h
index 8ef3019..0ab4cb8 100644
--- a/ServerPack/HA3_Function/TreasureInfo.h
+++ b/ServerPack/HA3_Function/TreasureInfo.h
@@ -1,5 +1,11 @@
 // A3 51 寻宝功能信息 #tagMCTreasureInfo
 
+struct 	tagMCTreasureWish
+{
+	WORD		WishID;		// 寻宝物品库中的数据ID,注意不是库ID
+	BYTE		OutCnt;		// 做为心愿物品时已产出次数,有产出过的无法重新选择,未产出的可任意修改选择
+};
+
 struct 	tagMCTreasureGridLimit
 {
 	BYTE		GridNum;		// 有限制抽取次数的格子编号
@@ -16,6 +22,8 @@
 	DWORD		TreasureCntAward;		//累计寻宝次数对应奖励领奖状态,按奖励记录索引二进制记录是否已领取
 	BYTE		GridLimitCnt;
 	tagMCTreasureGridLimit	GridLimitCntList[GridLimitCnt];		//有限制抽取次数的格子次数信息
+	BYTE		WishCnt;
+	tagMCTreasureWish	WishList[WishCnt];		//心愿物品信息
 };
 
 struct 	tagMCTreasureInfo

--
Gitblit v1.8.0