بنقرة واحدة
tune-feature
Working with gear tune features (tune variants, success rate, tune history in optimizer + UI)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Working with gear tune features (tune variants, success rate, tune history in optimizer + UI)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Writing and running Playwright E2E tests for the web app
Modifying or adding damage calculation formulas (damageFormula.ts + damageCalculator.ts)
Adding passive skill / inner way code changes (modifier engine, skill context, types, not data)
Adding new stats to the game (constants.ts + types.ts + gear/OCR/tune files)
Editing game data through admin panel (skills, passives, inner ways, martial arts, rotations)
Running and writing tests for the project (vitest, node env, globals)
| name | tune-feature |
| description | Working with gear tune features (tune variants, success rate, tune history in optimizer + UI) |
Use when working with gear tune-related features.
GearWithTune extends CustomGear with __tuneId, __tuneLabel, __tuneFromapp/domain/gear/tuneAdvisor.ts:
generateTuneVariants(gear, element) — 1 variant per eligible target statcomputeSingleTuneSuccessRate(gear, subIndex, targetStat, element) — 1/eligiblegetTuneSystemStatPool(element) — 6-stats poolisTuneTargetAllowedBySubRules(gear, subIndex, stat) — sub-stat uniquenessgetGearTuneHistory(gear, subIndex) — history + fallbackgetTuneSuccessRateToneClass(rate) — color codingapp/domain/gear/gearOptimize.ts:
considerTune flag__tuneIdapp/ui/gear/GearOptimizeDialog.tsx: Tune/Swap column, Rate column, composite rate, popoverapp/ui/gear/GearForm.tsx: tune history rowsapp/hooks/useGearOptimize.tsapp/workers/gearOptimize.worker.tstests/tuneAwareOptimize.spec.ts — 26 teststests/gearDedup.spec.ts — 7 dedup testspnpm test -- tests/tuneAwareOptimize.spec.ts