fix: correct weapon awaken level

This commit is contained in:
2026-03-20 12:49:28 +07:00 Unverified
parent 16698c30f1
commit 9d2ea8ba91
+1 -3
View File
@@ -134,7 +134,7 @@ export function card(app: App) {
const resources = await Promise.all([ const resources = await Promise.all([
assets assets
.load( .load(
weapon.data.promoteLevel > 2 weapon.data.promoteLevel >= 2
? weapon.store.AwakenIcon ? weapon.store.AwakenIcon
: weapon.store.Icon, : weapon.store.Icon,
) )
@@ -187,8 +187,6 @@ export function card(app: App) {
const statRows = buildDisplayRows(char, locs); const statRows = buildDisplayRows(char, locs);
console.log(statRows);
const res = new ImageResponse( const res = new ImageResponse(
<div tw="relative text-[32.25px] text-white rounded-xl overflow-hidden"> <div tw="relative text-[32.25px] text-white rounded-xl overflow-hidden">
<div tw="aspect-[1218/508] h-full"> <div tw="aspect-[1218/508] h-full">