From e5353bd8a09e4a134ad18f0a8855770669cf43bb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 03 九月 2025 15:22:55 +0800
Subject: [PATCH] 198 【内政】淘金系统-服务端
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CreateFamily.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CreateFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CreateFamily.py
index bd743ce..3937f10 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CreateFamily.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CreateFamily.py
@@ -17,6 +17,7 @@
import GameWorld
import ShareDefine
+import PlayerViewCache
import IPY_PlayerDefine
import PlayerFamily
import DBDataMgr
@@ -188,7 +189,7 @@
break
fackFamilyName = "%s%s" % (FakeFamilyName, fackFamilyID)
- fackFamily = familyMgr.AddFamily(fackFamilyID, fackFamilyName, serverID)
+ fackFamily = familyMgr.AddFamily(fackFamilyName, serverID, fackFamilyID)
fackFamilyID += 1
if not fackFamily:
continue
@@ -232,7 +233,7 @@
else:
memFightPower = avgValue + memCnt / 2 - m
memFightPowerTotal -= memFightPower
- viewCache = DBDataMgr.GetPlayerViewCacheMgr().FindViewCache(memID, True)
+ viewCache = PlayerViewCache.FindViewCache(memID, True)
viewCache.SetFightPowerTotal(memFightPower)
GameWorld.DebugLog(" 仙盟成员: memID=%s,memFightPower=%s,fmLV=%s" % (memID, memFightPower, fmLV))
member.RefreshMemberByID(memID)
--
Gitblit v1.8.0