hxp
2021-01-14 1f8360c2e5992e9be8585cdbb832c7827862873d
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
@@ -1064,7 +1064,7 @@
        return
    #GameWorld.DebugLog('    suitCntDict=%s'%suitCntDict)
    learnSkillList = []
    delSkillID = []
    delSkillIDList = []
    skillManager = curPlayer.GetSkillManager()
    playerName = curPlayer.GetName()
    for suiteID, starList in suitCntDict.items():
@@ -1094,7 +1094,7 @@
            else:
                if skillID and skillManager.FindSkillBySkillTypeID(skillID):
                    delSkillID.append(skillID)
                    delSkillIDList.append(skillID)
                    skillManager.DeleteSkillBySkillTypeID(skillID)
                            
            
@@ -1105,7 +1105,11 @@
            continue
        skillManager.LVUpSkillBySkillTypeID(skillID)   
        PlayerControl.PlayerControl(curPlayer).RefreshSkillFightPowerEx(skillID, 0)
    if learnSkillList or delSkillID:
    for delSkillID in delSkillIDList:
        PlayerControl.PlayerControl(curPlayer).RefreshSkillFightPowerByDel(delSkillID)
    if learnSkillList or delSkillIDList:
        # 重刷被动技能
        PassiveBuffEffMng.GetPassiveEffManager().RegistPassiveEff(curPlayer)    
    return