Spielerliste nach Boardstärke sortiert; Loot droppt Komponenten, Craften per Ziehen auf Unit

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
team3
2026-07-23 09:34:12 +02:00
parent f53f1e5c14
commit c82c9b0b01
8 changed files with 113 additions and 32 deletions

View File

@@ -20,7 +20,11 @@ const standings = computed(() => {
},
...s.value.opponents,
]
return rows.sort((a, b) => b.hp - a.hp || (a.placement ?? 9) - (b.placement ?? 9))
return rows.sort((a, b) => {
if (a.alive !== b.alive) return a.alive ? -1 : 1
if (!a.alive) return (a.placement ?? 9) - (b.placement ?? 9)
return (b.score ?? 0) - (a.score ?? 0)
})
})
</script>