From 4c8a4908e7e0ab1575e6e9a0093f54bd63d85b6f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 04 二月 2026 21:07:17 +0800
Subject: [PATCH] 16 卡牌服务端(删除无用跨服管理模块、跨服功能、其他废弃代码;)
---
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