From 9c927259073842e3a11c2f3d88a191cc33ca0c7c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 28 三月 2024 16:44:14 +0800 Subject: [PATCH] 9946 【砍树】【港台】【越南】【主干】仙盟BOSS修改(修复当副本有盟友在打时,其他盟友进入偶发统计时长异常bug;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyBoss.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyBoss.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyBoss.py index f1a640e..bac4e6f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyBoss.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyBoss.py @@ -212,7 +212,10 @@ playerID = curPlayer.GetPlayerID() batPlayer = GetBattlePlayer(playerID) - + if not batPlayer.statsTick: + GameWorld.Log("仙盟玩家未初始化完毕,不统计!", playerID) + continue + hurtValue = batPlayer.hurtValue addHurtValue = max(0, hurtValue - batPlayer.hurtValueLast) batPlayer.hurtValueLast = hurtValue @@ -236,6 +239,7 @@ FBCommon.Notify_FBHelp(curPlayer, helpDict) if playerID == exitPlayerID: + batPlayer.statsTick = 0 BuffSkill.DelBuffBySkillID(curPlayer, skillTypeID, tick) SyncFamilyBossPlayerInfo(curPlayer) elif fightSeconds >= fightSecondsMax: -- Gitblit v1.8.0