From 1e7d00e39484a4522fadc88b3386010def98c0b6 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 22 五月 2019 14:45:57 +0800
Subject: [PATCH] 6895  还原技能攻击个数限制

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
index d5d041e..44493b4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -126,11 +126,9 @@
     
     #技能攻击最大数量
     hurtCount = SkillCommon.GetSkillArea_Atk_Count(curPlayer, curSkill)
-    #===========================================================================
-    # if len(hurtList) > hurtCount:
-    #    # 客户端目标过多
-    #    return False
-    #===========================================================================
+    if len(hurtList) > hurtCount:
+        # 客户端目标过多
+        return False
     
 #    mapType = GameWorld.GetMap().GetMapFBType()
     # 野外小怪或者其他指定的怪为了更及时的打击感,由客户端计算

--
Gitblit v1.8.0