| | |
| | | # if mapID != ChConfig.Def_FBMapID_FamilyParty:
|
| | | # return
|
| | | #
|
| | |
|
| | | |
| | | addPoint, addExp = IpyGameDataPY.GetFuncEvalCfg('PartyReward', 2)
|
| | | #仙盟贡献度
|
| | | PlayerFamily.AddPlayerFamilyActiveValue(curPlayer, addPoint, True, ShareDefine.Def_AddFAVReason_FamilyParty, True)
|
| | | #答题经验更新
|
| | | PlayerControl.PlayerControl(curPlayer).AddExp(addExp, ShareDefine.Def_ViewExpType_SysEx)
|
| | | |
| | | PlayerControl.FamilyNotify(curPlayer.GetFamilyID(), 'Party_Answer', [curPlayer.GetName(), addPoint])
|
| | | curAnswerCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FamilyPartyAnswerCnt)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_FamilyPartyAnswerCnt, curAnswerCnt + 1)
|
| | |
|
| | |
| | | reExp = PlayerControl.GetPlayerReExp(curPlayer)
|
| | | giveExp = eval(IpyGameDataPY.GetFuncCompileCfg('FamilyPartySitAward'))
|
| | | if giveExp:
|
| | | PlayerControl.PlayerControl(curPlayer).AddExp(giveExp)
|
| | | giveExp = PlayerControl.PlayerControl(curPlayer).AddExp(giveExp)
|
| | | exp = gameWorld.GetGameWorldDictByKey(FBPlayerDict_TotalExp % playerID)
|
| | | expPoint = gameWorld.GetGameWorldDictByKey(FBPlayerDict_TotalExpPoint % playerID)
|
| | | newTotalExp = expPoint*ChConfig.Def_PerPointValue+exp+giveExp+addExp
|