From 789490b7d362160f7fca4580df6176498e1eb271 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 15 十一月 2024 15:19:13 +0800
Subject: [PATCH] 10302 【越南】【英语】【砍树】【tqxbqy】【btgotq】仙缘-服务端

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Zhanling.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Zhanling.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Zhanling.py
index 76843f7..9c24f4a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Zhanling.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Zhanling.py
@@ -33,6 +33,7 @@
     if not msgList:
         GameWorld.DebugAnswer(curPlayer, "重置奖励: Zhanling 0 类型")
         GameWorld.DebugAnswer(curPlayer, "设置战令: Zhanling 类型 是否激活普通   高级")
+        GameWorld.DebugAnswer(curPlayer, "设置进度: Zhanling v 类型  进度值")
         return
     
     value = msgList[0]
@@ -42,6 +43,14 @@
         PlayerZhanling.ResetZhanling(curPlayer, zhanlingType, backValue)
         GameWorld.DebugAnswer(curPlayer, "重置战令(%s)!" % (zhanlingType))
         
+    elif value == "v":
+        zhanlingType = msgList[1] if len(msgList) > 1 else 0
+        value1 = msgList[2] if len(msgList) > 2 else 0
+        retValue = PlayerZhanling.SetZhanlingValue(curPlayer, zhanlingType, value1)
+        if retValue == None:
+            GameWorld.DebugAnswer(curPlayer, "该战令不用设置进度值! %s" % (zhanlingType))
+            return
+        GameWorld.DebugAnswer(curPlayer, "战令进度:Type=%s,V=%s" % (zhanlingType, retValue))
     else:
         zhanlingType = value
         activiteC = msgList[1] if len(msgList) > 1 else 0

--
Gitblit v1.8.0