6975 【2.0】【后端】日常界面调整(升级给活跃点)
| | |
| | | def DoAddActivity(curPlayer, addValue, isMultiple=False):
|
| | | if not addValue:
|
| | | return
|
| | | multiple = 1
|
| | | addExtraPoint = 0
|
| | | if isMultiple:
|
| | | multiple, extraPointLimit = __GetActionAddPer(curPlayer)
|
| | | curExtraPoint = __GetPDictValue(curPlayer, ChConfig.Def_PDict_Activity_ExtraRealmPoint)
|
| | |
| | | SyncDailyActivityInfo(curPlayer)
|
| | | EventShell.EventRespons_AddActivityValue(curPlayer)
|
| | | GameWorld.DebugLog(
|
| | | "增加活跃度,addValue=%s, multiple=%s, addExtraPoint=%s,curExtraPoint=%s"
|
| | | % (addValue, multiple, addExtraPoint, curExtraPoint), curPlayer.GetPlayerID())
|
| | | "增加活跃度,addValue=%s, multiple=%s, addExtraPoint=%s"
|
| | | % (addValue, multiple, addExtraPoint), curPlayer.GetPlayerID())
|
| | |
|
| | | return
|
| | |
|