From 71d77df560af421d106484e9276e89297b88e40a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 04 六月 2025 19:09:47 +0800
Subject: [PATCH] 0312 调整结构简化为 只有 Client和Server概念 导出

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
index 848d310..00ff334 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -29,7 +29,6 @@
 import BuffSkill
 import FBLogic
 import SkillShell
-import EventShell
 import PetControl
 import random
 import OperControlManager
@@ -40,7 +39,6 @@
 import ChNetSendPack
 import NetPackCommon
 import PassiveBuffEffMng
-import PlayerGeTui
 import IpyGameDataPY
 #---------------------------------------------------------------------
 g_skillHurtList = IPY_GameWorld.IPY_HurtList()
@@ -154,9 +152,6 @@
             else:
                 result = "NormalNPC"
                 
-        elif npcObjType == IPY_GameWorld.gnotTruck:   #骠车
-            result = "Truck"
-            
         elif npcObjType == IPY_GameWorld.gnotPet:     #宠物
             result = "Pet"
     
@@ -363,7 +358,6 @@
     if GameObj.GetHP(defender) <= 0:
         defender.SetDict(ChConfig.Def_NPCDead_KillerType, attacker.GetGameObjType())
         defender.SetDict(ChConfig.Def_NPCDead_KillerID, attacker.GetID())
-        #PlayerGeTui.TJGDead(defender, attacker.GetName())
         if defender.GetGameObjType() == IPY_GameWorld.gotNPC:
             skillID = 0 if not useSkill else useSkill.GetSkillID()
             # 记录死亡原因
@@ -1539,8 +1533,6 @@
             if not IsSkipSkillCD(curPlayer, target, curSkill, tick):
                 #设置玩家所学技能冷却CD
                 SkillCommon.SetSkillRemainTime(curPlayerSkill, PlayerControl.GetReduceSkillCDPer(curPlayer), tick, curPlayer)
-            #调用任务触发器
-            #EventShell.EventRespons_UseSkillOK(curPlayer, skillTypeID)
             #执行连环被动技能处理
             #__DealWithPassivitySkill( curPlayer, target, curPlayerSkill, tick )
             #执行被动buff
@@ -1996,10 +1988,6 @@
     if GameObj.GetHP(curNPC) <= 0:
         return
     
-    #排除镖车
-    if curNPC.GetGameNPCObjType() == IPY_GameWorld.gnotTruck:
-        return
-    
     #排除鹿
     if curNPC.GetType() == IPY_GameWorld.ntDeer:
         return
@@ -2060,10 +2048,6 @@
         #攻击对象
         curTag = GameWorld.GetObj(objID, curObjType)
         if not curTag:
-            continue
-    
-        #链式攻击不能对镖车释放
-        if curObjType == IPY_GameWorld.gotNPC and curTag.GetGameNPCObjType() == IPY_GameWorld.gnotTruck:
             continue
        
         #具体判定对象是否可攻击
@@ -2244,10 +2228,6 @@
             #攻击对象
             curTag = GameWorld.GetObj(curObj.GetID(), curObjType)
             if not curTag:
-                continue
- 
-            #链式攻击不能对镖车释放
-            if curObjType == IPY_GameWorld.gotNPC and curTag.GetGameNPCObjType() == IPY_GameWorld.gnotTruck:
                 continue
             
             if __IsAlreadyAttack(curTag, resultList):

--
Gitblit v1.8.0