| | |
| | | import GameFuncComm
|
| | | import IpyGameDataPY
|
| | | import ItemCommon
|
| | | import PlayerHorse
|
| | |
|
| | | import time
|
| | | #===============================================================================
|
| | |
| | | # 刷签到附加功能属性
|
| | | PlayerMagicWeapon.CalcMagicWeaponAttr(curPlayer)
|
| | | PlayerPet.CalcPetItemAddPlayerAttr(curPlayer)
|
| | | PlayerHorse.CalcHorseAttrEx(curPlayer)
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
|
| | |
|
| | | mwID = IpyGameDataPY.GetFuncCfg('MWSignDayAttr', 2)
|
| | |
| | | packSpace = ItemCommon.GetItemPackSpace(curPlayer, IPY_GameWorld.rptItem, signCount)
|
| | | if packSpace >= signCount:
|
| | | for awardInfo in awardInfoList:
|
| | | ItemControler.GivePlayerItem(curPlayer, awardInfo[0], awardInfo[1], awardInfo[2], [IPY_GameWorld.rptItem], True, showSysInfo=True) |
| | | ItemControler.GivePlayerItem(curPlayer, awardInfo[0], awardInfo[1], 0, [IPY_GameWorld.rptItem]) |
| | | else:
|
| | | GameWorld.DebugLog("背包已满 邮件发送物品")
|
| | | PlayerControl.SendMailByKey(mailTypeKey, [curPlayer.GetPlayerID()], awardInfoList)
|