xdh
2019-01-18 44474c06a087e0940536fea6806786315d1114b3
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -2644,9 +2644,12 @@
def LoginCheckChangeOldItem(curPlayer):
    ##登录检查替换旧物品
    if GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_GodWeaponItem):
        return
    GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_GodWeaponItem, 1)
    giveItemDict = {}
    mailDict = {}
    for packIndex in [IPY_GameWorld.rptItem, IPY_GameWorld.rptWarehouse]:
    for packIndex in [IPY_GameWorld.rptItem, IPY_GameWorld.rptWarehouse, ShareDefine.rptTreasure]:
        curPack = curPlayer.GetItemManager().GetPack(packIndex)
        for i in xrange(curPack.GetCount()):
            curItem = curPack.GetAt(i)