| | |
| | | import ItemCommon
|
| | | import PyGameData
|
| | | import EventShell
|
| | | import FBCommon
|
| | | import NPCCommon
|
| | |
|
| | | import copy
|
| | | import random
|
| | | import FBCommon
|
| | |
|
| | | #0-奇遇 1-宝藏 2-仙草 3-妖王 4-灵草
|
| | | (
|
| | |
| | |
|
| | |
|
| | | def EndFairyDomain(curPlayer):
|
| | | GameWorld.DebugLog("EndFairyDomain", curPlayer.GetID())
|
| | | ##结束寻访
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FairyDomainState, 0)
|
| | | otherCntRateList = IpyGameDataPY.GetFuncEvalCfg('ImmortalDomain', 2)
|
| | |
| | | giveItemList = [ipyData.GetBasicAward()]
|
| | |
|
| | | ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList)
|
| | | for itemInfo in giveItemList:
|
| | | NPCCommon.SendVirtualItemDrop(curPlayer, itemInfo[0], 0, 0, '')
|
| | | msgDict = {FBCommon.Over_itemInfo:FBCommon.GetJsonItemList(giveItemList)}
|
| | | FBCommon.Notify_FB_Over(curPlayer, msgDict)
|
| | | GameWorld.DebugLog('缥缈奇遇领奖 msgDict=%s, fdeventID=%s' % (msgDict, fdeventID))
|