From 167357e8425d0dc12f41ed5fdfd4d95f2c2a5aaf Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 29 五月 2025 19:19:20 +0800 Subject: [PATCH] 16 卡牌服务端(删除旧版xml任务、镖车等不需要内容) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py | 18 ------------------ 1 files changed, 0 insertions(+), 18 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 e71314d..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 @@ -153,9 +152,6 @@ else: result = "NormalNPC" - elif npcObjType == IPY_GameWorld.gnotTruck: #骠车 - result = "Truck" - elif npcObjType == IPY_GameWorld.gnotPet: #宠物 result = "Pet" @@ -1537,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 @@ -1994,10 +1988,6 @@ if GameObj.GetHP(curNPC) <= 0: return - #排除镖车 - if curNPC.GetGameNPCObjType() == IPY_GameWorld.gnotTruck: - return - #排除鹿 if curNPC.GetType() == IPY_GameWorld.ntDeer: return @@ -2058,10 +2048,6 @@ #攻击对象 curTag = GameWorld.GetObj(objID, curObjType) if not curTag: - continue - - #链式攻击不能对镖车释放 - if curObjType == IPY_GameWorld.gotNPC and curTag.GetGameNPCObjType() == IPY_GameWorld.gnotTruck: continue #具体判定对象是否可攻击 @@ -2242,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