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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user