| | |
| | | import ChConfig
|
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import PlayerSuccess
|
| | | import EventShell
|
| | |
|
| | | import time
|
| | |
| | | sendMCPack.Result = 1
|
| | | NetPackCommon.SendFakePack(curPlayer, sendMCPack)
|
| | |
|
| | | #<MailTemplate>模板编号</MailTemplate>[%s,%s]
|
| | | lSign, rSign = "<MailTemplate>", "</MailTemplate>"
|
| | | if lSign in content and rSign in content:
|
| | | mailKey = content[content.index(lSign) + len(lSign):content.index(rSign)]
|
| | | try:
|
| | | mailParamList = eval(content[content.index(rSign) + len(rSign):])
|
| | | except:
|
| | | mailParamList = []
|
| | | if mailKey in ["CrossBattlefieldEnterOrderWeek", "CrossBattlefieldCallOrderWeek", "CrossBattlefieldScoreOrderWeek"]:
|
| | | GameWorld.DebugLog("古神战场周榜邮件处理成就: mailKey=%s,mailParamList=%s" % (mailKey, mailParamList), curPlayer.GetPlayerID())
|
| | | if mailParamList and mailParamList[0] == 1:
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_Battlefield_BillFirst, 1)
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_Battlefield_BillIn, 1)
|
| | | |
| | | #===========================================================================
|
| | | # #领取补偿事件记录
|
| | | # Text = curPackData.Text
|