|  |  | 
 |  |  |     if not msgList:
 | 
 |  |  |         GameWorld.DebugAnswer(curPlayer, "AddFairyEvent 事件ID")
 | 
 |  |  |         return
 | 
 |  |  |     fdEventIDList = msgList
 | 
 |  |  |     maxEventCnt = PlayerFairyDomain.GetMaxEventCnt()  # 最大可出现事件个数
 | 
 |  |  |     if len(msgList) > maxEventCnt:
 | 
 |  |  |         GameWorld.DebugAnswer(curPlayer, "最大事件数量 %s"%maxEventCnt)
 | 
 |  |  |     fdEventIDList = msgList[:maxEventCnt]
 | 
 |  |  |     openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
 | 
 |  |  |     otherCntRateList = IpyGameDataPY.GetFuncEvalCfg('ImmortalDomain', 2)
 | 
 |  |  |     maxEventCnt = max([info[1] for info in otherCntRateList]) + 1  #最大可出现事件个数
 | 
 |  |  | 
 | 
 |  |  |     for i in xrange(maxEventCnt):
 | 
 |  |  |         prefdEventID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FairyDomainEventID % i)
 | 
 |  |  |         if prefdEventID:
 |