xdh
2019-02-22 abe6fdab99df2e4200a59a6b6c46f6de913632b8
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
@@ -52,6 +52,7 @@
import ChEquip
import QuestCommon
import random
import GameObj
# 可吞噬的装备位
Def_EatItem_EquipPlace = [
@@ -326,7 +327,7 @@
    aSkillAtkRate = curPlayer.GetSkillAtkRate()    # 技能攻击力加成
    petMinAtk = PlayerControl.GetPetMinAtk(curPlayer)   #灵宠最小攻击
    petMaxAtk = PlayerControl.GetPetMaxAtk(curPlayer)   #灵宠最大攻击
    petDamPer = PlayerControl.GetPetDamPer(curPlayer)   #灵宠增加伤害
    petDamPer = GameObj.GetPetDamPer(curPlayer)   #灵宠增加伤害
    atkSpeed = PlayerControl.GetAtkSpeed(curPlayer) # 攻击速度
    aIgnoreDefRate = curPlayer.GetIgnoreDefRate()  # 无视防御比率
    aLuckyHit = curPlayer.GetLuckyHitVal()  # 会心一击
@@ -544,6 +545,7 @@
    #GameWorld.DebugLog("equipScores----%s"%equipScores)
    
    eatIndexList = []
    eatItemIDList = []
    itemPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptItem)
    for i in range(0, itemPack.GetCount()):
        curItem = itemPack.GetAt(i)
@@ -566,9 +568,9 @@
                continue
        
        eatIndexList.append(i)
        eatItemIDList.append(curItem.GetItemTypeID())
    #GameWorld.DebugLog("eatIndexList-----------%s"%len(eatIndexList))
    eatCount, giveCnt = PlayerEquipDecompose.EatItems(curPlayer, eatIndexList)
    eatCount, giveCnt = PlayerEquipDecompose.EatItems(curPlayer, eatIndexList, eatItemIDList)
    NoteEatEquip(curPlayer, eatCount, giveCnt)
    CheckPackFull(curPlayer)