From 1cbdeae386bdfab0b9e996ffb4df0301ce19ff9e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 01 九月 2025 10:48:01 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(修复主线战斗击杀无法结算经验、掉落bug;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 54 ------------------------------------------------------
1 files changed, 0 insertions(+), 54 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 7a9eb91..ec52203 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -379,27 +379,6 @@
return drDict
-## 玩家充值后的点券信息及vip等级
-# @param curPlayer: 玩家实例
-# @param changeCoin: 兑换的点券数
-# @param totaChangelCoin: 总兑换点券数
-# @param prizeCoin: 赠送点券数
-# @param totalPrizeCoin: 总赠送点券数
-# @param playerVIPLV: vip等级
-# @param crazyCoin: 额为赠送数
-# @return: None
-def DR_PlayerCoinAfterCharge(curPlayer, changeCoin, totaChangelCoin, prizeCoin,
- totalPrizeCoin, playerVIPLV, crazyCoin, orderID):
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'ChangeCoin':changeCoin, 'TotaChangelCoin':totaChangelCoin,
- 'PrizeCoin':prizeCoin, 'TotalPrizeCoin':totalPrizeCoin, 'VIPLv':playerVIPLV,
- "CrazyCoin":crazyCoin, 'QueryOrderID':orderID}
-
- #发送封包
- SendEventPack("PlayerCoinAfterCharge", dataDict, curPlayer)
- return
-
## 玩家升级
# @param curPlayer: 玩家实例
# @param playerLV: 玩家等级
@@ -1095,22 +1074,6 @@
SendEventPack("PlayerDead", dataDict, curPlayer)
return
-
-## 给存奖励表物品
-# @param curPlayer: 玩家
-# @param rewardType: 奖励类型
-# @param itemID: 物品ID
-# @param itemCnt: 物品个数
-# @return
-def DR_PlayerGetReward(curPlayer, rewardType, itemID, itemCnt):
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'itemID':itemID, 'itemCnt':itemCnt,
- 'rewardType':rewardType}
-
- #发送封包
- SendEventPack("PlayerGetReward", dataDict, curPlayer)
- return
-
## 申请加入贵宾俱乐部
# @param curPlayer
# @param hasRegister: 之前是否已报名
@@ -1357,23 +1320,6 @@
'ItemID':itemID, 'KilledCnt':killedCnt, 'DropRate':dropRate}
#发送封包
SendEventPack("GlobalDropRate", dataDict, curPlayer)
- return
-
-def DR_MagicWeaponExp(curPlayer, mwID, succID, newExp, needExp):
- # 法宝激活经验获得记录
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'mwID':mwID, 'succID':succID,
- 'newExp':newExp, 'needExp':needExp}
- #发送封包
- SendEventPack("MagicWeaponExp", dataDict, curPlayer)
- return
-
-def DR_MagicWeaponActive(curPlayer, mwID, mwLV):
- # 法宝等级升级记录
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'mwID':mwID, 'mwLV':mwLV}
- #发送封包
- SendEventPack("MagicWeaponActive", dataDict, curPlayer)
return
## 玩家上线成就检查
--
Gitblit v1.8.0