From 97fef842ed56dfd7c7dd73f9c7acf20df55b9a23 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 05 九月 2025 11:35:20 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(优化主线掉落装备:改为按Boss类型掉落,祝福树区分不同的Boss类型掉落概率;分解装备按消耗的战锤进行均分计算分解所得;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/BuffSkill.py | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/BuffSkill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/BuffSkill.py index 639f63e..875dd0d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/BuffSkill.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/BuffSkill.py @@ -21,7 +21,6 @@ import SkillShell import PassiveBuffEffMng import ChNetSendPack -import PlayerTJG import OperControlManager import GameObj import CrossPlayerData @@ -654,7 +653,6 @@ beforeHP = GameObj.GetHP(curObj) index = 0 - isPlayerTJG = (curObj.GetGameObjType() == IPY_GameWorld.gotPlayer and PlayerTJG.GetIsTJG(curObj)) skillIDListInDelBuff = [] # buff消失中需要处理添加buff,外层处理避免错乱 @@ -669,12 +667,6 @@ #填表,持续时间为0的Buff为永久Buff if not curSkill.GetLastTime() and not curBuffRemainTime: index += 1 - continue - - if isPlayerTJG and curSkill.GetSkillTypeID() in ChConfig.TJGStateNotRefreshTimeBuff: - curBuff.SetCalcStartTick( tick ) - index += 1 - #GameWorld.DebugLog("脱机挂状态下不刷新buff时间: skillTypeID=%s" % curSkill.GetSkillTypeID()) continue remainTime = curBuffRemainTime - ( tick - curBuff.GetCalcStartTick() ) @@ -863,7 +855,7 @@ #异常错误 if not buffSkill: - #GameWorld.Log("查找Buff异常 = %s "%(ChConfig.Def_SkillID_JoinExam) , curPlayer.GetPlayerID()) + #GameWorld.Log("查找Buff异常", curPlayer.GetPlayerID()) return False buffType = SkillCommon.GetBuffType(buffSkill) @@ -905,7 +897,7 @@ #异常错误 if not buffSkill: - #GameWorld.Log("查找Buff异常 = %s "%(ChConfig.Def_SkillID_JoinExam) , curPlayer.GetPlayerID()) + #GameWorld.Log("查找Buff异常", curPlayer.GetPlayerID()) return False buffType = SkillCommon.GetBuffType(buffSkill) -- Gitblit v1.8.0