hch
2019-06-20 acb8a30b1ced26763bfbb3b910e1a3522622652d
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -5022,9 +5022,10 @@
        addSkillID = 0
        if curNPC.GetDictByKey(ChConfig.Def_NPCDead_KillerID) == curPlayer.GetID():
            addSkillID = curNPC.GetDictByKey(ChConfig.Def_NPCDead_Reason)
        #设定人物获得经验
        playerControl = PlayerControl.PlayerControl(curPlayer)
        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID)
        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID=addSkillID)
        
        
        self.__KillNPCFuncEx(curPlayer, curNPC, curPlayer.GetPlayerID(), False)
@@ -5239,7 +5240,7 @@
        if curNPC.GetDictByKey(ChConfig.Def_NPCDead_KillerID) == curPlayer.GetID():
            addSkillID = curNPC.GetDictByKey(ChConfig.Def_NPCDead_Reason)
        playerControl = PlayerControl.PlayerControl(curPlayer)
        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID)
        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID=addSkillID)
        return
    
    #---------------------------------------------------------------------