From 6c20b435335e9456a52083d91ff561ee850a5b19 Mon Sep 17 00:00:00 2001 From: Weiduhuo <1281586535@qq.com> Date: Thu, 2 Nov 2023 22:38:06 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=81=97=E5=99=A8=E5=86=85=E5=A4=96?= =?UTF-8?q?=E5=9C=88=E5=8F=82=E6=95=B0=E5=91=BD=E5=90=8D=E9=A2=A0=E5=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/relic.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/relic.py b/utils/relic.py index ea4091be..09fd4c58 100644 --- a/utils/relic.py +++ b/utils/relic.py @@ -967,11 +967,11 @@ def get_loadout_brief(self, relics_hash: List[str]) -> str: outer_set_cnt = Counter(outer_set_list) inner_set_cnt = Counter(inner_set_list) # 生成信息 - inner = _("外:") + '+'.join([str(cnt) + name for name, cnt in outer_set_cnt.items()]) + " " - outer = _("内:") + '+'.join([str(cnt) + name for name, cnt in inner_set_cnt.items()]) + " " - # stats = " ".join([self.equip_set_abbr[idx]+":"+name for idx, name in enumerate(base_stats_list) if idx > 1]) + outer = _("外:") + '+'.join([str(cnt) + name for name, cnt in outer_set_cnt.items()]) + " " + inner = _("内:") + '+'.join([str(cnt) + name for name, cnt in inner_set_cnt.items()]) + " " + # stats = " ".join([EQUIP_SET_ADDR[idx]+":"+name for idx, name in enumerate(base_stats_list) if idx > 1]) stats = ".".join([name for idx, name in enumerate(base_stats_list) if idx > 1]) # 排除头部与手部 - msg = str_just(stats, 17) + " " + str_just(outer, 10) + " " + inner # 将长度最不定的外圈信息放至最后 + msg = str_just(stats, 17) + " " + str_just(inner, 10) + " " + outer # 将长度最不定的外圈信息放至最后 return msg def get_base_stats_detail(self, data: Tuple[str, float], rarity: int, level: int, stats_index: Optional[int]=None) -> Optional[float]: