From 28bb89eb2ee8558b1529df973347803088cef88e Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 19 四月 2019 15:10:27 +0800
Subject: [PATCH] 6374 境界提示增加参数

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipWash.py |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipWash.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipWash.py
index fb08fb9..4278582 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipWash.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipWash.py
@@ -29,11 +29,10 @@
 #  @remarks 函数详细说明.
 def OnExec(curPlayer, cmdList):
     if not cmdList:
-        GameWorld.DebugAnswer(curPlayer, "重置所有部位洗练信息: SetEquipWash 0")
-        GameWorld.DebugAnswer(curPlayer, "设置所有部位洗练信息: SetEquipWash 洗练等级 当前等级洗练属性百分比")
-        GameWorld.DebugAnswer(curPlayer, "设置指定部位洗练信息: SetEquipWash 阶级 装备位 洗练等级 当前等级洗练属性百分比")
+        __GMHelpAnswer(curPlayer)
         return
     
+    classLV = 0
     allIndexList = Operate_EquipWash.GetAllEquipWashPlace()
     syncPlace = -1
     if len(cmdList) == 1 and cmdList[0] == 0:
@@ -74,9 +73,10 @@
         __SetEquipPlaceWashLV(curPlayer, gridIndex, place, washLV, attrPer, maxWashLV)
         
     else:
+        __GMHelpAnswer(curPlayer)
         return
     
-    Operate_EquipWash.RefreshEquipWashAttr(curPlayer)
+    Operate_EquipWash.RefreshEquipWashAttr(curPlayer, classLV)
     Operate_EquipWash.Sycn_EquipWashInfo(curPlayer, syncPlace)
     return
 
@@ -102,4 +102,10 @@
         
     return
 
+def __GMHelpAnswer(curPlayer):
+    GameWorld.DebugAnswer(curPlayer, "重置所有部位洗练: SetEquipWash 0")
+    GameWorld.DebugAnswer(curPlayer, "设置所有部位洗练: SetEquipWash 等级 百分比")
+    GameWorld.DebugAnswer(curPlayer, "设置指定部位洗练: SetEquipWash 阶级 装备位 等级 百分比")
+    return
+
 

--
Gitblit v1.8.0