From bc5f3f1c88d225109fa39a85b209ef13f5fb52a9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 06 二月 2026 21:28:13 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(跨服公会所有基本功能支持、跨服砍价支持;修改查看目标公会、查看目标玩家方式;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Tianzi.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Tianzi.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Tianzi.py
index e63e88a..8369bd8 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Tianzi.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Tianzi.py
@@ -23,14 +23,15 @@
import PlayerSuccess
import PlayerBillboard
import ChPyNetSendPack
+import DataRecordPack
import NetPackCommon
import IpyGameDataPY
+import PlayerGubao
import ShareDefine
import PlayerTask
import PlayerMail
import DBDataMgr
import TurnSkill
-import ObjPool
def OnDay():
## 结算昨日奖励
@@ -197,6 +198,8 @@
ItemControler.GivePlayerItemOrMail(curPlayer, itemList, event=["Tianzi", False, {}], isNotifyAward=False)
SyncTianziInfo(curPlayer, lineID, bossID)
__onFBTianzi(curPlayer)
+
+ DataRecordPack.DR_FBPass(curPlayer, mapID, funcLineID, {"hpNum":hpNum, "totalHurt":totalHurt})
return
def __getTianziAwardList(todayHurt, bossID, sweepCnt=1):
@@ -259,12 +262,13 @@
def __onFBTianzi(curPlayer):
PlayerTask.AddTaskValue(curPlayer, ChConfig.TaskType_FBTianzi)
PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_OSAFBTianzi, 1)
+ PlayerGubao.AddGubaoSpecEffLayer(curPlayer, PlayerGubao.GubaoEffType_Tianzi, 1)
return
def SyncTianziInfo(curPlayer, lineID=None, bossID=None):
if lineID == None:
lineID, bossID = GetTianziTodayInfo(curPlayer)
- clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCTianziKYInfo)
+ clientPack = ChPyNetSendPack.tagSCTianziKYInfo()
clientPack.LineID = lineID
clientPack.HistoryHurt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TianziHisHurt % bossID)
clientPack.HistoryHurtEx = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TianziHisHurtEx % bossID)
@@ -316,4 +320,6 @@
PlayerMail.SendMailByKey("TianziBillboardAward", playerID, awardList, paramList)
GameWorld.Log(" 奖励玩家名次信息: %s" % orderPlayerIDDict)
+
+ billBoard.ClearData() # 每日结算奖励后重置榜单
return
--
Gitblit v1.8.0