| | |
| | | GameWorld.ErrLog(' 邮件发放充值大礼奖励 CeremonyRecharge 未配置奖励 worldLvNum=%s' % worldLvNum)
|
| | | else:
|
| | | awardList = awardInfoDict[str(worldLvNum)]
|
| | | PlayerControl.SendMailByKey('CeremonyPayPack', [playerID], awardList, [playerName])
|
| | | PlayerControl.SendMailByKey('NewCeremonyPayPack', [playerID], awardList, [playerName])
|
| | | #全民来嗨
|
| | | worldLvNum = __GetFCWorldLVIndex(curPlayer, Def_FC_Party)
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_NewFCPartyCurPoint)
|
| | |
| | | awardList = awardInfoDict[str(job)]
|
| | | partyAwardList += awardList
|
| | | if partyAwardList:
|
| | | PlayerControl.SendMailByKey('CeremonyHaiPoint', [playerID], partyAwardList, [playerName])
|
| | | PlayerControl.SendMailByKey('NewCeremonyHaiPoint', [playerID], partyAwardList, [playerName])
|
| | | return
|
| | |
|
| | | def __IsAtFCAction():
|
| | |
| | |
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_NewFCRechargeState, 2)
|
| | | for itemID, itemCnt, isBind in awardList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem])
|
| | |
|
| | | SyncFCRechargeInfo(curPlayer)
|
| | |
|
| | | PlayerControl.WorldNotify(0, 'CeremonyRecharge', [curPlayer.GetName()])
|
| | | PlayerControl.WorldNotify(0, 'NewCeremonyRecharge', [curPlayer.GetName()])
|
| | | return
|
| | |
|
| | |
|
| | |
| | | awardRecord |= awardMark
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_NewFCPartyAwardRecord, awardRecord)
|
| | | for itemID, itemCnt, isBind in awardList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem])
|
| | | #֪ͨ
|
| | | SyncFCPartyInfo(curPlayer, isGetAward=True)
|
| | | return
|