diff --git a/apps/starrail_gacha.ts b/apps/starrail_gacha.ts index bfb349c..29d59a1 100644 --- a/apps/starrail_gacha.ts +++ b/apps/starrail_gacha.ts @@ -120,7 +120,8 @@ export class SRGachaPlugin extends Plugin { gacha, star5: s5.length, up: s5.filter(x => x.item.up).length, - total: n + total: // sum up all s5.count5 + s5.reduce((acc, x) => acc + x.count5, 0) }; }