fix(stargalaxy): correct LV frame mapping in ScatteredRanks (rank 4→LV4, not LV1)
This commit is contained in:
parent
f66be49384
commit
1542147291
@ -90,8 +90,9 @@ function formatLabel(rank) {
|
||||
}
|
||||
|
||||
function ringFrameSrc(rank) {
|
||||
const lvNumber = rank - 3 // rank 4 → LV1, ..., rank 12 → LV9
|
||||
return `/static/square/galaxy/LV${lvNumber}.png`
|
||||
// rank 4 → LV4 (TOP 4), rank 5 → LV5 (TOP 5), ..., rank 12 → LV12 (TOP 12)
|
||||
// ScatteredRanks rank == display rank (no offset, unlike PodiumCard which uses rank - 3)
|
||||
return `/static/square/galaxy/LV${rank}.png`
|
||||
}
|
||||
|
||||
function handleClick(item) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user