feat: improve analysis and release v1.0.2

This commit is contained in:
2026-08-19 13:47:49 +09:00
parent 488d652e61
commit e259f82b69
30 changed files with 1222 additions and 205 deletions
+6
View File
@@ -5,6 +5,7 @@ import { toOptimizerCard, type OptimizerSourceCard } from './card-adapter.ts';
const source: OptimizerSourceCard = {
id: 'card',
name: '카드',
power: { statsAtMaxLevel: { performance: 101, technique: 202, sense: 303 } },
details: {
active: [
{ level: 1, coolTimeSeconds: 10, durationSeconds: 1, effect: '스코어가 10% UP' },
@@ -29,6 +30,11 @@ test('액티브는 1개화, 스페셜은 3개화부터 2레벨을 적용한다',
assert.equal(specialAwakened.special.scoreUpPercent, 40);
});
test('2개화부터 보드 제외 기본 파라미터 합계에 10%를 적용한다', () => {
assert.equal(toOptimizerCard(source, 0).naturalParameterTotal, 606);
assert.equal(toOptimizerCard(source, 2).naturalParameterTotal, 669);
});
test('4개화 패시브의 타입별 스코어 서포트 대상과 수치를 변환한다', () => {
const passiveSource: OptimizerSourceCard = {
...source,