xdh
2019-05-27 65a4c2029af3f70ce484a2eec167c50f227d7a5c
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
@@ -19,6 +19,7 @@
import ChConfig
import ChPyNetSendPack
import NetPackCommon
import PlayerBossReborn
import ShareDefine
import GameWorld
import GameLogic_CrossGrassland
@@ -59,6 +60,12 @@
AdventuresType4,
) = range(1, 5)
#事件副本类型
(
FDEventFBType_Client, #前端本0
FDEventFBType_Server, #本服本1
FDEventFBType_CrossServer, #跨服本2
) = range(3)
def OnLogin(curPlayer):
    NotifyVisitFairyDomainInfo(curPlayer)
@@ -132,7 +139,7 @@
    if fairyDomainState != 2 and not PlayerActivity.AddDailyActionFinishCnt(curPlayer, dailyID):
        GameWorld.DebugLog("    寻访仙域次数不足!")
        return
    #随机事件 重置事件状态
    visitCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FairyDomainVisitCnt)
    appointIpyDataList = IpyGameDataPY.GetIpyGameDataListNotLog('FairyDomainAppoint', visitCnt + 1)
@@ -215,6 +222,8 @@
    #֪ͨ
    NotifyVisitFairyDomainInfo(curPlayer, fdEventIDList)
    NotifyFairyAdventuresInfo(curPlayer)
    PlayerBossReborn.AddBossRebornActionCnt(curPlayer, ChConfig.Def_BRAct_FairyDomain, 1)
    return