From 921ba9c6e954f2f1377cb08d5a8476c9e6c2b30e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 15 三月 2019 17:44:27 +0800
Subject: [PATCH] 6332 【后端】【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