From b965081066ea579c45c73f08cd9cd61bc157ac9f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 09 五月 2019 11:15:45 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(防范跨服妖王关闭线路时导致的报错)
---
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