diff --git a/app/game-frontend/src/views/InheritView.vue b/app/game-frontend/src/views/InheritView.vue index e5963ba8..910e388f 100644 --- a/app/game-frontend/src/views/InheritView.vue +++ b/app/game-frontend/src/views/InheritView.vue @@ -203,9 +203,15 @@ const specialNameMap = computed(() => { } return map; }); +const splitLegacyLineBreaks = (value: string): string[] => value.split(/|\r?\n/giu); const selectedSpecialWarInfo = computed( () => status.value?.availableSpecialWar.find((entry) => entry.key === nextSpecialKey.value)?.info ?? '' ); +const selectedSpecialWarInfoLines = computed(() => splitLegacyLineBreaks(selectedSpecialWarInfo.value)); +const selectedUniqueInfo = computed( + () => status.value?.availableUnique.find((item) => item.key === uniqueForm.itemId)?.info ?? '' +); +const selectedUniqueInfoLines = computed(() => splitLegacyLineBreaks(selectedUniqueInfo.value)); const availableUniqueGroups = computed(() => uniqueItemSlotOrder .map((slot) => ({ @@ -513,9 +519,10 @@ onMounted(() => { {{ - selectedSpecialWarInfo - }}
{{ specialNameMap.get(nextSpecialKey) }} 특기를 다음에 얻도록 지정합니다.
필요 포인트: {{ status.inheritConst.inheritSpecificSpecialPoint }} { /> 얻고자 하는 유니크 아이템으로 경매를 시작합니다. 24턴 동안 진행됩니다.
{{ - status.availableUnique.find((item) => item.key === uniqueForm.itemId)?.info - }}
+ >얻고자 하는 유니크 아이템으로 경매를 시작합니다. 24턴 동안 진행됩니다.