From 09f7856ed26cb659933e761f4641f0511b7cab0f Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 06 五月 2024 16:21:11 +0800 Subject: [PATCH] 10033 【后端】砍树(回合战斗副本支持任务类型4副本过关、类型12挑战副本;回合副本可重复挑战奖励及首通奖励支持;修复回合战斗NPC不存在时报错bug;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Task.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Task.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Task.py index ea9f48c..a071cfb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Task.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Task.py @@ -30,8 +30,8 @@ if len(paramList) == 0: GameWorld.DebugAnswer(curPlayer, "重置主线: Task 0") - GameWorld.DebugAnswer(curPlayer, "输出任务: Task 1") GameWorld.DebugAnswer(curPlayer, "设置任务: Task 任务ID 进度") + __ShowTask(curPlayer) return taskID = paramList[0] @@ -42,10 +42,6 @@ PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TaskValue % taskGroup, 0) PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TaskState % taskGroup, 0) PlayerTask.__giveNewTask(curPlayer, taskGroup) - return - - if len(paramList) == 1 and paramList[0] == 1: - __ShowTask(curPlayer) return taskValue = paramList[1] if len(paramList) > 1 else 0 -- Gitblit v1.8.0