From 03cb29090f8b5def2251580a85d2dca711a98ae1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 18 二月 2025 18:14:06 +0800
Subject: [PATCH] 10398 2月17-21版本更新(修复部分技能可能没有验证攻击距离的bug;)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
index 9516d57..9469cd5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -432,6 +432,11 @@
     elif curSkillUseTag == ChConfig.Def_UseSkillTag_CanAttackPlayer:
         if curTag.GetGameObjType() != IPY_GameWorld.gotPlayer:
             return False
+        
+    #判断距离
+    if not AttackCommon.CheckPlayerAttackDist(attacker, curTag, curSkill):
+        return False
+    
     return True
 
 #---------------------------------------------------------------------

--
Gitblit v1.8.0