From 2e892e272f7aea0a7ffbae81e43731c6b20119e6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 04 八月 2025 10:46:12 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(竞技场支持进攻、防守阵容)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py
index c24f3bd..678d07c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py
@@ -19,14 +19,10 @@
import PlayerControl
import AttackCommon
import ChConfig
-import ChEquip
-import GameWorld
-import EventShell
import FBLogic
import GameObj
import NPCCommon
import ChNPC
-import PlayerTJG
#---------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -40,10 +36,6 @@
# @remarks 函数详细说明.
def GetCanAttack(curNormalNPC, curTagPlayer, skill, tick):
if not AttackCommon.CheckNPCCanAttackTag(curNormalNPC, curTagPlayer, skill):
- return False
-
- if PlayerTJG.GetIsTJG(curTagPlayer):
- # 脱机挂玩家
return False
return True
@@ -113,8 +105,6 @@
#被攻击玩家进入战斗状态
AttackCommon.OnNPCHitPlayer(curNormalNPC, curTagPlayer, tick)
AttackCommon.SetPlayerBattleState(curTagPlayer, tick)
- #触发被动buff
- #AttackCommon.DefenderSpringBuff(curTagPlayer, tick, BaseAttack.GetIsSuperHit())
else:
#通知玩家
if curTagPlayer.GetMapID() != ChConfig.Def_FBMapID_XMZZ:
@@ -126,6 +116,4 @@
playerControl = PlayerControl.PlayerControl(curTagPlayer)
playerControl.SetDead()
FBLogic.DoFBOnNPCKill_Player(curNormalNPC, curTagPlayer, tick)
- #触发玩家死亡事件
- EventShell.EventRespons_PlayerEvent(curTagPlayer, "player_dead")
return True
--
Gitblit v1.8.0