From ffa8a645ed6a92a3c723bbf5c7f1eb4d5425c826 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 17 十一月 2021 15:15:34 +0800 Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统(优化情缘系统) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTalk.py | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTalk.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTalk.py index 2c30c71..f90c0bb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTalk.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTalk.py @@ -381,12 +381,10 @@ # 等级 extraValueStr += GetTalkExtraValueStar(ShareDefine.Def_TalkExtraValue_Bit_LV) % objTalk.GetLV() # 伴侣信息 - coupleName, bridePriceMaxID = "", 0 - coupleInfo = PyGameData.g_coupleInfo.get(playerID) - if coupleInfo and len(coupleInfo) >= 2 and coupleInfo[0] == PlayerControl.GetCoupleID(objTalk): - coupleName = coupleInfo[1] - bridePriceMaxID = PlayerLove.GetBridePriceMaxID(objTalk) - extraValueStr = "%s|%s|%s" % (extraValueStr, coupleName, bridePriceMaxID) + coupleName = PlayerControl.GetCoupleName(objTalk) + coupleJob = PlayerControl.GetCoupleJob(objTalk) + bridePriceMaxID = PlayerControl.GetBridePriceMaxID(objTalk) + extraValueStr = "%s|%s|%s|%s" % (extraValueStr, coupleName, coupleJob, bridePriceMaxID) return extraValueStr -- Gitblit v1.8.0