From 69a763fb7cdb30bd5f7a860e4fd4a9270adb23b9 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 09 五月 2019 20:41:56 +0800
Subject: [PATCH] 6628 查看玩家 技能总等级信息
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_SkyTower.py | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_SkyTower.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_SkyTower.py
index 3f5d124..c063bfe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_SkyTower.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_SkyTower.py
@@ -63,7 +63,7 @@
def GetTowerIpyData(floor):
return IpyGameDataPY.GetIpyGameData('SkyTower', floor)
-def OnFBPlayerLogin(curPlayer):
+def OnFBPlayerOnLogin(curPlayer):
SyncSkyTowerInfo(curPlayer)
return
@@ -73,7 +73,7 @@
def SyncSkyTowerInfo(curPlayer):
ttInfo = ChPyNetSendPack.tagMCSkyTowerInfo()
ttInfo.Clear()
- ttInfo.floorID = __GetSkyTowerCurFloor(curPlayer)
+ ttInfo.Floor = __GetSkyTowerCurFloor(curPlayer)
NetPackCommon.SendFakePack(curPlayer, ttInfo)
return
@@ -309,15 +309,14 @@
if ipyData.GetIsNotify():
- IPY_Data = IpyGameDataPY.IPY_Data()
- maxLevel = IPY_Data.GetRuneTowerByIndex(IPY_Data.GetRuneTowerCount()-1).GetID()
- sysMark = 'RuneTowerInfo_1' if floorID == maxLevel else 'GeRen_liubo_471172'
- PlayerControl.WorldNotify(0, sysMark,
- [curPlayer.GetPlayerName(), floorID / 100])
+ #IPY_Data = IpyGameDataPY.IPY_Data()
+ #maxLevel = IPY_Data.GetRuneTowerByIndex(IPY_Data.GetRuneTowerCount()-1).GetID()
+ sysMark = 'KillGodTowerInfo_1'# if floorID == maxLevel else 'GeRen_liubo_471172'
+ PlayerControl.WorldNotify(0, sysMark, [curPlayer.GetPlayerName(), floorID])
#更新关卡
SetSkyTowerCurfloorID(curPlayer, floorID)
# 给过关奖励
- prizeDict = __GiveFBPassPrize(curPlayer, floorID)
+ prizeDict = __GiveFBPassPrize(curPlayer, ipyData)
# 过关时间
costTime = tick - GameWorld.GetGameFB().GetFBStepTick()
prizeDict[FBCommon.Over_costTime] = costTime
@@ -326,8 +325,6 @@
SyncSkyTowerInfo(curPlayer) # 同步最新关卡信息
__SetFBToFreeTime(tick)
- #每日任务
- PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_Tower)
return
--
Gitblit v1.8.0