From 5268d9e89c9ebd10fa9d793186e91c4b55f53d8e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 20 十二月 2023 12:08:59 +0800 Subject: [PATCH] 10054 【后端】任务系统 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index 05307bf..e0774f0 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -4381,6 +4381,11 @@ Def_PDict_TreeLVUPState = "TreeLVUPState" # 仙树升级状态;0-未升级;1-升级中 Def_PDict_TreeLVUPRemainTime = "TreeLVUPRemainTime" # 仙树升级剩余时间,秒 Def_PDict_TreeLVUPRefreshTime = "TreeLVUPRefreshTime" # 仙树升级上次刷新时间戳 + +#任务-简化版任务,有且仅有一个进行中的任务 +Def_PDict_TaskIDLast = "TaskIDLast" # 上一次完成的任务ID +Def_PDict_TaskID = "TaskID" # 当前进行中的任务ID +Def_PDict_TaskValue = "TaskValue" # 当前进行中的任务进度 #------------------------------------------------------------------------------- #可以从07 41封包购买的背包类型,和对应字典{背包类型:[字典key, 默认格子数]} @@ -5868,7 +5873,8 @@ Def_RewardType_FamilyBossHurt, #仙盟boss伤害奖励 63 Def_RewardType_DailyPackBuyGift, #打包直购礼包奖励 64 Def_RewardType_Zhanling, #战令奖励 65 -)= range(66) +Def_RewardType_Task, #任务奖励 66 +)= range(67) #boss复活相关活动定义 @@ -6080,6 +6086,15 @@ TTLTaskType_CrossBoss, # 跨服boss击杀x次 18 ) = range(1, 1 + 18) +# 任务类型定义 +TaskTypeList = ( +TaskType_LV, # 等级提升至x级 1 +TaskType_CutTree, # 砍树x次 2 +TaskType_EquipDecompose, # 分解装备x次 3 +TaskType_FBPass, # 副本过关到xxx 4 +TaskType_Arena, # 挑战竞技场x次 5 +) = range(1, 1 + 5) + # 充值点券处理类型 ( CoinType_Gold, # 直接充仙玉 0 -- Gitblit v1.8.0