From 6274c5968871f06e479bf138259c433f5fd7534f Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 26 三月 2019 14:20:26 +0800
Subject: [PATCH] 6351 【后端】【2.1】新版骑宠争夺(查询血量)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 55 +++++++++----------------------------------------------
1 files changed, 9 insertions(+), 46 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 933c0ee..1d0a975 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -551,18 +551,6 @@
SendEventPack("LVAward", dataDict, curPlayer)
return
-##合服登陆奖励
-def DR_MixLoginDayAward(curPlayer, getState):
- dataDict = {'PlayerID':curPlayer.GetPlayerID(),
- 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(),
- "rewardState":getState
- }
-
- SendEventPack("MixLoginDayAward", dataDict, curPlayer)
- return
-
-
## 使用新手媒体卡
# @param curPlayer: 玩家实例
# @param cardStr: 卡号
@@ -606,18 +594,6 @@
dataDict["PlayerName"] = curPlayer.GetPlayerName()
SendEventPack("OpenServerAward", dataDict, curPlayer)
- return
-
-## 合服活动奖励领取情况
-# @param curPlayer: 玩家实例
-# @param dataDict: 记录信息字典
-# @return: None
-def DR_MixServerAward(curPlayer, dataDict):
- dataDict["PlayerID"] = curPlayer.GetPlayerID()
- dataDict["AccID"] = curPlayer.GetAccID()
- dataDict["PlayerName"] = curPlayer.GetPlayerName()
-
- SendEventPack("MixServerAward", dataDict, curPlayer)
return
## GM执行命令操作
@@ -1438,26 +1414,6 @@
SendEventPack("CollectNPCOK", dataDict, curPlayer)
return
-## 玩家领取充值特惠活动奖励
-# @param curPlayer: 玩家实例
-# @param actionID: 活动id
-# @param actionNum: 活动编号
-# @param itemID: 物品id
-# @param itemCnt: 物品数量
-# @param isPutIn: 是否放入
-# @param prizeIndex: 奖励中的第x种奖励
-# @return
-def DR_PlayerTeHuiRechargePrize(curPlayer, actionID, actionNum, itemID, itemCnt, isPutIn, prizeIndex):
- #MySql不识别 True False,改成1和0
- isPutIn = 1 if isPutIn else 0
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'ActionID':actionID, 'ActionNum':actionNum,
- 'IsPutIn':isPutIn, "ItemID":itemID, "ItemCount":itemCnt, 'PrizeIndex':prizeIndex}
-
- SendEventPack("TeHuiRechargePrize", dataDict, curPlayer)
- return
-
## 领取投资回报
# @param curPlayer: 玩家实例
@@ -1585,9 +1541,9 @@
## 玩家境界升级
# @return
-def DR_RealmLVUp(curPlayer, realmlv, realmPoint, needRealmPoint):
+def DR_RealmLVUp(curPlayer, realmlv):
dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'curRealmPoint':realmPoint, 'costRealmPoint':needRealmPoint,
+ 'AccID':curPlayer.GetAccID(), 'realmlv':realmlv,
'playerlv':curPlayer.GetLV(), 'power':curPlayer.GetFightPower()}
#发送封包
@@ -1628,4 +1584,11 @@
#发送封包
SendEventPack("WeekPartyPoint", dataDict, curPlayer)
+ return
+def DR_FeastWeekPartyPoint(curPlayer, dayIndex, point):
+ ##节日巡礼
+ dataDict = {'PlayerID':curPlayer.GetPlayerID(),
+ 'AccID':curPlayer.GetAccID(), 'dayIndex':dayIndex, 'point':point}
+ #发送封包
+ SendEventPack("FeastWeekPartyPoint", dataDict, curPlayer)
return
\ No newline at end of file
--
Gitblit v1.8.0