| | |
| | | import IpyGameDataPY
|
| | | import PlayerWing
|
| | | import Operate_EquipStone
|
| | | import OpenServerCampaign
|
| | | import PassiveBuffEffMng
|
| | | import time
|
| | | import json
|
| | |
| | | befTotalStarLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TotalEquipStar)
|
| | | updTotalStarLV = max(0, befTotalStarLV + setStarLV - befStarLV)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TotalEquipStar, updTotalStarLV)
|
| | | # 开服活动数据
|
| | | OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_StarLV, updTotalStarLV)
|
| | | GameWorld.DebugLog("设置部位星级: index=%s,befStarLV=%s,setStarLV=%s,befTotalStarLV=%s,updTotalStarLV=%s"
|
| | | % (index, befStarLV, setStarLV, befTotalStarLV, updTotalStarLV))
|
| | | return
|