This commit is contained in:
Putoo
2026-07-06 14:44:15 +08:00
parent a1dbce8a96
commit 63d56b245e
21 changed files with 483 additions and 36 deletions

View File

@@ -68,7 +68,7 @@ const BindData = async (): Promise<void> => {
const awardTipsStr = (data: any) => {
let result = '';
if (data.type == 'Default') {
result += "<strong style='font-size: 14px;'>怪物掉落几率:" + (100 - data.award.empty) + "%</strong><br>"
result += "<strong style='font-size: 14px;'>怪物掉落几率:" + data.award.empty + "%</strong><br>"
let awData: Array<any> = data.award.data;
awData.forEach(it => {
result += "▸" + it.name + "(" + (data.award.code == 'Chance' ? "概率:" : "权重:") + it.chance + (data.award.code == 'Chance' ? "%" : "") + ")<br>";