From 33613b88f90e400e28c6e501dcda240be80bf34f Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 21 五月 2019 14:38:08 +0800 Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 - buff中增加固定技能伤害 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py | 48 +++--------------------------------------------- 1 files changed, 3 insertions(+), 45 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py index ec5c0d4..2596575 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBillboard.py @@ -36,7 +36,7 @@ return curPlayer.GetOperateInfo() return platform -def GetBillboardJob(curPlayer): return curPlayer.GetJob() + PlayerControl.GetJobRank(curPlayer) * 10 #个位是job 十位百位是jobrank +def GetBillboardJob(curPlayer): return curPlayer.GetJob() def UpdatePlayerBillboardOnLeaveServer(curPlayer, isAll=False): ##下线更新玩家排行榜 @@ -50,6 +50,7 @@ if isAll: UpdateRuneTowerBillboard(curPlayer) + #UpdateTJGBillboard(curPlayer, minuteExp) 脱机效率可不更新 return @@ -177,6 +178,7 @@ UpdatePlayerBillboard(curPlayer, ShareDefine.Def_BT_TrialTower, passLV) return + def UpdateTJGBillboard(curPlayer, minuteExp): ##脱机效率榜 if not minuteExp: @@ -220,50 +222,6 @@ cmdList = [playerID, playerName, playerOpInfo, playerLV, truckLV, truckMapID] GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "UpdateBillboardPlayerTruck", '%s' % (cmdList), len(str(cmdList))) - return - -## 更新充值排行特惠排行榜 -# @param playerID: 玩家ID -# @return: -def UpdateRechargeRankBillboard(curPlayer, actionID, actionNum, updateGold): -# if GameWorld.IsGM(curPlayer): -# #GM不上榜 -# return - - #排行榜需要数据[玩家ID, 玩家名字, 玩家职业, 击杀数] - playerID = curPlayer.GetID() - playerName = curPlayer.GetName() - playerOpInfo = curPlayer.GetOperateInfo() - playerJob = curPlayer.GetJob() - playerLV = curPlayer.GetLV() - familyName = curPlayer.GetFamilyName() - GameWorld.DebugLog("更新特惠充值排行榜: actionID=%s,actionNum=%s,updateGold=%s" - % (actionID, actionNum, updateGold), curPlayer.GetPlayerID()) - sendMsg = '%s' % ([playerID, playerName, playerOpInfo, playerJob, playerLV, familyName, actionID, actionNum, updateGold]) - GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'UpdRechargeRankBillboard', \ - sendMsg, len(sendMsg)) - return - -## 更新消费排行特惠排行榜 -# @param playerID: 玩家ID -# @return: -def UpdateCostRankBillboard(curPlayer, actionID, actionNum, updateGold): -# if GameWorld.IsGM(curPlayer): -# #GM不上榜 -# return - - #排行榜需要数据[玩家ID, 玩家名字, 玩家职业, 击杀数] - playerID = curPlayer.GetID() - playerName = curPlayer.GetName() - playerOpInfo = curPlayer.GetOperateInfo() - playerJob = curPlayer.GetJob() - playerLV = curPlayer.GetLV() - familyName = curPlayer.GetFamilyName() - GameWorld.DebugLog("更新特惠消费排行榜: actionID=%s,actionNum=%s,updateGold=%s" - % (actionID, actionNum, updateGold), curPlayer.GetPlayerID()) - sendMsg = '%s' % ([playerID, playerName, playerOpInfo, playerJob, playerLV, familyName, actionID, actionNum, updateGold]) - GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'UpdCostRankBillboard', \ - sendMsg, len(sendMsg)) return ##更新玩家充值排行榜 -- Gitblit v1.8.0