commit
d32f6db4a2
|
@ -102,8 +102,8 @@ function generateImportFunction(type, pathParser) {
|
|||
script.remove();
|
||||
if (status === "error") {
|
||||
if (type === "character") {
|
||||
console.error(
|
||||
"如果您在扩展中使用了game.import创建武将包,请将以下代码删除: lib.config.all.characters.push('武将包名');"
|
||||
console.warn(
|
||||
"如果您在扩展中使用了game.import创建武将包,可将以下代码删除: lib.config.all.characters.push('武将包名');"
|
||||
);
|
||||
}
|
||||
return;
|
||||
|
|
|
@ -378,7 +378,7 @@ export async function onload(resetGameTimeout) {
|
|||
lib[j][k].addArray(character[i][j][k]);
|
||||
} else {
|
||||
console.log(
|
||||
`dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
`duplicated ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
lib[j][k],
|
||||
`\ncharacter.${i}.${j}.${k}`,
|
||||
character[i][j][k]
|
||||
|
@ -491,7 +491,7 @@ export async function onload(resetGameTimeout) {
|
|||
}
|
||||
} else {
|
||||
console.log(
|
||||
`dublicate ${j} in card ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
`duplicated ${j} in card ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
lib[j][k],
|
||||
`\ncard.${i}.${j}.${k}`,
|
||||
card[i][j][k]
|
||||
|
@ -577,7 +577,7 @@ export async function onload(resetGameTimeout) {
|
|||
} else {
|
||||
if (lib[j][k] != undefined) {
|
||||
console.log(
|
||||
`dublicate ${j} in play ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
`duplicated ${j} in play ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
lib[j][k],
|
||||
`\nplay.${i}.${j}.${k}`,
|
||||
play[i][j][k]
|
||||
|
|
|
@ -2432,7 +2432,7 @@ export const Content = {
|
|||
lib[j][k].addArray(character[i][j][k]);
|
||||
} else {
|
||||
console.log(
|
||||
`dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
`duplicated ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`,
|
||||
lib[j][k],
|
||||
`\ncharacter.${i}.${j}.${k}`,
|
||||
character[i][j][k]
|
||||
|
@ -2465,7 +2465,7 @@ export const Content = {
|
|||
Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k));
|
||||
else {
|
||||
console.log(
|
||||
`dublicate ${j} in card ${i}:\n${k}\nlib.${j}.${k}`,
|
||||
`duplicated ${j} in card ${i}:\n${k}\nlib.${j}.${k}`,
|
||||
lib[j][k],
|
||||
`\ncard.${i}.${j}.${k}`,
|
||||
card[i][j][k]
|
||||
|
|
|
@ -252,8 +252,7 @@ export const characterPackMenu = function (connectMenu) {
|
|||
page.appendChild(cfgnode2);
|
||||
}
|
||||
} else if (mode.startsWith("mode_extension")) {
|
||||
// 排除4个基本扩展
|
||||
// 再排除那个boss扩展的间隔包
|
||||
// 排除4个基本扩展,再排除剑阁武将包
|
||||
// 给扩展的武将包加一个开启关闭的功能
|
||||
if (
|
||||
!lib.config.all.stockextension.includes(mode.slice(15)) &&
|
||||
|
|
Loading…
Reference in New Issue