From 176de4ac93ece94c4ffb234d7a361a133ccf9e41 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 12 一月 2026 09:54:03 +0800
Subject: [PATCH] 389 流向记录(增加主线装备掉落流向支持:根据当前祝福等级取倒数x个品质记录;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
index 3ee482d..9b03311 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
@@ -1216,10 +1216,15 @@
continue
memOffTime = member.GetOffTime()
- memPassTime = curTime - memOffTime
- memPassHours = memPassTime / 3600.0
- sortTime = memOffTime if memOffTime else curTime # 排序用的时间,越大越优先
-
+ if memOffTime:
+ sortTime = memOffTime
+ memPassTime = curTime - memOffTime
+ memPassHours = memPassTime / 3600.0
+ else:
+ sortTime = curTime # 排序用的时间,越大越优先
+ memPassTime = 0
+ memPassHours = 0
+
fmLV = member.GetFmLV() # 职位
contribTotal = member.GetContribTotal() # 总贡献
--
Gitblit v1.8.0