xdh
2019-06-21 efb7e570e8aee945dedc80e2be76becca1ea7ba5
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCustomRefresh.py
@@ -308,6 +308,8 @@
        
    gameWorld = IPY_GameWorld.IPY_GameWorld(activityLineIndex)
    gameFB = gameWorld.GetGameFBByFbIndex(activityLineIndex)
    if not gameFB:
        return
    
    gameNPC = GameWorld.GetNPCManager() # NPC标识点的无所谓,哪条线都可以,因为都一样
    for i in xrange(gameNPC.GetCustomNPCRefreshCount()):
@@ -887,6 +889,8 @@
            else:
                refreshCD = ipyData.GetRefreshSeconds()
                
            if not refreshCD:
                continue
            if tick - numLastTick < refreshCD * 1000:
                continue
        gameFB.SetGameFBDict(ChConfig.Def_RMark_RandomRefreshNPCNumTime % num, tick)