feat: add collapsible member board effect summaries
Publish GitHub Pages output / publish (push) Successful in 46s

This commit is contained in:
2026-09-02 10:30:51 +09:00
parent a920d65a21
commit 7308428945
6 changed files with 326 additions and 3 deletions
+13
View File
@@ -60,6 +60,19 @@ test('보유 메모리 효과는 개화 적용 후 각 멤버의 능력치마다
assert.equal(result.overallPower, 1740);
});
test('보드 고정 증가분에는 보드 퍼센트 증가율을 다시 곱하지 않는다', () => {
const result = calculateUnitPower(
['a', 'b', 'c', 'd', 'e'].map((id) => ({ card: card(id, ''), awakening: 0 })),
null,
{
flatByCardId: { a: { performance: 355, technique: 0, sense: 0 } },
rateByCardId: { a: { performance: 5, technique: 0, sense: 0 } }
}
);
assert.equal(result.boardTotal, 5 + 355);
assert.equal(result.overallPower, 1500 + 5 + 355);
});
test('멤버 강화는 메모리를 제외한 파라미터·패시브·의상·보드 합계에 적용한다', () => {
const result = calculateUnitPower(
['a', 'b', 'c', 'd', 'e'].map((id) => ({ card: card(id, ''), awakening: 0 })),