From 9d83acea1ff47d5b04e3ce700cdd4148e58d386a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 15 三月 2019 16:38:05 +0800 Subject: [PATCH] 6343 【后端】【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