Browse Source

新增自动重铸功能

v1.0
许孟阳 7 days ago
parent
commit
a92d06528a
  1. 5
      src/assets/css/base.scss
  2. 4
      src/config/equips/armor.ts
  3. 4
      src/config/equips/bracers.ts
  4. 4
      src/config/equips/jewelry.ts
  5. 4
      src/config/equips/neck.ts
  6. 4
      src/config/equips/pants.ts
  7. 4
      src/config/equips/ring.ts
  8. 4
      src/config/equips/shoes.ts
  9. 4
      src/config/equips/weapon.ts
  10. 10
      src/config/i18n/zh/index.ts
  11. 15
      src/views/backpack/equip-menu.vue
  12. 214
      src/views/backpack/reforge.vue
  13. 5
      src/views/backpack/strengthen.vue
  14. 1
      src/views/dungeon/dungeonTips.vue
  15. 1
      src/views/version/update-log.vue

5
src/assets/css/base.scss

@ -88,6 +88,11 @@ button { @@ -88,6 +88,11 @@ button {
}
}
select {
background-color: rgba(0, 0, 0, 0.6);
color: white;
}
/*使用选择器指定字体*/
.panel-title {
font-family: 'MaShanZheng' !important;

4
src/config/equips/armor.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'hp', 'def', 'defPercent', 'hpPercent', 'dmgReduc', 'critAvoid', 'critDmgReduc'];
export const armorExtraEntrys = ['atk', 'hp', 'def', 'defPercent', 'hpPercent', 'dmgReduc', 'critAvoid', 'critDmgReduc'];
const coefficient = { shabby: 0.7, ordinary: 1, artifact: 1.5, epic: 1.8, unique: 2, colorful: 2 };
class ArmorCategory extends Categorys {
@ -143,7 +143,7 @@ export const createarmor = (quality, lv, category, extraQuality) => { @@ -143,7 +143,7 @@ export const createarmor = (quality, lv, category, extraQuality) => {
};
export const armorExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, armorExtraEntrys, coefficient, extraQuality);
};
export const armorSamples = createSamples(armorCategorys, armorUniqueCategorys, armorColorfulCategorys, 'armor', coefficient);

4
src/config/equips/bracers.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'atkPercent', 'defPercent', 'hpPercent'];
export const bracersExtraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'atkPercent', 'defPercent', 'hpPercent'];
const coefficient = { shabby: 0.6, ordinary: 0.9, artifact: 1.3, epic: 1.6, unique: 1.8, colorful: 1.8 };
@ -131,7 +131,7 @@ export const createbracers = (quality, lv, category, extraQuality): Equip => { @@ -131,7 +131,7 @@ export const createbracers = (quality, lv, category, extraQuality): Equip => {
};
export const bracersExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, bracersExtraEntrys, coefficient, extraQuality);
};
export const bracersSamples = createSamples(bracersCategorys, bracersUniqueCategorys, bracersColorfulCategorys, 'bracers', coefficient);

4
src/config/equips/jewelry.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'dmgPercent'];
export const jewelryExtraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'dmgPercent'];
const coefficient = { shabby: 0.6, ordinary: 0.9, artifact: 1.3, epic: 1.6, unique: 1.8, colorful: 1.8 };
@ -144,7 +144,7 @@ export const createjewelry = (quality, lv, category, extraQuality): Equip => { @@ -144,7 +144,7 @@ export const createjewelry = (quality, lv, category, extraQuality): Equip => {
};
export const jewelryExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, jewelryExtraEntrys, coefficient, extraQuality);
};
export const jewelrySamples = createSamples(jewelryCategorys, jewelryUniqueCategorys, jewelryColorfulCategorys, 'jewelry', coefficient);

4
src/config/equips/neck.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'bloc'];
export const neckExtraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'bloc'];
const coefficient = { shabby: 0.6, ordinary: 0.9, artifact: 1.3, epic: 1.6, unique: 1.8, colorful: 1.8 };
@ -128,7 +128,7 @@ export const createneck = (quality, lv, category, extraQuality) => { @@ -128,7 +128,7 @@ export const createneck = (quality, lv, category, extraQuality) => {
};
export const neckExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, neckExtraEntrys, coefficient, extraQuality);
};
export const neckSamples = createSamples(neckCategorys, neckUniqueCategorys, neckColorfulCategorys, 'neck', coefficient);

4
src/config/equips/pants.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'hp', 'def', 'defPercent', 'hpPercent', 'dmgReduc', 'critAvoid', 'critDmgReduc'];
export const pantsExtraEntrys = ['atk', 'hp', 'def', 'defPercent', 'hpPercent', 'dmgReduc', 'critAvoid', 'critDmgReduc'];
const coefficient = { shabby: 0.7, ordinary: 1, artifact: 1.5, epic: 1.8, unique: 2, colorful: 2 };
class PantsCategory extends Categorys {
@ -125,7 +125,7 @@ export const createpants = (quality, lv, category, extraQuality) => { @@ -125,7 +125,7 @@ export const createpants = (quality, lv, category, extraQuality) => {
};
export const pantsExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, pantsExtraEntrys, coefficient, extraQuality);
};
export const pantsSamples = createSamples(pantsCategorys, pantsUniqueCategorys, pantsColorfulCategorys, 'pants', coefficient);

4
src/config/equips/ring.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def'];
export const ringExtraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def'];
const coefficient = { shabby: 0.6, ordinary: 0.9, artifact: 1.3, epic: 1.6, unique: 1.8, colorful: 2 };
@ -124,7 +124,7 @@ export const createring = (quality, lv, category, extraQuality) => { @@ -124,7 +124,7 @@ export const createring = (quality, lv, category, extraQuality) => {
};
export const ringExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, ringExtraEntrys, coefficient, extraQuality);
};
export const ringSamples = createSamples(ringCategorys, ringUniqueCategorys, ringColorfulCategorys, 'ring', coefficient);

4
src/config/equips/shoes.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'hp', 'def', 'moveSpeed', 'defPercent', 'hpPercent'];
export const shoesExtraEntrys = ['atk', 'hp', 'def', 'moveSpeed', 'defPercent', 'hpPercent'];
const coefficient = { shabby: 0.7, ordinary: 1, artifact: 1.3, epic: 1.5, unique: 1.8, colorful: 1.8 };
class ShoesCategory extends Categorys {
@ -90,7 +90,7 @@ export const createshoes = (quality, lv, category, extraQuality) => { @@ -90,7 +90,7 @@ export const createshoes = (quality, lv, category, extraQuality) => {
};
export const shoesExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, shoesExtraEntrys, coefficient, extraQuality);
};
export const shoesSamples = createSamples(shoesCategorys, shoesUniqueCategorys, shoesColorfulCategorys, 'shoes', coefficient);

4
src/config/equips/weapon.ts

@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base'; @@ -2,7 +2,7 @@ import { createExtraEntry, createBase, createSamples } from './base';
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
import { qualitys, extra_entry_num } from './constant';
const extraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'atkPercent', 'defPercent', 'hpPercent', 'dmgPercent'];
export const weaponExtraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'atkPercent', 'defPercent', 'hpPercent', 'dmgPercent'];
const coefficient = { shabby: 0.7, ordinary: 1, artifact: 1.5, epic: 1.8, unique: 2, colorful: 2 };
class WeaponCategory extends Categorys {
@ -198,7 +198,7 @@ export const createweapon = (quality, lv, category, extraQuality) => { @@ -198,7 +198,7 @@ export const createweapon = (quality, lv, category, extraQuality) => {
};
export const weaponExtraEntry = (quality, lv, extraQuality) => {
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
return createExtraEntry(quality, lv, weaponExtraEntrys, coefficient, extraQuality);
};
export const weaponSamples = createSamples(weaponCategorys, weaponUniqueCategorys, weaponColorfulCategorys, 'weapon', coefficient);

10
src/config/i18n/zh/index.ts

@ -73,9 +73,12 @@ export default class Zh { @@ -73,9 +73,12 @@ export default class Zh {
'强化等级高于5时强化失败可能会降低强化等级',
'强化概率:6级80%,7级65%,8级45%,9级30%,10级以后20%',
];
reforge = '重铸';
reforgeAction = ['点击花费${0}金币重铸', '恢复原词条', '保留新词条'];
reforgeDesc = ['点击任意词条花费金币重铸装备所有词条', '重铸时词条颜色与百分比值显示了该词条的等级', '重铸后可选择保留原词条或新词条'];
reforge = {
title: '重铸',
desc: ['重铸说明', '点击任意词条花费金币重铸装备所有词条', '重铸时词条颜色与百分比值显示了该词条的等级', '重铸后可选择保留原词条或新词条', '自动重铸的费用是手动重铸的两倍'],
action: ['点击花费${0}金币重铸', '恢复原词条', '保留新词条'],
atuo: ['重铸目标', '自动重铸', '自动重铸中', '中断自动重铸'],
};
lock = '锁定';
unlock = '解锁';
sell = '出售';
@ -172,5 +175,4 @@ export default class Zh { @@ -172,5 +175,4 @@ export default class Zh {
login = ['登录', '用户名', '密码', '登录/注册', '请输入用户名', '请输入密码', '登录成功'];
setting = setting;
}

15
src/views/backpack/equip-menu.vue

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
<PopoverMenu :items="[
{ label: t('use'), onClick: useEquip },
{ label: t('strengthen'), onClick: strengthenEquip },
{ label: t('reforge'), onClick: strengthenEquip },
{ label: t('reforge.title'), onClick: reforgeEquip },
{ label: t('inherited.0'), onClick: inheritedEquip },
{ label: state.grid[index]?.locked ? t('unlock') : t('lock'), onClick: lockEquip },
{ label: t('sell'), onClick: sellEquip },
@ -15,6 +15,11 @@ @@ -15,6 +15,11 @@
<Strengthen ref="strengthen" :equip="state.grid[index]" />
</Dialog>
<Dialog :title="t('reforge.title') + t('equip')" v-model="showReforge" top="5rem" left="2rem" padding="0" :z="11"
:obscured="true" @close="strengthen?.stopAuto()">
<Reforge ref="reforge" :equip="state.grid[index]" />
</Dialog>
<Dialog :title="t('equip') + t('inherited.0')" v-model="showInherited" :top="state.mobile ? '5rem' : '10rem'"
left="2rem" padding="0" :z="11" :obscured="true">
<Inherited :target="equip" :source="curEquip" />
@ -30,11 +35,13 @@ import { Dialog, PopoverMenu } from "@/components" @@ -30,11 +35,13 @@ import { Dialog, PopoverMenu } from "@/components"
import Strengthen from "./strengthen.vue";
import { usePopoverMenu } from "@/tool";
import Inherited from "./inherited.vue";
import Reforge from "./reforge.vue";
const { t } = useI18n();
const { state, commit, dispatch } = useStore();
const showStrengthen = ref(false);
const showReforge = ref(false);
const showInherited = ref(false);
const { show, top, left, index, open, close } = usePopoverMenu();
const emit = defineEmits(['closePack'])
@ -48,6 +55,7 @@ const curEquip = computed(() => { @@ -48,6 +55,7 @@ const curEquip = computed(() => {
return state.playerAttribute[equip.value.type];
})
const strengthen = ref();
const reforge = ref();
defineExpose({ open })
@ -60,6 +68,11 @@ const strengthenEquip = () => { @@ -60,6 +68,11 @@ const strengthenEquip = () => {
showStrengthen.value = true;
close();
}
const reforgeEquip = () => {
emit('closePack');
showReforge.value = true;
close();
}
const lockEquip = () => {
state.grid[index.value].locked = !state.grid[index.value].locked;
close();

214
src/views/backpack/reforge.vue

@ -1,44 +1,64 @@ @@ -1,44 +1,64 @@
<template>
<div @mouseover="reforgeFlag = true" @mouseleave="reforgeFlag = false; reforgeing = false;" @click="reforge">
<div class="extraEntry" v-if="!reforgeFlag || reforgeing">
<div v-if="tempEntry" class="extraEntry-item" v-for="(v, k) in tempEntry" :key="k">
<button class="button">
<div>
{{ t(v.type + '.0') }} : {{ v.showVal }}({{ v.percent }}%)
</div>
</button>
<div class="reforge" v-if="equip">
<Tooltip :infos="[rt('desc.1'), rt('desc.2'), rt('desc.3'), rt('desc.4')]" width="8rem">
<div class="descript">- {{ rt('desc.0') }} -</div>
</Tooltip>
<div @mouseover="reforgeFlag = true" @mouseleave="reforgeFlag = false; reforgeing = false;" @click="reforge">
<div class="extraEntry" v-if="!reforgeFlag || reforgeing">
<div v-if="tempEntry" class="extraEntry-item" v-for="(v, k) in tempEntry" :key="k">
<button class="button">
<div>
{{ t(v.type + '.0') }} : {{ v.showVal }}({{ v.percent }}%)
</div>
</button>
</div>
<div v-if="!tempEntry" class="extraEntry-item" v-for="(v, k) in equip.extraEntry" :key="v.type + k">
<button class="button">
<div>
{{ t(v.type + '.0') }} : {{ v.showVal }}({{ v.percent }}%)
</div>
</button>
</div>
</div>
<div v-if="!tempEntry" class="extraEntry-item" v-for="(v, k) in equip.extraEntry" :key="v.type + k">
<button class="button">
<div>
{{ t(v.type + '.0') }} : {{ v.showVal }}({{ v.percent }}%)
</div>
</button>
<div class="reforge-tip" v-if="reforgeFlag && !reforgeing">
<div :class="useCoins < reforgeNeed ? 'red' : ''">{{ replace(rt('action.0'), [reforgeNeed]) }}
</div>
</div>
</div>
<div class="reforge-tip" v-if="reforgeFlag && !reforgeing">
<div :class="useCoins < reforgeNeed ? 'red' : ''">{{ replace(t('reforgeAction.0'), [reforgeNeed]) }} </div>
<div>-{{ t('reforgeDesc.0') }}</div>
<div>-{{ t('reforgeDesc.1') }}</div>
<div>-{{ t('reforgeDesc.2') }}</div>
<div class="btn-group">
<button class="button" @click="saveOld">{{ rt('action.1') }}</button>
<button class="button" @click="saveNew">{{ rt('action.2') }}</button>
</div>
<div class="btn-group" v-if='!auto'>
<p>{{ rt('atuo.0') }}</p>
<select v-model="autoAttr">
<option v-for="item in entrys" :value="item">{{ t(item + '.0') }}</option>
</select>
x
<select v-model="autoNum">
<option v-for="i in 5" :value="i">{{ i }}</option>
</select>
<button class="button" @click="startAuto">{{ rt('atuo.1') }}</button>
</div>
<div class="btn-group" v-if='auto'>
<p>{{ rt('atuo.2') }}...</p>
<button class="button" @click="stopAuto">{{ rt('atuo.3') }}</button>
</div>
</div>
<div class="btn-group">
<button class="button" @click="saveOld">{{ t('reforgeAction.1') }}</button>
<button class="button" @click="saveNew">{{ t('reforgeAction.2') }}</button>
</div>
</template>
<script lang="ts" setup>
import { useStore } from "vuex";
import { reactive, onMounted, ref, computed, watch } from "vue";
import { Tooltip, EquipIcon } from "@/components"
import { Tooltip } from "@/components"
import { createt } from "@/config/i18n";
import { Entry, extra_entry_num, weaponExtraEntry, armorExtraEntry, neckExtraEntry, ringExtraEntry, jewelryExtraEntry, pantsExtraEntry, shoesExtraEntry, bracersExtraEntry } from "@/config";
import { Entry, extra_entry_num } from "@/config";
import * as config from "@/config";
import { replace } from "@/tool";
import { useI18n } from "vue3-i18n";
const { t } = useI18n();
const rt = createt('reforge.');
const { state, commit, dispatch } = useStore();
const reforgeFlag = ref(false);
const reforgeing = ref(false);
@ -61,6 +81,17 @@ const height = computed(() => { @@ -61,6 +81,17 @@ const height = computed(() => {
const tempEntry = ref<Entry[] | null>();
const tempId = ref();
const auto = ref(false);
const autoAttr = ref('');
const autoNum = ref(3);
const entrys = computed(() => {
if (prop.equip) {
const key = prop.equip.type + 'ExtraEntrys';
return config[key];
}
return null;
});
const prop = defineProps({
equip: {
type: Object,
@ -71,18 +102,9 @@ watch(() => prop.equip, (n) => { @@ -71,18 +102,9 @@ watch(() => prop.equip, (n) => {
tempEntry.value = null;
})
const reforger = {
weapon: weaponExtraEntry,
armor: armorExtraEntry,
neck: neckExtraEntry,
ring: ringExtraEntry,
jewelry: jewelryExtraEntry,
pants: pantsExtraEntry,
shoes: shoesExtraEntry,
bracers: bracersExtraEntry,
}
const reforge = () => {
if (useCoins.value < reforgeNeed.value) {
const need = reforgeNeed.value * (auto.value ? 2 : 1);
if (useCoins.value < need) {
commit("set_sys_info", { msg: t('stNoCoins'), type: "warning", });
return
}
@ -92,13 +114,16 @@ const reforge = () => { @@ -92,13 +114,16 @@ const reforge = () => {
const extraEntryNum = extra_entry_num[quality];
const extraEntry = new Array();
for (let i = 0; i < extraEntryNum; i++) {
const entry = reforger[equip.type](quality, equip.lv, extraQuality);
const key = equip.type + 'ExtraEntry';
const entry = config[key](quality, equip.lv, extraQuality);
extraEntry.push(entry);
}
commit("add_player_coins", -1 * reforgeNeed.value);
commit("add_player_coins", -1 * need);
tempId.value = equip.id;
tempEntry.value = extraEntry;
reforgeing.value = true;
check();
auto.value && setTimeout(reforge, 200);
}
const saveOld = () => {
@ -112,51 +137,106 @@ const saveNew = () => { @@ -112,51 +137,106 @@ const saveNew = () => {
tempEntry.value = null;
}
const check = () => {
debugger
if (!auto.value || !tempEntry.value) return;
let cout = 0;
const entrys = tempEntry.value || prop.equip.extraEntry;
entrys.forEach(entry => {
if (entry.type == autoAttr.value) {
cout++;
}
})
auto.value = cout < autoNum.value;
}
const startAuto = () => {
auto.value = true;
check();
auto.value && reforge();
}
const stopAuto = () => {
auto.value = false;
}
onMounted(() => { });
</script>
<style lang="scss" scoped>
.extraEntry {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
padding-left: 1.2rem;
padding-bottom: 0.6rem;
height: v-bind('height');
cursor: pointer;
div {
.reforge {
color: #f1f1f1;
width: 25rem;
height: auto;
background: rgba(0, 0, 0, 0.2);
border: #393839;
border-radius: 0.4rem;
padding: 1rem;
box-sizing: border-box;
.descript {
font-family: 'MaShanZheng' !important;
display: flex;
align-items: center !important;
justify-content: center;
font-size: 1.6rem;
padding: 1.4rem 0.7rem;
color: #efb96e;
}
.extraEntry {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
padding-left: 1.2rem;
padding-bottom: 0.6rem;
height: v-bind('height');
cursor: pointer;
&>div {
div {
display: flex;
justify-content: center;
&>div {
display: flex;
justify-content: center;
}
}
.button {
border: 0;
width: 80%;
}
}
.button {
border: 0;
width: 80%;
}
.reforge-tip {
width: 100%;
flex-direction: column;
display: flex;
justify-content: center;
height: v-bind('height');
color: #68d5ed;
}
}
.red {
color: red !important;
}
.reforge-tip {
width: 100%;
flex-direction: column;
display: flex;
justify-content: center;
height: v-bind('height');
color: #68d5ed;
.btn-group {
margin-bottom: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
}
}
.red {
color: red !important;
}
@media only screen and (max-width: 768px) {
.reforge {
width: 23rem;
}
.btn-group {
margin-bottom: 0.5rem;
.extraEntry {
font-size: 1rem;
}
}
</style>

5
src/views/backpack/strengthen.vue

@ -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>
@ -49,7 +49,6 @@ @@ -49,7 +49,6 @@
<p>{{ t('stren.5') }}...</p>
<button class="button" @click="stopAuto">{{ t('stren.6') }}</button>
</div>
<Reforge :equip="equip" />
</div>
</template>
@ -133,7 +132,7 @@ onMounted(() => { }); @@ -133,7 +132,7 @@ onMounted(() => { });
background: rgba(0, 0, 0, 0.2);
border: #393839;
border-radius: 0.4rem;
padding: 0 1rem;
padding: 1rem;
box-sizing: border-box;
}

1
src/views/dungeon/dungeonTips.vue

@ -107,7 +107,6 @@ onMounted(() => { }); @@ -107,7 +107,6 @@ onMounted(() => { });
.select {
font-size: 1.1rem;
background-color: rgba(0, 0, 0, 0.6);
}
.tip {

1
src/views/version/update-log.vue

@ -48,6 +48,7 @@ const updateLogs: any = [{ @@ -48,6 +48,7 @@ const updateLogs: any = [{
'背包格子上限增加到320',
'稀有装备爆率调整',
'勾魂夺魄被动数值调整',
'新增自动重铸功能(费用翻倍)',
]
}, {
date: '2025-05-22', version: '1.0',

Loading…
Cancel
Save