From 4e2e843061cd07f6c3f6312e066498491d64b437 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 11 八月 2025 11:18:14 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(攻防生命继承改为万分比)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
index 13c0464..b9d87ad 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -18831,7 +18831,8 @@
_pack_ = 1
_fields_ = [
("ItemID", c_int),
- ("Count", c_int),
+ ("Count", c_int), # 求余亿部分,个别功能单次汇总可能超20亿,如批量遣散,固统一规则
+ ("CountEx", c_int), # 整除亿部分
("IsBind", c_ubyte),
]
@@ -18847,6 +18848,7 @@
def Clear(self):
self.ItemID = 0
self.Count = 0
+ self.CountEx = 0
self.IsBind = 0
return
@@ -18860,11 +18862,13 @@
DumpString = '''// A8 01 获得奖励信息 //tagMCGiveAwardInfo:
ItemID:%d,
Count:%d,
+ CountEx:%d,
IsBind:%d
'''\
%(
self.ItemID,
self.Count,
+ self.CountEx,
self.IsBind
)
return DumpString
--
Gitblit v1.8.0