hxp
2018-11-21 d77abb724151826fbfcb23f6e1bc5d232f155535
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -58,6 +58,7 @@
import NetPackCommon
import FamilyRobBoss
import FBCommon
import ChNPC
import datetime
import math
@@ -2457,7 +2458,7 @@
# @param curObjDetel 对象实例
# @return 返回值无意义
# @remarks 理对象死亡逻辑
def DoLogic_ObjDead(curObjDetel):
def DoLogic_ObjDead(atkObj, curObjDetel, curSkill, tick):
    if GameObj.GetHP(curObjDetel) > 0:
        return
    
@@ -2468,6 +2469,10 @@
        return
    
    #---NPC处理---
    if not ChNPC.OnCheckCanDie(atkObj, curObjDetel, curSkill, tick):
        GameObj.SetHP(curObjDetel, 1)
        return
    npcControl = NPCCommon.NPCControl(curObjDetel)
    npcControl.SetKilled()
    return