| | |
| | | sendTimeList = []
|
| | | sysRedPackketSendCountToday = PlayerDBGSEvent.GetDBGSTrig_ByKey(DBKey_RedPacketSystemDayCount)
|
| | | maxCount = IpyGameDataPY.GetFuncCfg("ServerSysRedPacket", 1)
|
| | | if maxCount:
|
| | | if not maxCount:
|
| | | return
|
| | | needSendCount = max(0, maxCount - sysRedPackketSendCountToday)
|
| | |
|
| | |
| | | family = GameWorld.GetFamilyManager().FindFamily(familyID)
|
| | | if not family:
|
| | | return
|
| | | packetCnt = min(packetCnt, family.GetCount())
|
| | | #packetCnt = min(packetCnt, family.GetCount())
|
| | | # if getType != 0:
|
| | | # commonCntLimit = IpyGameDataPY.GetFuncCfg('FamilyRedPacketCnt')
|
| | | # packetCnt = max(packetCnt, commonCntLimit)
|