This commit is contained in:
33333-33333 2026-07-05 18:01:36 +09:00
commit 8f9f5b5100
108 changed files with 2139 additions and 1500 deletions

View file

@ -21,14 +21,6 @@ function lineageSignedPercentText(value = 0) {
return `${n >= 0 ? "+" : ""}${n}%`;
}
function lineageFightRateText(n) {
const entity = n?.id ? world.tarinai.find(t => (t.familyKey || t.id) === n.id) : null;
const wins = Number(entity?.totalFightWins ?? n?.totalFightWins ?? 0) || 0;
const losses = Number(entity?.totalFightLosses ?? n?.totalFightLosses ?? 0) || 0;
const total = wins + losses;
if (!total) return "--";
return `${Math.round((wins / total) * 100)}%/${total}`;
}
function lineageTreeNodeHtml(n, x, y) {
const entity = n?.id ? world.tarinai.find(t => (t.familyKey || t.id) === n.id) : null;