From cda5ffad727e202510e3cd11017040f2488d6d34 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 09 二月 2023 17:55:13 +0800 Subject: [PATCH] 9762 【BT8】【后端】藏宝阁(9767 【BT8】新增古宝特效效果) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py index 033278a..ef0aca7 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py @@ -461,10 +461,10 @@ washLV = min(washLV, maxWashLV) washType = GetEquipWashType(equipPlace) if washType is None: - return + return 0 washData = GetEquipWashData(washType, washLV) if not washData: - return + return 0 #GameWorld.DebugLog("装备位属性: equipPlace=%s,washLV=%s" % (equipPlace, washLV)) for attrNum in range(1, Def_EquipWashMaxAttrCount + 1): attrID = getattr(washData, "GetAttrType%s" % attrNum)() @@ -475,7 +475,7 @@ if attrValue: PlayerControl.CalcAttrDict_Type(attrID, attrValue, allAttrList) baseAttrDictWash[attrID] = baseAttrDictWash.get(attrID, 0) + attrValue - return + return washLV def EquipWashSuccess(curPlayer, classLV): ipyDataList = IpyGameDataPY.GetIpyGameDataByCondition('EquipPlaceIndexMap', {'ClassLV':classLV}, True) -- Gitblit v1.8.0