From 01524938c6d455b3b8e3a35f7b82b7de71de2c19 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 18 十一月 2024 16:51:26 +0800
Subject: [PATCH] 10261 【越南】【砍树】【英文】【tqxbqy】【btgotq】头像框,头像(补充跨服榜单Value3、Value4,包含古神参与、召集、积分榜,boss历练活动榜、古宝养成活动榜、骑宠养成活动榜、仙匣秘境活动榜;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TTL.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TTL.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TTL.py
index f222612..9edfd1c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TTL.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TTL.py
@@ -20,6 +20,7 @@
import PlayerTongTianLing
import IpyGameDataPY
import ChConfig
+import time
#---------------------------------------------------------------------
#逻辑实现
@@ -48,6 +49,7 @@
resetTTTask(curPlayer)
GameWorld.DebugAnswer(curPlayer, "重置通天任务OK!")
else:
+ PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TTL_StartTime, int(time.time()))
resetTTLV(curPlayer)
resetTTTask(curPlayer)
GameWorld.DebugAnswer(curPlayer, "重置通天所有OK!")
@@ -77,7 +79,7 @@
def resetTTTask(curPlayer):
- for i in xrange(10):
+ for i in xrange(PlayerTongTianLing.TTL_TaskAwardKeyCount):
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TTL_TaskAwardRecord % i, 0)
syncTaskInfoList = []
@@ -93,7 +95,7 @@
return
def resetTTLV(curPlayer):
- for i in xrange(10):
+ for i in xrange(PlayerTongTianLing.TTL_LVAwardKeyCount):
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TTL_CommAwardRecord % i, 0)
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TTL_XianAwardRecord % i, 0)
PlayerTongTianLing.SetTongTianLingLVInfo(curPlayer, 0, 0)
--
Gitblit v1.8.0