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/Skill/SkillShell.py | 29 ----------------------------- 1 files changed, 0 insertions(+), 29 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py index 2208fd5..47ec39f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py @@ -46,7 +46,6 @@ import FBCommon import IpyGameDataPY import PyGameData -import EventShell #--------------------------------------------------------------------- GameWorld.ImportAll("Script\\Skill\\" , "GameSkills") GameWorld.ImportAll("Script\\Skill\\" , "GameBuffs") @@ -1898,7 +1897,6 @@ #获得技能等级 curSkillLV = curSkill.GetSkillLV() DataRecordPack.DR_LearnORUPSkill(curPlayer, curSkillID, curSkillLV) - EventShell.EventRespons_SkillUp(curPlayer, curSkill.GetFuncType(), curSkillLV) GameWorld.Log("升级技能名 = %s 成功, 当前等级 = %s"%(curSkill.GetSkillName(), curSkill.GetSkillLV()), curPlayer.GetPlayerID()) return True @@ -2132,7 +2130,6 @@ skillElementType = GetSkillElementType(nextSkill) #可升级则激活升一级 - EventShell.EventRespons_ElementSkill(curPlayer, mainSkillID, skillElementType, updSelectSkillLV) PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_SkillElementLV % selectSkillID, updSelectSkillLV) if curElementSkillID == selectSkillID: #正在使用的专精技能,则立即生效 @@ -2462,32 +2459,6 @@ continue callBuffProcessFunc(curObj, curBuff, curEffect, processBuffTick, tick) - - #执行ProcessBuff中设定的玩家字典 - __DoProcessBuff_PlayerKey(curObj, tick) - -#--------------------------------------------------------------------- -##执行ProcessBuff中设定的玩家字典 -# @param curObj 对象 -# @param tick 时间戳 -# @return 返回值无意义 -# @remarks 执行ProcessBuff中设定的玩家字典 -def __DoProcessBuff_PlayerKey(curObj, tick): -#=============================================================================== -# if curObj.GetDictByKey(ChConfig.Def_Player_ProBuff_TruckSpeedUp): -# skillID = curObj.GetDictByKey(ChConfig.Def_Player_ProBuff_TruckSpeedUp) -# #本来buff类型是11, 但是骠车没有物品buff, 所以改为8 -# buffType = IPY_GameWorld.bfAura -# #给自己的镖车加buff -# curSkill = GameWorld.GetGameData().GetSkillBySkillID(skillID) -# if not curSkill: -# GameWorld.Log('###镖车Buff技能ID异常 = %s'%(skillID)) -# return -# -# BuffSkill.DoAddBuff(curObj.GetTruck() , buffType, curSkill, tick, 0, curObj) -# curObj.SetDict(ChConfig.Def_Player_ProBuff_TruckSpeedUp , 0) -#=============================================================================== - return #--------------------------------------------------------------------- ##持续性buff的伤害效果 -- Gitblit v1.8.0