| | |
| | | import PlayerFairyCeremony
|
| | | import EventReport
|
| | | import PyGameData
|
| | |
|
| | | import ItemCommon
|
| | | import ItemControler
|
| | |
|
| | | #当前副本地图的状态
|
| | | (
|
| | |
| | | if hasCollect:
|
| | | PlayerControl.NotifyCode(curPlayer, 'Party_HadCollected')
|
| | | return
|
| | | needSpace = len(IpyGameDataPY.GetFuncEvalCfg('FamilyPartyDesk', 3))
|
| | | packSpace = ItemCommon.GetItemPackSpace(curPlayer, IPY_GameWorld.rptItem, needSpace)
|
| | | if needSpace > packSpace:
|
| | | PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_998371")
|
| | | return
|
| | | return True
|
| | |
|
| | | ##副本中,采集物需要Loading时间.
|
| | |
| | |
|
| | | GameWorld.DebugLog(' 宴会采集成功!', playerID)
|
| | | #给奖励
|
| | | itemAward = IpyGameDataPY.GetFuncEvalCfg('FamilyPartyDesk', 3)
|
| | | for itemID, itemCount, isBind in itemAward:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem])
|
| | | addPoint = IpyGameDataPY.GetFuncCfg('FamilyPartyDesk')
|
| | | PlayerControl.NotifyCode(curPlayer, 'Party_CollectSuccess', [addPoint])
|
| | | PlayerFamily.AddPlayerFamilyActiveValue(curPlayer, addPoint, True, ShareDefine.Def_AddFAVReason_FamilyParty)
|