xdh
2019-06-27 67b5c3b99bc3cbbfb26c1755d02d566713d0b280
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -1034,8 +1034,8 @@
    #切地图要清除的buff
    __CheckClearBuffOnMapChange(curPlayer, tick)
            
    #上线和切地图加有限无敌Buff
    if curPlayer.GetLV() > 50:
    if GameWorld.GetMap().GetMapFBType() != IPY_GameWorld.fbtNull:
        #副本地图上线切换才加无敌buff
        SkillCommon.AddBuffBySkillType_NoRefurbish(curPlayer, ChConfig.Def_SkillID_LimitSuperBuff, tick)
            
    #刷新玩家的视野
@@ -1267,15 +1267,6 @@
    #初始化神兽装备背包
    curPack = curPlayer.GetItemManager().GetPack(ShareDefine.rptDogzEquip)
    curPack.SetCount(ChConfig.Def_PackCnt_DogzEquip)
    curPack.Sync_PackCanUseCount()
    #初始化诛仙物品背包
    curPack = curPlayer.GetItemManager().GetPack(ShareDefine.rptZhuXianItem)
    curPack.SetCount(ChConfig.Def_PackCnt_ZhuXianItem)
    curPack.Sync_PackCanUseCount()
    #初始化诛仙装备背包
    curPack = curPlayer.GetItemManager().GetPack(ShareDefine.rptZhuXianEquip)
    curPack.SetCount(ChConfig.Def_PackCnt_ZhuXianEquip)
    curPack.Sync_PackCanUseCount()
    
    #初始化临时交换背包
@@ -1745,8 +1736,8 @@
        delIndex = -1
        expireTime = 0
        for itemID in needItemIDList:
            hasEnough, itemIndexList = ItemCommon.GetItem_FromPack_ByID(itemID, itemPack, 1)
            if not hasEnough:
            hasEnough, itemIndexList = ItemCommon.GetItem_FromPack_ByID(itemID, itemPack, 10)
            if not itemIndexList:
                #GameWorld.DebugLog("重置加点 item(%s) isn't enough" % (needItemID))
                continue
            
@@ -1759,7 +1750,7 @@
                    if remainingTime <= 0:
                        #过期
                        continue
                    if remainingTime < expireTime:
                    if not expireTime or remainingTime < expireTime:
                        expireTime = remainingTime
                        delIndex = itemIndex
                else: