reformat with prettier

This commit is contained in:
Spmario233 2024-04-23 14:50:54 +08:00
parent 4b029b7686
commit b21516fe67
6 changed files with 11468 additions and 10294 deletions

View File

@ -1,105 +1,107 @@
import { lib, game, ui, get, ai, _status } from "../../noname.js";
const cards = {
kano_paibingbuzhen: {
fullskin: true,
type: "trick",
enable: true,
filterTarget: true,
selectTarget: [1, 3],
derivation: "key_kano",
content() {
"step 0";
target.draw();
"step 1";
var hs = target.getCards("he");
if (!hs.length) event.finish();
else if (hs.length == 1) event._result = { bool: true, cards: hs };
else target.chooseCard("he", true, "选择一张牌置入仁库");
"step 2";
if (result.bool) {
var card = result.cards[0];
target.$throw(card, 1000);
target.lose(card, "toRenku");
}
},
contentAfter() {
if (
player.isIn() &&
_status.renku.length &&
(function () {
var cards = _status.renku;
if (cards.length == 1) return true;
var color = get.color(cards[0], false),
type = get.type(cards[0], false);
for (var i = 1; i < cards.length; i++) {
if (color && get.color(cards[i], false) != color) color = false;
if (type && get.type(cards[i], false) != type) type = false;
if (!color && !type) return false;
}
return true;
})()
)
player.draw();
},
ai: {
order: 1,
result: {
player(player, target) {
if (player.hasSkill("kano_poyu")) return 2;
return 0;
},
target: 0.1,
},
},
},
kamome_suitcase: {
fullskin: true,
type: "equip",
subtype: "equip5",
derivation: "key_kamome",
skills: ["kamome_suitcase"],
ai: {
equipValue(card) {
return 7;
},
basic: {
equipValue: 7,
},
},
},
miki_hydrogladiator: {
fullskin: true,
type: "equip",
subtype: "equip1",
derivation: "key_miki",
skills: ["miki_hydrogladiator_skill"],
distance: {
attackFrom: -5,
},
ai: {
equipValue(card) {
return 7;
},
basic: {
equipValue: 7,
},
},
},
miki_binoculars: {
fullskin: true,
type: "equip",
subtype: "equip5",
derivation: "key_miki",
skills: ["miki_binoculars"],
ai: {
equipValue(card) {
return 7;
},
basic: {
equipValue: 7,
},
},
},
}
export default cards;
import { lib, game, ui, get, ai, _status } from "../../noname.js";
const cards = {
kano_paibingbuzhen: {
fullskin: true,
type: "trick",
enable: true,
filterTarget: true,
selectTarget: [1, 3],
derivation: "key_kano",
content() {
"step 0";
target.draw();
("step 1");
var hs = target.getCards("he");
if (!hs.length) event.finish();
else if (hs.length == 1) event._result = { bool: true, cards: hs };
else target.chooseCard("he", true, "选择一张牌置入仁库");
("step 2");
if (result.bool) {
var card = result.cards[0];
target.$throw(card, 1000);
target.lose(card, "toRenku");
}
},
contentAfter() {
if (
player.isIn() &&
_status.renku.length &&
(function () {
var cards = _status.renku;
if (cards.length == 1) return true;
var color = get.color(cards[0], false),
type = get.type(cards[0], false);
for (var i = 1; i < cards.length; i++) {
if (color && get.color(cards[i], false) != color)
color = false;
if (type && get.type(cards[i], false) != type)
type = false;
if (!color && !type) return false;
}
return true;
})()
)
player.draw();
},
ai: {
order: 1,
result: {
player(player, target) {
if (player.hasSkill("kano_poyu")) return 2;
return 0;
},
target: 0.1,
},
},
},
kamome_suitcase: {
fullskin: true,
type: "equip",
subtype: "equip5",
derivation: "key_kamome",
skills: ["kamome_suitcase"],
ai: {
equipValue(card) {
return 7;
},
basic: {
equipValue: 7,
},
},
},
miki_hydrogladiator: {
fullskin: true,
type: "equip",
subtype: "equip1",
derivation: "key_miki",
skills: ["miki_hydrogladiator_skill"],
distance: {
attackFrom: -5,
},
ai: {
equipValue(card) {
return 7;
},
basic: {
equipValue: 7,
},
},
},
miki_binoculars: {
fullskin: true,
type: "equip",
subtype: "equip5",
derivation: "key_miki",
skills: ["miki_binoculars"],
ai: {
equipValue(card) {
return 7;
},
basic: {
equipValue: 7,
},
},
},
};
export default cards;

View File

@ -1,446 +1,448 @@
const characters = {
sp_key_yuri: {
sex: "female",
group: "qun",
hp: 4,
skills: ["mubing", "ziqu", "diaoling"],
groupBorder: "key",
},
key_lucia: {
sex: "female",
group: "key",
hp: 2,
maxHp: 3,
skills: ["lucia_duqu", "lucia_zhenren"]
},
key_kyousuke: {
sex: "male",
group: "key",
hp: 4,
skills: ["nk_shekong", "key_huanjie"]
},
key_yuri: {
sex: "female",
group: "key",
hp: 3,
skills: ["yuri_xingdong", "key_huanjie", "yuri_wangxi"],
isZhugong: true,
},
key_haruko: {
sex: "female",
group: "key",
hp: 4,
skills: ["haruko_haofang", "haruko_zhuishi"]
},
key_umi: {
sex: "female",
group: "key",
hp: 3,
skills: ["umi_chaofan", "umi_lunhui", "umi_qihuan"]
},
key_umi2: {
sex: "female",
group: "key",
hp: 3,
isUnseen: true,
},
key_rei: {
sex: "male",
group: "key",
hp: 4,
skills: ["xiandeng", "shulv", "xisheng"]
},
key_komari: {
sex: "female",
group: "key",
hp: 3,
skills: ["komari_tiankou", "komari_xueshang"]
},
key_yukine: {
sex: "female",
group: "key",
hp: 3,
skills: ["yukine_wenzhou"]
},
key_yusa: {
sex: "female",
group: "key",
hp: 3,
skills: ["yusa_yanyi", "yusa_misa", "dualside"],
dualSideCharacter: "key_misa",
},
key_misa: {
sex: "female",
group: "key",
hp: 3,
skills: ["misa_yehuo", "misa_yusa", "dualside"],
isUnseen: true,
},
key_masato: {
sex: "male",
group: "key",
hp: 4,
maxHp: 8,
skills: ["masato_baoquan"]
},
key_iwasawa: {
sex: "female",
group: "key",
hp: 3,
skills: ["iwasawa_yinhang", "iwasawa_mysong"]
},
key_kengo: {
sex: "male",
group: "key",
hp: 4,
skills: ["kengo_weishang", "kengo_guidui"]
},
key_yoshino: {
sex: "male",
group: "key",
hp: 4,
skills: ["yoshino_jueyi"]
},
key_yui: {
sex: "female",
group: "key",
hp: 3,
skills: ["yui_jiang", "yui_lieyin", "yui_takaramono"]
},
key_tsumugi: {
sex: "female",
group: "key",
hp: 3,
skills: ["tsumugi_mugyu", "tsumugi_huilang"]
},
key_saya: {
sex: "female",
group: "key",
hp: 3,
skills: ["saya_shouji", "saya_powei"]
},
key_harukakanata: {
sex: "female",
group: "key",
hp: 3,
skills: ["haruka_shuangche"]
},
key_inari: {
sex: "female",
group: "key",
hp: 2,
skills: ["inari_baiwei", "inari_huhun"]
},
key_shiina: {
sex: "female",
group: "key",
hp: 3,
skills: ["shiina_qingshen", "shiina_feiyan"]
},
key_sunohara: {
sex: "double",
group: "key",
hp: 3,
hujia: 2,
skills: ["sunohara_chengshuang", "sunohara_tiaoyin", "sunohara_jianren"]
},
key_rin: {
sex: "female",
group: "key",
hp: 3,
skills: ["rin_baoqiu"]
},
key_sasami: {
sex: "female",
group: "key",
hp: 3,
skills: ["sasami_miaobian"]
},
key_akane: {
sex: "female",
group: "key",
hp: 3,
skills: ["akane_jugu", "akane_quanqing", "akane_yifu"],
isZhugong: true,
},
key_doruji: {
sex: "female",
group: "key",
hp: 16,
skills: ["doruji_feiqu"]
},
key_yuiko: {
sex: "female",
group: "key",
hp: 3,
skills: ["yuiko_fenglun", "yuiko_dilve"]
},
key_riki: {
sex: "double",
group: "key",
hp: 3,
skills: ["riki_spwenji", "riki_nvzhuang", "riki_mengzhong"]
},
key_hisako: {
sex: "female",
group: "key",
hp: 3,
skills: ["hisako_yinbao", "hisako_zhuanyun"]
},
key_hinata: {
sex: "male",
group: "key",
hp: 4,
skills: ["hinata_qiulve", "hinata_ehou"]
},
key_noda: {
sex: "male",
group: "key",
hp: 4,
skills: [
"noda_fengcheng",
"noda_xunxin"]
},
key_tomoya: {
sex: "male",
group: "key",
hp: 4,
skills: ["tomoya_shangxian", "tomoya_wangjin"]
},
key_nagisa: {
sex: "female",
group: "key",
hp: 3,
skills: ["nagisa_tiandu", "nagisa_fuxin"]
},
key_ayato: {
sex: "male",
group: "key",
hp: 3,
skills: ["ayato_jianshen", "ayato_zonghuan"]
},
key_ao: {
sex: "female",
group: "key",
hp: 3,
skills: ["ao_xishi", "ao_kuihun", "ao_shixin"]
},
key_yuzuru: {
sex: "male",
group: "key",
hp: 5,
skills: ["yuzuru_wuxin", "yuzuru_deyi"]
},
sp_key_kanade: {
sex: "female",
group: "key",
hp: 3,
skills: ["kanade_mapo", "kanade_benzhan"]
},
key_mio: {
sex: "female",
group: "key",
hp: 3,
skills: ["mio_tuifu", "mio_tishen"]
},
key_midori: {
sex: "female",
group: "key",
hp: 3,
skills: ["midori_nonghuan", "midori_tishen"]
},
key_kyoko: {
sex: "female",
group: "key",
hp: 3,
skills: ["kyoko_juwu", "kyoko_zhengyi"]
},
key_shizuru: {
sex: "female",
group: "key",
hp: 3,
skills: ["shizuru_nianli", "shizuru_benzhan"]
},
key_shiorimiyuki: {
sex: "female",
group: "key",
hp: 3,
skills: ["shiorimiyuki_banyin", "shiorimiyuki_tingxian"]
},
key_miki: {
sex: "female",
group: "key",
hp: 3,
skills: ["miki_shenqiang", "miki_huanmeng", "miki_zhiluo"]
},
key_shiori: {
sex: "female",
group: "key",
hp: 2,
maxHp: 3,
skills: ["shiori_huijuan"]
},
key_kaori: {
sex: "female",
group: "key",
hp: 3,
maxHp: 4,
skills: ["kaori_siyuan"]
},
key_akiko: {
sex: "female",
group: "key",
hp: 3,
skills: ["akiko_dongcha"]
},
key_abyusa: {
sex: "female",
group: "key",
hp: 3,
skills: ["abyusa_jueqing", "abyusa_dunying"]
},
key_godan: {
sex: "male",
group: "key",
hp: 6,
skills: ["godan_yuanyi", "godan_feiqu", "godan_xiaoyuan"]
},
key_yuu: {
sex: "male",
group: "key",
hp: 3,
skills: ["yuu_lveduo"]
},
key_ryoichi: {
sex: "male",
group: "key",
hp: 4,
skills: ["ryoichi_baoyi", "ryoichi_tuipi"]
},
key_kotori: {
sex: "female",
group: "key",
hp: 3,
skills: ["kotori_yumo", "kotori_huazhan"]
},
key_jojiro: {
sex: "male",
group: "key",
hp: 4,
skills: ["jojiro_shensu", "jojiro_shunying"]
},
key_shiroha: {
sex: "female",
group: "key",
hp: 3,
skills: ["shiroha_yuzhao", "shiroha_guying", "shiroha_jiezhao"]
},
key_shizuku: {
sex: "female",
group: "key",
hp: 3,
skills: ["shizuku_sizhi", "shizuku_biyi", "shizuku_sanhua"]
},
key_hiroto: {
sex: "male",
group: "key",
hp: 3,
skills: ["hiroto_huyu", "hiroto_tuolao"]
},
key_sakuya: {
sex: "male",
group: "key",
hp: 3,
skills: ["youlong", "luanfeng", "sakuya_junbu"]
},
key_youta: {
sex: "male",
group: "key",
hp: 4,
skills: []
},
key_rumi: {
sex: "female",
group: "key",
hp: 3,
maxHp: 4,
skills: ["rumi_shuwu"]
},
key_chihaya: {
sex: "female",
group: "key",
hp: 3,
skills: ["chihaya_liewu", "chihaya_youfeng"]
},
key_yukito: {
sex: "male",
group: "key",
hp: 4,
skills: ["yukito_kongwu", "yukito_yaxiang"]
},
key_crow: {
sex: "male",
group: "key",
hp: 4,
skills: [],
isUnseen: true,
},
key_asara: {
sex: "female",
group: "key",
hp: 3,
skills: ["asara_shelu", "asara_yingwei"]
},
key_kotomi: {
sex: "female",
group: "key",
hp: 3,
skills: ["kotomi_qinji", "kotomi_chuanxiang"]
},
key_mia: {
sex: "female",
group: "key",
hp: 3,
skills: ["mia_shihui", "mia_qianmeng"]
},
key_kano: {
sex: "female",
group: "key",
hp: 3,
skills: ["kano_liezhen", "kano_poyu"]
},
db_key_liyingxia: {
sex: "female",
group: "shu",
hp: 3,
skills: ["liyingxia_sanli", "liyingxia_zhenjun", "liyingxia_wumai"],
doubleGroup: ['shu', 'key'],
},
key_erika: {
sex: "female",
group: "key",
hp: 3,
hujia: 2,
skills: ["erika_shisong", "erika_yousheng"]
},
key_satomi: {
sex: "female",
group: "key",
hp: 3,
skills: ["satomi_luodao", "satomi_daohai"]
},
key_iriya: {
sex: "female",
group: "key",
hp: 3,
skills: ["iriya_yinji", "iriya_haozhi"]
},
key_fuuko: {
sex: "female",
group: "key",
hp: 3,
skills: ["fuuko_xingdiao", "fuuko_chuanyuan"]
}
};
export default characters;
const characters = {
sp_key_yuri: {
sex: "female",
group: "qun",
hp: 4,
skills: ["mubing", "ziqu", "diaoling"],
groupBorder: "key",
},
key_lucia: {
sex: "female",
group: "key",
hp: 2,
maxHp: 3,
skills: ["lucia_duqu", "lucia_zhenren"],
},
key_kyousuke: {
sex: "male",
group: "key",
hp: 4,
skills: ["nk_shekong", "key_huanjie"],
},
key_yuri: {
sex: "female",
group: "key",
hp: 3,
skills: ["yuri_xingdong", "key_huanjie", "yuri_wangxi"],
isZhugong: true,
},
key_haruko: {
sex: "female",
group: "key",
hp: 4,
skills: ["haruko_haofang", "haruko_zhuishi"],
},
key_umi: {
sex: "female",
group: "key",
hp: 3,
skills: ["umi_chaofan", "umi_lunhui", "umi_qihuan"],
},
key_umi2: {
sex: "female",
group: "key",
hp: 3,
isUnseen: true,
},
key_rei: {
sex: "male",
group: "key",
hp: 4,
skills: ["xiandeng", "shulv", "xisheng"],
},
key_komari: {
sex: "female",
group: "key",
hp: 3,
skills: ["komari_tiankou", "komari_xueshang"],
},
key_yukine: {
sex: "female",
group: "key",
hp: 3,
skills: ["yukine_wenzhou"],
},
key_yusa: {
sex: "female",
group: "key",
hp: 3,
skills: ["yusa_yanyi", "yusa_misa", "dualside"],
dualSideCharacter: "key_misa",
},
key_misa: {
sex: "female",
group: "key",
hp: 3,
skills: ["misa_yehuo", "misa_yusa", "dualside"],
isUnseen: true,
},
key_masato: {
sex: "male",
group: "key",
hp: 4,
maxHp: 8,
skills: ["masato_baoquan"],
},
key_iwasawa: {
sex: "female",
group: "key",
hp: 3,
skills: ["iwasawa_yinhang", "iwasawa_mysong"],
},
key_kengo: {
sex: "male",
group: "key",
hp: 4,
skills: ["kengo_weishang", "kengo_guidui"],
},
key_yoshino: {
sex: "male",
group: "key",
hp: 4,
skills: ["yoshino_jueyi"],
},
key_yui: {
sex: "female",
group: "key",
hp: 3,
skills: ["yui_jiang", "yui_lieyin", "yui_takaramono"],
},
key_tsumugi: {
sex: "female",
group: "key",
hp: 3,
skills: ["tsumugi_mugyu", "tsumugi_huilang"],
},
key_saya: {
sex: "female",
group: "key",
hp: 3,
skills: ["saya_shouji", "saya_powei"],
},
key_harukakanata: {
sex: "female",
group: "key",
hp: 3,
skills: ["haruka_shuangche"],
},
key_inari: {
sex: "female",
group: "key",
hp: 2,
skills: ["inari_baiwei", "inari_huhun"],
},
key_shiina: {
sex: "female",
group: "key",
hp: 3,
skills: ["shiina_qingshen", "shiina_feiyan"],
},
key_sunohara: {
sex: "double",
group: "key",
hp: 3,
hujia: 2,
skills: [
"sunohara_chengshuang",
"sunohara_tiaoyin",
"sunohara_jianren",
],
},
key_rin: {
sex: "female",
group: "key",
hp: 3,
skills: ["rin_baoqiu"],
},
key_sasami: {
sex: "female",
group: "key",
hp: 3,
skills: ["sasami_miaobian"],
},
key_akane: {
sex: "female",
group: "key",
hp: 3,
skills: ["akane_jugu", "akane_quanqing", "akane_yifu"],
isZhugong: true,
},
key_doruji: {
sex: "female",
group: "key",
hp: 16,
skills: ["doruji_feiqu"],
},
key_yuiko: {
sex: "female",
group: "key",
hp: 3,
skills: ["yuiko_fenglun", "yuiko_dilve"],
},
key_riki: {
sex: "double",
group: "key",
hp: 3,
skills: ["riki_spwenji", "riki_nvzhuang", "riki_mengzhong"],
},
key_hisako: {
sex: "female",
group: "key",
hp: 3,
skills: ["hisako_yinbao", "hisako_zhuanyun"],
},
key_hinata: {
sex: "male",
group: "key",
hp: 4,
skills: ["hinata_qiulve", "hinata_ehou"],
},
key_noda: {
sex: "male",
group: "key",
hp: 4,
skills: ["noda_fengcheng", "noda_xunxin"],
},
key_tomoya: {
sex: "male",
group: "key",
hp: 4,
skills: ["tomoya_shangxian", "tomoya_wangjin"],
},
key_nagisa: {
sex: "female",
group: "key",
hp: 3,
skills: ["nagisa_tiandu", "nagisa_fuxin"],
},
key_ayato: {
sex: "male",
group: "key",
hp: 3,
skills: ["ayato_jianshen", "ayato_zonghuan"],
},
key_ao: {
sex: "female",
group: "key",
hp: 3,
skills: ["ao_xishi", "ao_kuihun", "ao_shixin"],
},
key_yuzuru: {
sex: "male",
group: "key",
hp: 5,
skills: ["yuzuru_wuxin", "yuzuru_deyi"],
},
sp_key_kanade: {
sex: "female",
group: "key",
hp: 3,
skills: ["kanade_mapo", "kanade_benzhan"],
},
key_mio: {
sex: "female",
group: "key",
hp: 3,
skills: ["mio_tuifu", "mio_tishen"],
},
key_midori: {
sex: "female",
group: "key",
hp: 3,
skills: ["midori_nonghuan", "midori_tishen"],
},
key_kyoko: {
sex: "female",
group: "key",
hp: 3,
skills: ["kyoko_juwu", "kyoko_zhengyi"],
},
key_shizuru: {
sex: "female",
group: "key",
hp: 3,
skills: ["shizuru_nianli", "shizuru_benzhan"],
},
key_shiorimiyuki: {
sex: "female",
group: "key",
hp: 3,
skills: ["shiorimiyuki_banyin", "shiorimiyuki_tingxian"],
},
key_miki: {
sex: "female",
group: "key",
hp: 3,
skills: ["miki_shenqiang", "miki_huanmeng", "miki_zhiluo"],
},
key_shiori: {
sex: "female",
group: "key",
hp: 2,
maxHp: 3,
skills: ["shiori_huijuan"],
},
key_kaori: {
sex: "female",
group: "key",
hp: 3,
maxHp: 4,
skills: ["kaori_siyuan"],
},
key_akiko: {
sex: "female",
group: "key",
hp: 3,
skills: ["akiko_dongcha"],
},
key_abyusa: {
sex: "female",
group: "key",
hp: 3,
skills: ["abyusa_jueqing", "abyusa_dunying"],
},
key_godan: {
sex: "male",
group: "key",
hp: 6,
skills: ["godan_yuanyi", "godan_feiqu", "godan_xiaoyuan"],
},
key_yuu: {
sex: "male",
group: "key",
hp: 3,
skills: ["yuu_lveduo"],
},
key_ryoichi: {
sex: "male",
group: "key",
hp: 4,
skills: ["ryoichi_baoyi", "ryoichi_tuipi"],
},
key_kotori: {
sex: "female",
group: "key",
hp: 3,
skills: ["kotori_yumo", "kotori_huazhan"],
},
key_jojiro: {
sex: "male",
group: "key",
hp: 4,
skills: ["jojiro_shensu", "jojiro_shunying"],
},
key_shiroha: {
sex: "female",
group: "key",
hp: 3,
skills: ["shiroha_yuzhao", "shiroha_guying", "shiroha_jiezhao"],
},
key_shizuku: {
sex: "female",
group: "key",
hp: 3,
skills: ["shizuku_sizhi", "shizuku_biyi", "shizuku_sanhua"],
},
key_hiroto: {
sex: "male",
group: "key",
hp: 3,
skills: ["hiroto_huyu", "hiroto_tuolao"],
},
key_sakuya: {
sex: "male",
group: "key",
hp: 3,
skills: ["youlong", "luanfeng", "sakuya_junbu"],
},
key_youta: {
sex: "male",
group: "key",
hp: 4,
skills: [],
},
key_rumi: {
sex: "female",
group: "key",
hp: 3,
maxHp: 4,
skills: ["rumi_shuwu"],
},
key_chihaya: {
sex: "female",
group: "key",
hp: 3,
skills: ["chihaya_liewu", "chihaya_youfeng"],
},
key_yukito: {
sex: "male",
group: "key",
hp: 4,
skills: ["yukito_kongwu", "yukito_yaxiang"],
},
key_crow: {
sex: "male",
group: "key",
hp: 4,
skills: [],
isUnseen: true,
},
key_asara: {
sex: "female",
group: "key",
hp: 3,
skills: ["asara_shelu", "asara_yingwei"],
},
key_kotomi: {
sex: "female",
group: "key",
hp: 3,
skills: ["kotomi_qinji", "kotomi_chuanxiang"],
},
key_mia: {
sex: "female",
group: "key",
hp: 3,
skills: ["mia_shihui", "mia_qianmeng"],
},
key_kano: {
sex: "female",
group: "key",
hp: 3,
skills: ["kano_liezhen", "kano_poyu"],
},
db_key_liyingxia: {
sex: "female",
group: "shu",
hp: 3,
skills: ["liyingxia_sanli", "liyingxia_zhenjun", "liyingxia_wumai"],
doubleGroup: ["shu", "key"],
},
key_erika: {
sex: "female",
group: "key",
hp: 3,
hujia: 2,
skills: ["erika_shisong", "erika_yousheng"],
},
key_satomi: {
sex: "female",
group: "key",
hp: 3,
skills: ["satomi_luodao", "satomi_daohai"],
},
key_iriya: {
sex: "female",
group: "key",
hp: 3,
skills: ["iriya_yinji", "iriya_haozhi"],
},
key_fuuko: {
sex: "female",
group: "key",
hp: 3,
skills: ["fuuko_xingdiao", "fuuko_chuanyuan"],
},
};
export default characters;

View File

@ -1,102 +1,104 @@
import { lib, game, ui, get, ai, _status } from "../../noname.js";
import characters from "./character.js";
import cards from "./card.js";
import pinyins from "./pinyin.js";
import skills from "./skill.js";
import translates from "./translate.js";
game.import("character", function () {
return {
name: "key",
character: { ...characters },
characterFilter: {
key_jojiro(mode) {
return mode == "chess" || mode == "tafang";
},
key_yuu(mode) {
return (
mode == "identity" ||
mode == "doudizhu" ||
mode == "single" ||
(mode == "versus" && _status.mode != "standard" && _status.mode != "three")
);
},
key_tomoya(mode) {
return mode != "chess" && mode != "tafang" && mode != "stone";
},
key_sunohara(mode) {
return mode != "guozhan";
},
},
characterTitle: {
key_satomi: "#rHeaven Burns Red",
key_erika: "#rHeaven Burns Red",
db_key_liyingxia: "#rHeaven Burns Red",
key_kano: "#bAIR",
key_mia: "#bLoopers",
key_kotomi: "#gClannad<br>技能设计:落英逐紫裙",
key_asara: "#bRewrite",
key_yukito: "#bAIR",
key_chihaya: "#bRewrite",
key_rumi: "#rONE ~輝く季節へ~",
key_youta: "#b神様になった日",
key_sakuya: "#bRewrite",
key_hiroto: "#b神様になった日",
key_shizuku: "#bSummer Pockets",
key_shiroha: "#bSummer Pockets",
key_jojiro: "#bCharlotte<br>战棋专属角色",
key_kotori: "#bRewrite",
key_ryoichi: "#bSummer Pockets",
key_yuu: "#bCharlotte",
key_godan: "#rAngel Beats!",
key_abyusa: "#rAngel Beats!",
key_akiko: "#bKanon",
key_kaori: "#bKanon",
key_shiori: "#bKanon",
key_miki: "#bSummer Pockets",
key_shiorimiyuki: "#rAngel Beats!",
key_shizuru: "#bRewrite",
key_kyoko: "#bSummer Pockets",
sp_key_kanade: "#rAngel Beats!",
key_yuzuru: "#rAngel Beats!",
key_tsumugi: "#bSummer Pockets",
key_ayato: "#rAngel Beats!",
key_nagisa: "#gClannad",
key_tomoya: "#gClannad",
key_noda: "#rAngel Beats!",
key_hinata: "#rAngel Beats!",
key_hisako: "#rAngel Beats!",
key_doruji: "#bLittle Busters!",
key_riki: "#bLittle Busters!",
key_yuiko: "#bLittle Busters!",
key_akane: "#bRewrite",
key_sasami: "#bLittle Busters!",
key_rin: "#bLittle Busters!",
key_shiina: "#rAngel Beats!",
key_inari: "#bSummer Pockets",
key_saya: "#bLittle Busters!",
key_harukakanata: "#bLittle Busters!",
key_yui: "#rAngel Beats!",
key_yoshino: "#bRewrite",
key_kengo: "#bLittle Busters!",
key_iwasawa: "#rAngel Beats!",
key_masato: "#bLittle Busters!",
key_yusa: "#bCharlotte",
key_misa: "#rCharlotte",
key_yukine: "#gClannad",
key_komari: "#bLittle Busters!",
key_umi: "#bSummer Pockets",
key_rei: "#gHarmonia",
key_lucia: "#bRewrite",
key_kyousuke: "#bLittle Busters!",
key_yuri: "#rAngel Beats!",
key_haruko: "#bAIR",
sp_key_yuri: "#bAngel Beats!",
key_fuuko: "#gClannad",
},
card: { ...cards },
skill: { ...skills },
translate: { ...translates },
pinyins: { ...pinyins },
};
});
import { lib, game, ui, get, ai, _status } from "../../noname.js";
import characters from "./character.js";
import cards from "./card.js";
import pinyins from "./pinyin.js";
import skills from "./skill.js";
import translates from "./translate.js";
game.import("character", function () {
return {
name: "key",
character: { ...characters },
characterFilter: {
key_jojiro(mode) {
return mode == "chess" || mode == "tafang";
},
key_yuu(mode) {
return (
mode == "identity" ||
mode == "doudizhu" ||
mode == "single" ||
(mode == "versus" &&
_status.mode != "standard" &&
_status.mode != "three")
);
},
key_tomoya(mode) {
return mode != "chess" && mode != "tafang" && mode != "stone";
},
key_sunohara(mode) {
return mode != "guozhan";
},
},
characterTitle: {
key_satomi: "#rHeaven Burns Red",
key_erika: "#rHeaven Burns Red",
db_key_liyingxia: "#rHeaven Burns Red",
key_kano: "#bAIR",
key_mia: "#bLoopers",
key_kotomi: "#gClannad<br>技能设计:落英逐紫裙",
key_asara: "#bRewrite",
key_yukito: "#bAIR",
key_chihaya: "#bRewrite",
key_rumi: "#rONE ~輝く季節へ~",
key_youta: "#b神様になった日",
key_sakuya: "#bRewrite",
key_hiroto: "#b神様になった日",
key_shizuku: "#bSummer Pockets",
key_shiroha: "#bSummer Pockets",
key_jojiro: "#bCharlotte<br>战棋专属角色",
key_kotori: "#bRewrite",
key_ryoichi: "#bSummer Pockets",
key_yuu: "#bCharlotte",
key_godan: "#rAngel Beats!",
key_abyusa: "#rAngel Beats!",
key_akiko: "#bKanon",
key_kaori: "#bKanon",
key_shiori: "#bKanon",
key_miki: "#bSummer Pockets",
key_shiorimiyuki: "#rAngel Beats!",
key_shizuru: "#bRewrite",
key_kyoko: "#bSummer Pockets",
sp_key_kanade: "#rAngel Beats!",
key_yuzuru: "#rAngel Beats!",
key_tsumugi: "#bSummer Pockets",
key_ayato: "#rAngel Beats!",
key_nagisa: "#gClannad",
key_tomoya: "#gClannad",
key_noda: "#rAngel Beats!",
key_hinata: "#rAngel Beats!",
key_hisako: "#rAngel Beats!",
key_doruji: "#bLittle Busters!",
key_riki: "#bLittle Busters!",
key_yuiko: "#bLittle Busters!",
key_akane: "#bRewrite",
key_sasami: "#bLittle Busters!",
key_rin: "#bLittle Busters!",
key_shiina: "#rAngel Beats!",
key_inari: "#bSummer Pockets",
key_saya: "#bLittle Busters!",
key_harukakanata: "#bLittle Busters!",
key_yui: "#rAngel Beats!",
key_yoshino: "#bRewrite",
key_kengo: "#bLittle Busters!",
key_iwasawa: "#rAngel Beats!",
key_masato: "#bLittle Busters!",
key_yusa: "#bCharlotte",
key_misa: "#rCharlotte",
key_yukine: "#gClannad",
key_komari: "#bLittle Busters!",
key_umi: "#bSummer Pockets",
key_rei: "#gHarmonia",
key_lucia: "#bRewrite",
key_kyousuke: "#bLittle Busters!",
key_yuri: "#rAngel Beats!",
key_haruko: "#bAIR",
sp_key_yuri: "#bAngel Beats!",
key_fuuko: "#gClannad",
},
card: { ...cards },
skill: { ...skills },
translate: { ...translates },
pinyins: { ...pinyins },
};
});

View File

@ -1,91 +1,91 @@
const pinyins = {
加藤うみ: ["Kato", "Umi"],
仲村由理: ["Nakamura", "Yuri"],
此花露西娅: ["Konohana", "Lucia"],
枣恭介: ["Natsume", "Kyousuke"],
神尾晴子: ["Kamio", "Haruko"],
神北小毬: ["Kamikita", "Komari"],
宫泽有纪宁: ["Miyazawa", "Yukine"],
西森柚咲: ["Nishimori", "Yusa"],
黑羽美砂: ["Kurobane", "Misa"],
井之原真人: ["Inohara", "Masato"],
岩泽雅美: ["Iwasawa", "Masami"],
宫泽谦吾: ["Miyazawa", "Kengo"],
吉野晴彦: ["Yoshino", "Haruhiko"],
由依: ["Yui"],
紬文德斯: ["Tsumugi", "Wenders"],
朱鹭户沙耶: ["Tokido", "Saya"],
"三枝叶留佳&二木佳奈多": ["Saigusa", "Haruka", "Futaki", "Kanata"],
三枝二木: ["Saigusa", "Haruka", "Futaki", "Kanata"],
稻荷: ["Inari"],
椎名: ["Shiina"],
"春原阳平&春原芽衣": ["Sunohara", "Youhei", "Sunohara", "Mei"],
阳平芽衣: ["Sunohara", "Youhei", "Sunohara", "Mei"],
枣铃: ["Natsume", "Rin"],
笹濑川佐佐美: ["Sasasegawa", "Sasami"],
千里朱音: ["Senri", "Akane"],
多鲁基: ["Dorj"],
来谷唯湖: ["Kurugaya", "Yuiko"],
直枝理树: ["Naoe", "Riki"],
渕田久子: ["Fuchita", "Hisako"],
日向秀树: ["Hinata", "Hideki"],
野田: ["Noda"],
冈崎朋也: ["Okazaki", "Tomoya"],
古河渚: ["Furukawa", "Nagisa"],
直井文人: ["Naoi", "Ayato"],
空门苍: ["Sorakado", "Ao"],
音无结弦: ["Otonashi", "Yuzuru"],
立华奏: ["Tachibana", "Kanade"],
西园美鱼: ["Nishizono", "Mio"],
西园美鸟: ["Nishizono", "Midori"],
岬镜子: ["Misaki", "Kyoko"],
中津静流: ["Nakatsu", "Shizuru"],
"关根诗织&入江美雪": ["Sekine", "Shiori", "Irie", "Miyuki"],
关根入江: ["Sekine", "Shiori", "Irie", "Miyuki"],
野村美希: ["Nomura", "Miki"],
美坂栞: ["Misaka", "Shiori"],
美坂香里: ["Misaka", "Kaori"],
水濑秋子: ["Minase", "Akiko"],
游佐: ["Yusa"],
松下护騨: ["Matsushita", "Godan"],
乙坂有宇: ["Otosaka", "Yuu"],
三谷良一: ["Mitani", "Ryoichi"],
神户小鸟: ["Kanbe", "Kotori"],
高城丈士朗: ["Takajyo", "Jyojirou"],
鸣濑白羽: ["Naruse", "Shiroha"],
水织静久: ["Mizuori", "Shizuku"],
铃木央人: ["Suzuki", "Hiroto"],
凤咲夜: ["Ootori", "Sakuya"],
成神阳太: ["Narukami", "Youta"],
七濑留美: ["Nanase", "Rumi"],
凤千早: ["Ootori", "Chihaya"],
国崎往人: ["Kunisaki", "Yukito"],
井上晶: ["Inoue", "Asara"],
一之濑琴美: ["Ichinose", "Kotomi"],
藤川米娅: ["Fujikawa", "Mia"],
雾岛佳乃: ["Kirishima", "Kano"],
苍井绘梨花: ["Aoi", "Erika"],
藏里见: ["Kura", "Satomi"],
"喵呜·喵呼": ["Myau", "Mya-fu"],
喵呜喵呼: ["Myau", "Mya-fu"],
伊吹风子: ["Ibuki", "Fuuko"],
久岛鸥: ["Kushima", "Kamome"],
库特莉亚芙卡: ["Noumi", "Kudryavka"],
神尾观铃: ["Kamio", "Misuzu"],
友利奈绪: ["Tomori", "Nao"],
天王寺瑚太朗: ["Tennouji", "Kotarou"],
藤林杏: ["Fujibayashi", "Kyou"],
伊座并杏子: ["Izanami", "Kyouko"],
加纳天善: ["Kano", "Tenzen"],
冰室忧希: ["Himuro", "Yuuki"],
露娜Q: ["Lunar", "Q"],
远野小满: ["Toono", "Michiru"],
远野美凪: ["Toono", "Minagi"],
樱庭星罗: ["Sakuraba", "Seira"],
坂上智代: ["Sakagami", "Tomoyo"],
冈崎汐: ["Okazaki", "Ushio"],
神山识: ["Kamiyama", "Shiki"],
佐藤雏: ["Satou", "Hina"],
: ["Kagari"],
}
export default pinyins;
const pinyins = {
加藤うみ: ["Kato", "Umi"],
仲村由理: ["Nakamura", "Yuri"],
此花露西娅: ["Konohana", "Lucia"],
枣恭介: ["Natsume", "Kyousuke"],
神尾晴子: ["Kamio", "Haruko"],
神北小毬: ["Kamikita", "Komari"],
宫泽有纪宁: ["Miyazawa", "Yukine"],
西森柚咲: ["Nishimori", "Yusa"],
黑羽美砂: ["Kurobane", "Misa"],
井之原真人: ["Inohara", "Masato"],
岩泽雅美: ["Iwasawa", "Masami"],
宫泽谦吾: ["Miyazawa", "Kengo"],
吉野晴彦: ["Yoshino", "Haruhiko"],
由依: ["Yui"],
紬文德斯: ["Tsumugi", "Wenders"],
朱鹭户沙耶: ["Tokido", "Saya"],
"三枝叶留佳&二木佳奈多": ["Saigusa", "Haruka", "Futaki", "Kanata"],
三枝二木: ["Saigusa", "Haruka", "Futaki", "Kanata"],
稻荷: ["Inari"],
椎名: ["Shiina"],
"春原阳平&春原芽衣": ["Sunohara", "Youhei", "Sunohara", "Mei"],
阳平芽衣: ["Sunohara", "Youhei", "Sunohara", "Mei"],
枣铃: ["Natsume", "Rin"],
笹濑川佐佐美: ["Sasasegawa", "Sasami"],
千里朱音: ["Senri", "Akane"],
多鲁基: ["Dorj"],
来谷唯湖: ["Kurugaya", "Yuiko"],
直枝理树: ["Naoe", "Riki"],
渕田久子: ["Fuchita", "Hisako"],
日向秀树: ["Hinata", "Hideki"],
野田: ["Noda"],
冈崎朋也: ["Okazaki", "Tomoya"],
古河渚: ["Furukawa", "Nagisa"],
直井文人: ["Naoi", "Ayato"],
空门苍: ["Sorakado", "Ao"],
音无结弦: ["Otonashi", "Yuzuru"],
立华奏: ["Tachibana", "Kanade"],
西园美鱼: ["Nishizono", "Mio"],
西园美鸟: ["Nishizono", "Midori"],
岬镜子: ["Misaki", "Kyoko"],
中津静流: ["Nakatsu", "Shizuru"],
"关根诗织&入江美雪": ["Sekine", "Shiori", "Irie", "Miyuki"],
关根入江: ["Sekine", "Shiori", "Irie", "Miyuki"],
野村美希: ["Nomura", "Miki"],
美坂栞: ["Misaka", "Shiori"],
美坂香里: ["Misaka", "Kaori"],
水濑秋子: ["Minase", "Akiko"],
游佐: ["Yusa"],
松下护騨: ["Matsushita", "Godan"],
乙坂有宇: ["Otosaka", "Yuu"],
三谷良一: ["Mitani", "Ryoichi"],
神户小鸟: ["Kanbe", "Kotori"],
高城丈士朗: ["Takajyo", "Jyojirou"],
鸣濑白羽: ["Naruse", "Shiroha"],
水织静久: ["Mizuori", "Shizuku"],
铃木央人: ["Suzuki", "Hiroto"],
凤咲夜: ["Ootori", "Sakuya"],
成神阳太: ["Narukami", "Youta"],
七濑留美: ["Nanase", "Rumi"],
凤千早: ["Ootori", "Chihaya"],
国崎往人: ["Kunisaki", "Yukito"],
井上晶: ["Inoue", "Asara"],
一之濑琴美: ["Ichinose", "Kotomi"],
藤川米娅: ["Fujikawa", "Mia"],
雾岛佳乃: ["Kirishima", "Kano"],
苍井绘梨花: ["Aoi", "Erika"],
藏里见: ["Kura", "Satomi"],
"喵呜·喵呼": ["Myau", "Mya-fu"],
喵呜喵呼: ["Myau", "Mya-fu"],
伊吹风子: ["Ibuki", "Fuuko"],
久岛鸥: ["Kushima", "Kamome"],
库特莉亚芙卡: ["Noumi", "Kudryavka"],
神尾观铃: ["Kamio", "Misuzu"],
友利奈绪: ["Tomori", "Nao"],
天王寺瑚太朗: ["Tennouji", "Kotarou"],
藤林杏: ["Fujibayashi", "Kyou"],
伊座并杏子: ["Izanami", "Kyouko"],
加纳天善: ["Kano", "Tenzen"],
冰室忧希: ["Himuro", "Yuuki"],
露娜Q: ["Lunar", "Q"],
远野小满: ["Toono", "Michiru"],
远野美凪: ["Toono", "Minagi"],
樱庭星罗: ["Sakuraba", "Seira"],
坂上智代: ["Sakagami", "Tomoyo"],
冈崎汐: ["Okazaki", "Ushio"],
神山识: ["Kamiyama", "Shiki"],
佐藤雏: ["Satou", "Hina"],
: ["Kagari"],
};
export default pinyins;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff