From 542b896965d8b73ce4434de75c7eb232378c0a64 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 23 一月 2019 10:57:47 +0800
Subject: [PATCH] 6001 【后端】【1.5.100】七日巡礼增加条件(封包)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
index e0f375e..9b1501c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
@@ -402,22 +402,23 @@
return
# 记录过关
#EventReport.WriteEvent_FB(curPlayer, ChConfig.Def_FBMapID_ZhuXianTower, 0, ChConfig.CME_Log_End, 0, 1)
- unLockEquipPlace = ipyData.GetUnLockEquipPlace()
- if unLockEquipPlace:
- PlayerControl.WorldNotify(0, 'KillGodTowerInfo_1', [curPlayer.GetPlayerName(), fbLevel, unLockEquipPlace])
- ipyMgr = IpyGameDataPY.IPY_Data()
- maxFloor = ipyMgr.GetZhuXianTowerByIndex(ipyMgr.GetZhuXianTowerCount() - 1).GetID()
+
# 过关时间
costTime = tick - GameWorld.GetGameFB().GetFBStepTick()
curStar = gameFB.GetGameFBDictByKey(FBDict_FBStar)
isFirstS = 0
- if fbLevel < maxFloor and curStar == Def_MaxStar:
+ if fbLevel != __GetZhuXianTowerCurPassLV(curPlayer) and curStar == Def_MaxStar:
#更新关卡
SetZhuXianTowerCurPassLV(curPlayer, fbLevel)
#更新诛仙塔排行榜
PlayerBillboard.UpdatePlayerBillboard(curPlayer, ShareDefine.Def_BT_ZhuXianTower, fbLevel, 10000-costTime/1000)
isFirstS = 1 #是否首次S通关
gameFB.SetGameFBDict(FBDict_isFirstS, isFirstS)
+
+ unLockEquipPlace = ipyData.GetUnLockEquipPlace()
+ if isFirstS and unLockEquipPlace:
+ PlayerControl.WorldNotify(0, 'KillGodTowerInfo_1', [curPlayer.GetPlayerName(), fbLevel, unLockEquipPlace])
+
# 给过关奖励
prizeItemList = __GiveFBPassPrize(curPlayer, False)
--
Gitblit v1.8.0