From cdb001b8065cf4bcfe63b82bf8c03ae48b362e7b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 19 三月 2026 12:02:09 +0800
Subject: [PATCH] 493 【活动内容】武将登场-服务端(招募武将非首次获得不广播设定仅针对常规招募;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 33 +++++++++------------------------
1 files changed, 9 insertions(+), 24 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 2740e30..2fad996 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -263,6 +263,13 @@
SendEventPack("FixVersion_%s" % fixName, dataDict, curPlayer)
return
+def DR_ADAward(curPlayer, adID):
+ ## 广告奖励流向
+ dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
+ 'AccID':curPlayer.GetAccID(), 'ADID':adID}
+ SendEventPack("ADAward", dataDict)
+ return
+
## 玩家升级
# @param curPlayer: 玩家实例
# @param playerLV: 玩家等级
@@ -303,7 +310,7 @@
SendEventPack("FBPass_%s" % mapID, dataDict, curPlayer)
return
-def DR_FightStat(reqPlayerID, mapID, funcLineID, isWin, turnNum, turnMax, heroCount, costTime, statInfo, drLineupInfo, guid):
+def DR_FightStat(reqPlayerID, mapID, funcLineID, isWin, turnNum, turnMax, heroCount, costTime, drHeroIDDict, guid):
## 战斗统计
dataDict = {'PlayerID':reqPlayerID, 'mapID':mapID, 'funcLineID':funcLineID, 'isWin':isWin,
'turnNum':turnNum, 'turnMax':turnMax, 'heroCount':heroCount, 'costTime':costTime, 'guid':guid}
@@ -315,32 +322,10 @@
if mapID in mapPassDict:
drLineID = mapPassDict[mapID]
if funcLineID >= drLineID:
- failDRDict = {"statInfo":statInfo, "drLineupInfo":drLineupInfo}
+ failDRDict = {"heroIDDict":drHeroIDDict}
failDRDict.update(dataDict)
SendEventPack("FightPass_%s" % mapID, failDRDict, checkBatServer=False)
#SendEventPack("FightFail_%s" % mapID, failDRDict, checkBatServer=False)
- return
-
-##累计登陆礼包
-def DR_LoginDayAward(curPlayer, dayIndex):
- dataDict = {'PlayerID':curPlayer.GetPlayerID(),
- 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(),
- "DayIndex":dayIndex
- }
-
- SendEventPack("LoginDayAward", dataDict, curPlayer)
- return
-
-##等级礼包
-def DR_LVAward(curPlayer, awardID):
- dataDict = {'PlayerID':curPlayer.GetPlayerID(),
- 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(),
- "AwardID":awardID
- }
-
- SendEventPack("LVAward", dataDict, curPlayer)
return
## GM执行命令操作
--
Gitblit v1.8.0