commit
a2b39a09d2
|
@ -3989,7 +3989,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
isCard:true,
|
isCard:true,
|
||||||
};
|
};
|
||||||
if(target.hasUseTarget(card,true)){
|
if(target.hasUseTarget(card,true)){
|
||||||
target.chooseUseTarget(card,true);
|
target.chooseUseTarget(card,true,false);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
|
|
|
@ -8428,8 +8428,10 @@ export class Game extends Uninstantable {
|
||||||
return skills.addArray(skills.reduce((previousValue, currentValue) => {
|
return skills.addArray(skills.reduce((previousValue, currentValue) => {
|
||||||
const info = get.info(currentValue);
|
const info = get.info(currentValue);
|
||||||
if (info) {
|
if (info) {
|
||||||
if (Array.isArray(info.group)) previousValue.push(...info.group);
|
if (info.group) {
|
||||||
else if (info.group) previousValue.push(info.group);
|
const adds = (Array.isArray(info.group) ? info.group : [info.group]).filter(i => lib.skill[i]);
|
||||||
|
previousValue.push(...adds);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else console.log(currentValue);
|
else console.log(currentValue);
|
||||||
return previousValue;
|
return previousValue;
|
||||||
|
|
|
@ -16,7 +16,7 @@ import {
|
||||||
createMenu,
|
createMenu,
|
||||||
createConfig
|
createConfig
|
||||||
} from "../index.js";
|
} from "../index.js";
|
||||||
import { ui, game, get, lib, _status } from "../../../../../noname.js";
|
import { ui, game, get ,ai ,lib, _status } from "../../../../../noname.js";
|
||||||
|
|
||||||
export const otherMenu = function (connectMenu) {
|
export const otherMenu = function (connectMenu) {
|
||||||
if (connectMenu) return;
|
if (connectMenu) return;
|
||||||
|
|
Loading…
Reference in New Issue