|
|
|
@ -116,6 +116,7 @@ const reforge = (times?) => {
@@ -116,6 +116,7 @@ const reforge = (times?) => {
|
|
|
|
|
times = times || 1; |
|
|
|
|
const need = Math.ceil(reforgeNeed.value * (auto.value ? 1.5 : 1)); |
|
|
|
|
if (useCoins.value < need * times) { |
|
|
|
|
auto.value = false; |
|
|
|
|
commit("set_sys_info", { msg: t('stNoCoins'), type: "warning", }); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
@ -123,7 +124,6 @@ const reforge = (times?) => {
@@ -123,7 +124,6 @@ const reforge = (times?) => {
|
|
|
|
|
let entrys = tempEntry.value || prop.equip.extraEntry; |
|
|
|
|
for (; i < times; i++) { |
|
|
|
|
if (!check(entrys)) { |
|
|
|
|
|
|
|
|
|
auto.value = false; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|