From bcab5f109dea1562c848d47fbabced5673273f93 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 11 二月 2025 16:42:32 +0800 Subject: [PATCH] 10263 【越南】【英文】【BT】【砍树】后端支持NPC仿真实玩家战斗和快速战斗(修复镜像战斗安全区无法PK的bug;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 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 af0f829..39bf397 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 @@ -1036,6 +1036,12 @@ # @param None # @return None def CheckCanAtkByArea(curObj, tagObj): + curBattleID = curObj.GetDictByKey(ChConfig.Def_PlayerKey_MirrorBattleID) + tagBattleID = tagObj.GetDictByKey(ChConfig.Def_PlayerKey_MirrorBattleID) + if curBattleID and curBattleID == tagBattleID: + #镜像战斗无视区域 + return True + areaType = GameMap.GetAreaTypeByMapPos(curObj.GetPosX(), curObj.GetPosY()) tagAreaType = GameMap.GetAreaTypeByMapPos(tagObj.GetPosX(), tagObj.GetPosY()) -- Gitblit v1.8.0