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/Player/PlayerState.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py index a531409..8debe53 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py @@ -1132,7 +1132,7 @@ return True equipID = result[0] equipPlace = result[1] - if equipPlace == ShareDefine.retGuard: + if equipPlace in [ShareDefine.retGuard1, ShareDefine.retGuard2]: PlayerControl.NotifyCode(curPlayer, 'Guardian_Timeout', [equipID, spaceIndex]) elif equipPlace == ShareDefine.retWing: PlayerControl.NotifyCode(curPlayer, 'WingTiyan_Timeout') @@ -1146,8 +1146,8 @@ PlayerGoldGift.FirstGoldTryItemOutTime(curPlayer) # 广播卸装 - if equipIndex in ChConfig.Def_SyncEquipStateByIndex: - curPlayer.Sync_UnEquipItem(equipID, equipPlace) + if equipPlace in ChConfig.Def_SyncEquipStateByIndex: + curPlayer.Sync_UnEquipItem(equipID, equipIndex) return True #--------------------------------------------------------------------- ##全局定时器调用, 刷新玩家状态 -- Gitblit v1.8.0