hxp
2019-04-18 c562008bec642a25245295eeec567081bc4e4c42
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py
@@ -1222,20 +1222,6 @@
            
    return
## 获取哥布林功能NPC类型掉血值
def GetGoblinLostHP(defender, hurtValue):
    if not defender:
        return hurtValue
    defObjType = defender.GetGameObjType()
    if defObjType == IPY_GameWorld.gotNPC:
        npcFuncType = defender.GetFunctionType()
        if npcFuncType == ChConfig.Def_NPCFuncType_Goblin:
            goblinHurtValue = int(ReadChConfig.GetEvalChConfig('GoblinHurtValue'))
            hurtValue = min(hurtValue, goblinHurtValue)
    return hurtValue
## 技能伤血
#  @param curObj 当前对象
#  @param skillTypeID 技能类型ID
@@ -1257,7 +1243,6 @@
        ## 后续有其他情况也应考虑进来,如镖车是否某状态不掉血
        return
    
    #lostValue = GetGoblinLostHP(curObj, lostValue)
    curObjType = curObj.GetGameObjType()
    curSkill = GameWorld.GetGameData().FindSkillByType(skillTypeID, 1)