| | |
| | | #刷新所有属性
|
| | | playControl = PlayerControl.PlayerControl(curPlayer)
|
| | | playControl.RefreshPlayerAttrState()
|
| | | |
| | | #装备的被动触发类技能
|
| | | PassiveBuffEffMng.GetPassiveEffManager().RegistSuperEquipSkillDict(curPlayer)
|
| | | return True
|
| | |
|
| | |
|
| | |
| | |
|
| | | #if isRefreshEquipBuff:
|
| | | # __RefreshPlayerAllEquipBuff(curPlayer)
|
| | | |
| | | if classLV:
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | if playerID not in PyGameData.g_equipChangeClassLVInfo:
|
| | | PyGameData.g_equipChangeClassLVInfo[playerID] = []
|
| | | classLVList = PyGameData.g_equipChangeClassLVInfo[playerID]
|
| | | if classLV not in classLVList:
|
| | | classLVList.append(classLV)
|
| | | #GameWorld.DebugLog("添加装备缓存变更阶: classLV=%s, %s" % (classLV, classLVList), playerID)
|
| | | return
|
| | |
|
| | | ## 刷新所有装备对人物属性的改变
|
| | |
| | | #刷新所有属性
|
| | | playControl = PlayerControl.PlayerControl(curPlayer)
|
| | | playControl.RefreshPlayerAttrState()
|
| | | |
| | | #装备的被动触发类技能
|
| | | PassiveBuffEffMng.GetPassiveEffManager().RegistSuperEquipSkillDict(curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | |
| | | maxStarLV = ItemCommon.GetItemMaxStar(curEquip)
|
| | | return min(GetEquipPartStar(curPlayer, equipPackindex), maxStarLV)
|
| | |
|
| | | def GetTotalEquipStars(curPlayer):
|
| | | ##获取部位总星数
|
| | | totalStar = 0
|
| | | equipMaxClasslv = IpyGameDataPY.GetFuncCfg('EquipMaxClasslv')
|
| | | for equipPlace in ChConfig.Pack_EquipPart_CanPlusStar.get(IPY_GameWorld.rptEquip, []):
|
| | | for classlv in xrange(1, equipMaxClasslv+1):
|
| | | ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classlv, equipPlace)
|
| | | if not ipyData:
|
| | | continue
|
| | | totalStar +=GetEquipPartStar(curPlayer, ipyData.GetGridIndex())
|
| | | return totalStar
|
| | |
|
| | | ## 通知公共部位星数
|
| | | def NotifyEquipPartStar(curPlayer, index=None):
|