From 2f3d162caa0726260f9e1104a4497e49416c3154 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 19 二月 2025 17:27:02 +0800 Subject: [PATCH] 10263 【越南】【英文】【BT】【GM】【砍树】后端支持NPC仿真实玩家战斗和快速战斗(修复镜像战斗安全区无法PK的bug;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | 2 ++ 1 files changed, 2 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 baf9658..30e0d4d 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 @@ -1149,6 +1149,8 @@ #攻击起点取缓存的坐标 if not curPlayer or not curTag: return False + if curPlayer.GetGameObjType() != IPY_GameWorld.gotPlayer: + return True atkStartPosX = curPlayer.GetAttackTargetPosX() atkStartPosY = curPlayer.GetAttackTargetPosY() -- Gitblit v1.8.0