| | |
| | | SyncBeautyInfo(curPlayer, [beautyID])
|
| | | return
|
| | |
|
| | | def GetBeautyActCnt(curPlayer):
|
| | | ## 红颜已激活总数
|
| | | actCnt = 0
|
| | | ipyDataMgr = IpyGameDataPY.IPY_Data()
|
| | | for index in range(ipyDataMgr.GetBeautyCount()):
|
| | | ipyData = ipyDataMgr.GetBeautyByIndex(index)
|
| | | beautyID = ipyData.GetBeautyID()
|
| | | if not GetBeautyState(curPlayer, beautyID):
|
| | | continue
|
| | | actCnt += 1
|
| | | return actCnt
|
| | |
|
| | | #// B2 20 红颜好感度升级 #tagCSBeautyLVUP
|
| | | #
|
| | | #struct tagCSBeautyLVUP
|
| | |
| | | SyncBeautyInfo(curPlayer, [beautyID])
|
| | |
|
| | | # 有升级额外处理
|
| | | if updLV > updLV:
|
| | | if updLV > curLV:
|
| | | RefreshBeautyAttr(curPlayer)
|
| | |
|
| | | return
|
| | |
| | | effPerLVAdd = ipyData.GetEffPerLVAdd()
|
| | | if effType:
|
| | | effValue = effValue + effPerLVAdd * talentLV
|
| | | effTypeDict[effType] = [effValue, effTypeValue]
|
| | | if effType not in effTypeDict:
|
| | | effTypeDict[effType] = [0, effTypeValue]
|
| | | effTypeDict[effType][0] = effTypeDict[effType][0] + effValue
|
| | | #GameWorld.DebugLog("红颜特殊效果: beautyID=%s,effType=%s,talentLV=%s,%s" % (beautyID, effType, talentLV, effTypeDict), playerID)
|
| | |
|
| | | # ʱװ
|