auto-update summon max level based on uncap
same behavior as weapons: 100/150/200/250 for base/flb/ulb/trans
This commit is contained in:
parent
d6160d0bae
commit
850c5dd771
1 changed files with 16 additions and 0 deletions
|
|
@ -32,6 +32,22 @@
|
||||||
const transcendence = $derived(
|
const transcendence = $derived(
|
||||||
editMode ? Boolean(editData.transcendence) : Boolean(summon?.uncap?.transcendence)
|
editMode ? Boolean(editData.transcendence) : Boolean(summon?.uncap?.transcendence)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Auto-update Max Level based on uncap status
|
||||||
|
// No FLB: 100, FLB: 150, ULB: 200, Transcendence: 250
|
||||||
|
$effect(() => {
|
||||||
|
if (editMode && editData) {
|
||||||
|
if (transcendence) {
|
||||||
|
editData.maxLevel = 250
|
||||||
|
} else if (ulb) {
|
||||||
|
editData.maxLevel = 200
|
||||||
|
} else if (flb) {
|
||||||
|
editData.maxLevel = 150
|
||||||
|
} else {
|
||||||
|
editData.maxLevel = 100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<DetailsContainer title="HP Stats">
|
<DetailsContainer title="HP Stats">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue