From 9b026aee7db0db3e7c0f5efa354be73372a12a2a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 21 一月 2026 14:07:26 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(PK攻击顺序规则调整: PVE固定玩家先手,PVP先手排序优先级: 总先攻值 > 战力 > 挑战方先手; )
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Tianzi.py | 7 +++++++
1 files changed, 7 insertions(+), 0 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 0f63744..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,8 +23,10 @@
import PlayerSuccess
import PlayerBillboard
import ChPyNetSendPack
+import DataRecordPack
import NetPackCommon
import IpyGameDataPY
+import PlayerGubao
import ShareDefine
import PlayerTask
import PlayerMail
@@ -196,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):
@@ -258,6 +262,7 @@
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):
@@ -315,4 +320,6 @@
PlayerMail.SendMailByKey("TianziBillboardAward", playerID, awardList, paramList)
GameWorld.Log(" 奖励玩家名次信息: %s" % orderPlayerIDDict)
+
+ billBoard.ClearData() # 每日结算奖励后重置榜单
return
--
Gitblit v1.8.0