1111 【主干】【长尾】【BT】防范boss伤血列表找不到boss实例导致报错;
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
@@ -975,6 +975,10 @@
        defendHurtList = PlayerHurtList(lineID, objID, npcID)
        PyGameData.g_npcHurtDict[key] = defendHurtList
    defendHurtList = PyGameData.g_npcHurtDict[key]
    if not defendHurtList.curNPC:
        hurtList = PyGameData.g_npcHurtDict.pop(key)
        hurtList.OnDelete()
        return
    return defendHurtList
def OnNPCHurtPlayerEnterTeam(playerID, playerName, befTeamID, newTeam, tick):