fix: PageFront 능력치 상승 기준이 엉뚱하게 잡혀있던 버그 수정

This commit is contained in:
2023-03-12 17:17:53 +09:00
parent d17b2518df
commit ae76ce0abd
+5 -3
View File
@@ -32,7 +32,7 @@
<span v-if="general.lbonus > 0" style="color: cyan">+{{ general.lbonus }}</span>
</div>
<div class="col align-self-center">
<SammoBar :height="10" :percent="(general.leadership_exp / 20) * 100" />
<SammoBar :height="10" :percent="(general.leadership_exp / statUpThreshold) * 100" />
</div>
</div>
</div>
@@ -43,7 +43,7 @@
{{ calcInjury("strength", general) }}
</div>
<div class="col align-self-center">
<SammoBar :height="10" :percent="(general.strength_exp / 20) * 100" />
<SammoBar :height="10" :percent="(general.strength_exp / statUpThreshold) * 100" />
</div>
</div>
</div>
@@ -54,7 +54,7 @@
{{ calcInjury("intel", general) }}
</div>
<div class="col align-self-center">
<SammoBar :height="10" :percent="(general.intel_exp / 20) * 100" />
<SammoBar :height="10" :percent="(general.intel_exp / statUpThreshold) * 100" />
</div>
</div>
</div>
@@ -202,6 +202,8 @@ const generalTypeCall = ref<string>("-");
const ageColor = ref<string>("limegreen");
const statUpThreshold = gameConstStore.value.gameConst.upgradeLimit;
watch(
general,
(general) => {