From 0f297a5b66b91751d8342624db871efeca7ed94e Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期六, 02 三月 2019 10:20:48 +0800 Subject: [PATCH] 6307 【后端】【2.0】多套装备开发单(穿脱、升星) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartPlusLV.py | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStarLV.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartPlusLV.py similarity index 87% rename from ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStarLV.py rename to ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartPlusLV.py index 246ef8f..bde1d0f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStarLV.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartPlusLV.py @@ -4,14 +4,14 @@ # #------------------------------------------------------------------------------- # -##@package GM.Commands.SetEquipPartStarLV +##@package GM.Commands.SetEquipPartPlusLV # -# @todo:设置装备部位公共星级 +# @todo:设置装备部位公共强化等级 # @author hxp # @date 2015-12-15 # @version 1.0 # -# 详细描述: 设置装备部位公共星级 +# 详细描述: 设置装备部位公共强化等级 # #--------------------------------------------------------------------- """Version = 2015-12-15 17:00""" @@ -41,11 +41,11 @@ for i in indexList: curPack = curPlayer.GetItemManager().GetPack(pType) curEquip = curPack.GetAt(i) - ChEquip.SetEquipPartStarLV(curPlayer, pType, i, curEquip, setStarLV) + ChEquip.SetEquipPartPlusLV(curPlayer, pType, i, curEquip, setStarLV) ChEquip.SetEquipPartProficiency(curPlayer, pType, i, 0) Operate_EquipPlus.DoLogic_OnEquipPartStarLVChange(curPlayer, pType) - ChEquip.NotifyEquipPartStarLV(curPlayer) - GameWorld.DebugAnswer(curPlayer, "设置所有部位星级为: %s" % setStarLV) + ChEquip.NotifyEquipPartPlusLV(curPlayer) + GameWorld.DebugAnswer(curPlayer, "设置所有部位强化等级为: %s" % setStarLV) return if len(cmdList) != 3: @@ -64,9 +64,9 @@ curPack = curPlayer.GetItemManager().GetPack(packType) curEquip = curPack.GetAt(index) - maxStarLV = ItemCommon.GetItemMaxStarLV(curEquip) + maxStarLV = ItemCommon.GetItemMaxPlusLV(curEquip) starLV = min(starLV, maxStarLV) - ChEquip.SetEquipPartStarLV(curPlayer, packType, index, curEquip, starLV) + ChEquip.SetEquipPartPlusLV(curPlayer, packType, index, curEquip, starLV) ChEquip.SetEquipPartProficiency(curPlayer, packType, index, 0) Operate_EquipPlus.DoLogic_OnEquipPartStarLVChange(curPlayer, packType) return @@ -100,7 +100,7 @@ #=============================================================================== #=========================================================================== - # GameWorld.DebugAnswer(curPlayer, "SetEquipPartStarLV 参数[packType, index, starLV]") + # GameWorld.DebugAnswer(curPlayer, "SetEquipPartPlusLV 参数[packType, index, starLV]") # for pType, indexList in ChConfig.Pack_EquipPart_CanPlusStar.items(): # GameWorld.DebugAnswer(curPlayer, " packType=%s(%s)时" % (pType, packTypeStrDict.get(pType, ""))) # indexStr = "index=" @@ -108,7 +108,7 @@ # indexStr += "%s(%s)," % (i, indexStrDict.get("%s_%s" % (pType, i), "")) # GameWorld.DebugAnswer(curPlayer, " %s" % indexStr) # - # GameWorld.DebugAnswer(curPlayer, " SetEquipPartStarLV 星级 可重置所有部位为对应的星级") + # GameWorld.DebugAnswer(curPlayer, " SetEquipPartPlusLV 强化等级 可重置所有部位为对应的强化等级") # GameWorld.DebugAnswer(curPlayer, "------------------------------") #=========================================================================== return -- Gitblit v1.8.0