xdh
2019-06-28 2259cdb960ad0ca8b3f70c08c79267b033858719
7667 【后端】【2.0.200】跑环任务功能NPC随机修改
1个文件已修改
8 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -3585,9 +3585,11 @@
        if not npcData:
            continue
        NPCLV = npcData.GetLV()
        if NPCLV > heroLV or NPCLV < heroLV-30:
            if NPCLV < heroLV-30:
                secondNPC = killNPC
        if NPCLV > heroLV:
            continue
        if recordKey != ChConfig.Def_Player_Dict_TaskLastVisitNPCID and NPCLV < heroLV-30:
            secondNPC = killNPC
            continue
        #不和上次的NPCID相同
        if killNPC.ID == curPlayer.NomalDictGetProperty(recordKey):