From 4cb3ea80333139ec5da6cf1fd38e44b475e32ba4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 31 十二月 2025 09:48:24 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(武将重置支持可单独勾选是否重置等级、突破、觉醒; B239发包修改;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
index 0c0a1e0..664f69a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
@@ -12100,6 +12100,9 @@
                   ("Cmd", c_ubyte),
                   ("SubCmd", c_ubyte),
                   ("ItemIndex", c_ushort),    #武将物品所在武将背包位置索引
+                  ("LVReset", c_ubyte),    #重置等级
+                  ("BreakReset", c_ubyte),    #重置突破
+                  ("AwakeReset", c_ubyte),    #重置觉醒
                   ]
 
     def __init__(self):
@@ -12117,6 +12120,9 @@
         self.Cmd = 0xB2
         self.SubCmd = 0x39
         self.ItemIndex = 0
+        self.LVReset = 0
+        self.BreakReset = 0
+        self.AwakeReset = 0
         return
 
     def GetLength(self):
@@ -12129,12 +12135,18 @@
         DumpString = '''// B2 39 武将重生 //tagCSHeroRebirth:
                                 Cmd:%s,
                                 SubCmd:%s,
-                                ItemIndex:%d
+                                ItemIndex:%d,
+                                LVReset:%d,
+                                BreakReset:%d,
+                                AwakeReset:%d
                                 '''\
                                 %(
                                 self.Cmd,
                                 self.SubCmd,
-                                self.ItemIndex
+                                self.ItemIndex,
+                                self.LVReset,
+                                self.BreakReset,
+                                self.AwakeReset
                                 )
         return DumpString
 

--
Gitblit v1.8.0