From 4ec47a0dab32729d20389078ee78f89b64c12cab Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 22 九月 2025 15:58:57 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(张星彩怒技,觉醒技能;增加buff消失后触发时机;增加效果6007 6008 7001 7002;技能友好目标增加类型2:一定包含自己的友方单位)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
index ce0b1a0..f1d7758 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -433,28 +433,6 @@
     #NPC读表取
     return attack.GetHurtType()
 
-def GetAtkDistType(curObj):
-    ## 获取是近战还是远程,默认近战
-    if curObj.GetGameObjType() != IPY_GameWorld.gotNPC:
-        return ChConfig.AtkDistType_Short
-    
-    playerID = curObj.GetDictByKey(ChConfig.Def_Obj_Dict_LineupPlayerID)
-    if not playerID:
-        return ChConfig.AtkDistType_Short
-    
-    heroID = curObj.GetDictByKey(ChConfig.Def_Obj_Dict_HeroID)
-    if heroID:
-        heroIpyData = IpyGameDataPY.GetIpyGameData("Hero", heroID)
-        if heroIpyData:
-            return heroIpyData.GetAtkDistType()
-        
-    npcID = curObj.GetNPCID()
-    npcDataEx = NPCCommon.GetNPCDataPy(npcID)
-    if npcDataEx:
-        return npcDataEx.GetAtkDistType()
-    
-    return ChConfig.AtkDistType_Short
-
 #--------------------------------------------------------------------------
 ## 设置玩家进入战斗状态
 #  @param defender 当前玩家(被攻击了)

--
Gitblit v1.8.0