From 4baf073008f5bafc7c819eda73cee1dca0f455c4 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 17 九月 2025 14:45:55 +0800 Subject: [PATCH] 121 【武将】武将系统-服务端(武将表、NPC表关联优化:武将表可配置NPC怪物,增加是否开放玩家的配置,NPC表去除字段:国家、远近、性别、技能、特长,统一取关联武将的相关数据;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py index 552dd85..66cd2fa 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py @@ -160,7 +160,7 @@ self.SortData() return - def AddNewBillboardData(self): + def AddNewBillboardData(self, dataID): newData = None if self.IsFull(): return newData @@ -168,6 +168,7 @@ newData.SetType(self.__billboardType) newData.SetGroupValue1(self.__groupValue1) newData.SetGroupValue2(self.__groupValue2) + newData.SetID(dataID) self.AddBillboardData(newData) return newData -- Gitblit v1.8.0