xdh
2019-04-19 28bb89eb2ee8558b1529df973347803088cef88e
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