From 2ab10b7ba31f961cb09099755007500541f7c9a4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 04 七月 2025 12:18:32 +0800
Subject: [PATCH] 16 卡牌服务端(修复排行榜数据重复bug;暂去除排行榜功能开启上榜限制;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Player.py | 10 ----------
1 files changed, 0 insertions(+), 10 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..7b987b7 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
@@ -126,6 +118,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