更新计算单位

This commit is contained in:
zhbaor 2023-09-03 08:24:46 +08:00
parent e6d33ea173
commit d60bef4ecb

View file

@ -182,7 +182,7 @@ class RIICReportAnalysis:
balanced_exp = exp_avg + more_exp
lmb_exp_ratio = (lmb_avg + external_lmb) / (balanced_exp + external_exp)
total = (lmb_avg * 0.2 + gold_avg * 0.8 + exp_avg + 4000) / 10000
gongsun = (lmb_avg * 1.6 + exp_avg) / 10000
gongsun = (lmb_avg * 0.8 + gold_avg * 0.8 + exp_avg + 4000) / 10000
kaltsit = math.ceil((lmb_avg + gold_avg + exp_avg) / 10000)
stupid = (lmb_avg + exp_avg) / 10000
@ -194,10 +194,10 @@ class RIICReportAnalysis:
output += f"钱书比例:{lmb_exp_ratio:.2f}\n\n"
output += "======产能======\n"
output += f"{total:.1f}E\n"
output += f"{gongsun:.1f}\n"
output += f"{kaltsit:.0f}\n"
output += f"{stupid:.1f}\n"
output += f"{total:.2f}E(0.2订单+0.8赤金+经验+4000)\n"
output += f"{gongsun:.2f}公(0.8订单+0.8赤金+经验+4000)\n"
output += f"{kaltsit:.0f}(订单+赤金+经验向上取整到万)\n"
output += f"{stupid:.1f}(订单+经验)\n"
await chain.onebot_reply(Text(output.strip()))
except Exception as e: