| | |
| | | PlayerControl.WorldNotify(0, "StrengthenCongratulation", msgParamList)
|
| | |
|
| | | classLV = ItemCommon.GetItemClassLV(curEquip)
|
| | | # 成就
|
| | | #PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_EquipPlusLV, 1, [updPlusLV])
|
| | |
|
| | | DoLogic_OnEquipPartStarLVChange(curPlayer, packType, classLV)
|
| | | # 增加强化成就
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_EquipPlus, 1)
|
| | | # 强化成就
|
| | | __UpdateEquipPlusSuccess(curPlayer, classLV)
|
| | | EventShell.EventRespons_EquipPlus(curPlayer, classLV, updPlusLV)
|
| | |
|
| | | # 开服活动数据
|
| | | #OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_Plus, ChEquip.GetTotalPlusLV(curPlayer))
|
| | | return
|
| | |
|
| | | def __UpdateEquipPlusSuccess(curPlayer, classLV):
|
| | | ipyDataList = IpyGameDataPY.GetIpyGameDataByCondition('EquipPlaceIndexMap', {'ClassLV':classLV}, True)
|
| | | if not ipyDataList:
|
| | | return
|
| | | |
| | | packType = IPY_GameWorld.rptEquip
|
| | | plusLVCountDict = {}
|
| | | for ipyData in ipyDataList:
|
| | | index = ipyData.GetGridIndex()
|
| | | plusLV = ChEquip.GetEquipPartPlusLV(curPlayer, packType, index)
|
| | | if not plusLV:
|
| | | continue
|
| | | conditionKey = (classLV, plusLV)
|
| | | plusLVCountDict[conditionKey] = plusLVCountDict.get(conditionKey, 0) + 1
|
| | | |
| | | #GameWorld.DebugLog("强化成就数据: classLV=%s,plusLVCountDict=%s" % (classLV, plusLVCountDict))
|
| | | PlayerSuccess.UpdateSuccessProgressByConditions(curPlayer, ShareDefine.SuccType_EquipPlus, plusLVCountDict)
|
| | | return
|
| | |
|
| | | def DoLogic_OnEquipPartStarLVChange(curPlayer, packType, classLV):
|
| | | #先刷装备BUFF 再计算属性
|
| | | curPlayer.SetDict(ChConfig.Def_PlayerKey_AttrActivatyNotify, ChConfig.Def_AttrActivatyNotify_Plus)
|