From 7060867c004c3312f409a320623b40b42186f9af Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 20 十月 2025 09:29:43 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(A922同步等级信息)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 45 ++-------------------------------------------
1 files changed, 2 insertions(+), 43 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index ec52203..f5bc798 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -725,8 +725,8 @@
SendEventPack("UseCurrency_%s" % moneyType, dataDict, curPlayer)
#战盟贡献
- elif moneyType == ShareDefine.TYPE_Price_Family_Contribution:
- SendEventPack("UseFamilyContribution", dataDict, curPlayer)
+ #elif moneyType == ShareDefine.TYPE_Price_Family_Contribution:
+ # SendEventPack("UseFamilyContribution", dataDict, curPlayer)
return
@@ -992,24 +992,6 @@
#发送封包
SendEventPack("OneTimeCoinGiveGold", dataDict, curPlayer)
return
-
-
-## 增加玩家家族活跃度
-# @param curPlayer: 玩家实例
-# @param addValue: 增加值
-# @param curValue: 增加后值
-# @param reason:增加原因
-# @return
-def DR_AddPlayerFamilyActiveValue(curPlayer, addValue, curValue, reason):
- return
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(),
- 'addValue':addValue, 'FamilyActiveValue':curValue, 'Reason':reason}
- #发送封包
- SendEventPack("AddPlayerFamilyActiveValue", dataDict, curPlayer)
- return
-
## 宠物加点
# @param curPlayer: 玩家实例
@@ -1292,19 +1274,6 @@
SendEventPack("PlayerSubmit_%s" % eventName, dataDict, curPlayer)
return
-## 资源找回记录
-# @param curPlayer
-# @return: None
-def DR_PlayerRecover(curPlayer, recoverWay, recoverCntDict, totalExp, totalMoney, totalSP, totalItemDict):
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'recoverWay':recoverWay, 'recoverCntDict':recoverCntDict,
- 'totalExp':totalExp, 'totalMoney':totalMoney, 'totalSP':totalSP, 'totalItemDict':totalItemDict}
-
- #发送封包
- SendEventPack("PlayerRecover", dataDict, curPlayer)
- return
-
def DR_GlobalDropCD(curPlayer, npcID, itemID):
# 全局掉落CD掉落记录
dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
@@ -1320,16 +1289,6 @@
'ItemID':itemID, 'KilledCnt':killedCnt, 'DropRate':dropRate}
#发送封包
SendEventPack("GlobalDropRate", dataDict, curPlayer)
- return
-
-## 玩家上线成就检查
-# @return
-def DR_CheckOldPlayerSuccess(curPlayer):
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID()}
-
- #发送封包
- SendEventPack("CheckOldPlayerSuccess", dataDict, curPlayer)
return
## 玩家境界升级
--
Gitblit v1.8.0