|
|
|
@ -33,7 +33,7 @@
@@ -33,7 +33,7 @@
|
|
|
|
|
<div class="btn-group" v-if='!auto'> |
|
|
|
|
<p>{{ t('stren.0') }}:<span :class="{ 'red': useCoins < needCoins }">{{ needCoins }}</span></p> |
|
|
|
|
<button class="button" @click="strengthen(false)">{{ t('stren.1') }}+{{ parseInt(equip.strengthenLv) + 1 |
|
|
|
|
}}</button> |
|
|
|
|
}}</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-group" v-if='!auto'> |
|
|
|
|
<p>{{ t('stren.0') }}:<span :class="{ 'red': useCoins < needCoins }">{{ needCoins }}</span></p> |
|
|
|
@ -76,7 +76,7 @@ import { reactive, onMounted, ref, computed, watch } from "vue";
@@ -76,7 +76,7 @@ import { reactive, onMounted, ref, computed, watch } from "vue";
|
|
|
|
|
import { useI18n } from "vue3-i18n"; |
|
|
|
|
import { Tooltip, EquipIcon } from "@/components" |
|
|
|
|
import { strengthenValue, strengthenCoins } from "@/tool" |
|
|
|
|
import { extra_entry_num, weaponExtraEntry, armorExtraEntry, neckExtraEntry, ringExtraEntry, strengthen_rates, jewelryExtraEntry, pantsExtraEntry, shoesExtraEntry } from "@/config"; |
|
|
|
|
import { extra_entry_num, weaponExtraEntry, armorExtraEntry, neckExtraEntry, ringExtraEntry, strengthen_rates, jewelryExtraEntry, pantsExtraEntry, shoesExtraEntry, bracersExtraEntry } from "@/config"; |
|
|
|
|
|
|
|
|
|
const { t } = useI18n(); |
|
|
|
|
const { state, commit, dispatch } = useStore(); |
|
|
|
@ -158,6 +158,7 @@ const reforger = {
@@ -158,6 +158,7 @@ const reforger = {
|
|
|
|
|
jewelry: jewelryExtraEntry, |
|
|
|
|
pants: pantsExtraEntry, |
|
|
|
|
shoes: shoesExtraEntry, |
|
|
|
|
bracers: bracersExtraEntry, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const reforge = () => { |
|
|
|
|