| | |
| | | addPoint = (newCnt - curCnt) * singlePoint
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FCPartyCurPoint)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FCPartyCurPoint, curPoint + addPoint)
|
| | | PlayerControl.NotifyCode(curPlayer, "AddFCPartyPoint", [addPoint])
|
| | | SyncFCPartyInfo(curPlayer, [actionID])
|
| | | return
|
| | |
|
| | | def AddFCPartyPoint(curPlayer, addPoint):
|
| | | ## 直接增加嗨点
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FCPartyCurPoint)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FCPartyCurPoint, curPoint + addPoint)
|
| | | PlayerControl.NotifyCode(curPlayer, "AddFCPartyPoint", [addPoint])
|
| | | SyncFCPartyInfo(curPlayer)
|
| | | return
|
| | |
|
| | | def GetFCPartyAward(curPlayer, index):
|
| | | ## 全民来嗨领奖
|
| | | worldLvNum = __GetFCWorldLVIndex(curPlayer, Def_FC_Party)
|