From c562008bec642a25245295eeec567081bc4e4c42 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 18 四月 2019 14:29:23 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(草园)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py
index 4716142..87b5128 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py
+++ b/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)
     

--
Gitblit v1.8.0