diff --git a/dist/manifest.json b/dist/manifest.json new file mode 100644 index 0000000..3e9db24 --- /dev/null +++ b/dist/manifest.json @@ -0,0 +1,2951 @@ +{ + "version": "2.0.1.0", + "generated_at": "2026-08-13T09:28:20.285659+00:00", + "algorithm": "sha256", + "file_count": 276, + "folder_sha256": "ab1c54fd1136e50f96b2cec7a419fd22bde8cf8df8f0e40dab842f0d4fb3aaec", + "core": [ + "extension.js", + "menu.js", + "function.js", + "update.js", + "mengsan/mode.js", + "mengsan/config.js", + "mengsan/state.js", + "mengsan/style.css", + "tianshu/extension.js", + "tianshu/config.js", + "pve/boss/index.js", + "pve/boss/character.js", + "pve/boss/skill.js", + "pve/boss/dynamicTranslate.js", + "pve/boss/translate.js" + ], + "assets": [ + "LICENSE", + "character/audio/zuoci/huashen_shuying1.mp3", + "character/audio/zuoci/huashen_shuying2.mp3", + "character/audio/zuoci/jihun_shuying1.mp3", + "character/audio/zuoci/jihun_shuying2.mp3", + "character/audio/zuoci/xinsheng_shuying1.mp3", + "character/audio/zuoci/xinsheng_shuying2.mp3", + "character/audio/zuoci/zuoci_shuying.mp3", + "character/character.js", + "character/characterFilter.js", + "character/characterTitle.js", + "character/dynamicTranslate.js", + "character/images/zuoci_shuying.jpg", + "character/index.js", + "character/intro.js", + "character/perfectPairs.js", + "character/skill.js", + "character/sort.js", + "character/translate.js", + "character/voices.js", + "extension.css", + "pve/audio/dead/十二生肖/chenlong.mp3", + "pve/audio/dead/十二生肖/chouniu.mp3", + "pve/audio/dead/十二生肖/haizhu.mp3", + "pve/audio/dead/十二生肖/maotu.mp3", + "pve/audio/dead/十二生肖/shenhou.mp3", + "pve/audio/dead/十二生肖/sishe.mp3", + "pve/audio/dead/十二生肖/weiyang.mp3", + "pve/audio/dead/十二生肖/wuma.mp3", + "pve/audio/dead/十二生肖/xvgou.mp3", + "pve/audio/dead/十二生肖/yinhu.mp3", + "pve/audio/dead/十二生肖/youji.mp3", + "pve/audio/dead/十二生肖/zishu.mp3", + "pve/audio/dead/天书乱斗/hanba_boss_shuying.mp3", + "pve/audio/dead/天书乱斗/kuafu_boss_shuying.mp3", + "pve/audio/dead/天书乱斗/xuannv_boss_shuying.mp3", + "pve/audio/dead/青青子衿/caocao_boss_shuying.mp3", + "pve/audio/dead/青青子衿/dongzhuo_boss_shuying.mp3", + "pve/audio/dead/青青子衿/lvbu_boss_shuying.mp3", + "pve/audio/dead/青青子衿/simayi_boss_shuying.mp3", + "pve/audio/dead/青青子衿/yuanshu_boss_shuying.mp3", + "pve/audio/dead/青青子衿/zhangjiao_boss_shuying.mp3", + "pve/audio/dead/驱鬼逐邪/guiwang.mp3", + "pve/audio/dead/驱鬼逐邪/heibaiwuchang.mp3", + "pve/audio/dead/驱鬼逐邪/niutoumamian.mp3", + "pve/audio/dead/驱鬼逐邪/riyeyoushen.mp3", + "pve/audio/skill/十二生肖/chenlong_shuying1.mp3", + "pve/audio/skill/十二生肖/chouniu_shuying1.mp3", + "pve/audio/skill/十二生肖/haizhu_shuying1.mp3", + "pve/audio/skill/十二生肖/moutu_shuying1.mp3", + "pve/audio/skill/十二生肖/shenhou_shuying1.mp3", + "pve/audio/skill/十二生肖/sishe_shuying1.mp3", + "pve/audio/skill/十二生肖/weiyang_shuying1.mp3", + "pve/audio/skill/十二生肖/wuma_shuying1.mp3", + "pve/audio/skill/十二生肖/xvgou_shuying1.mp3", + "pve/audio/skill/十二生肖/yinhu_shuying1.mp3", + "pve/audio/skill/十二生肖/youji_shuying1.mp3", + "pve/audio/skill/十二生肖/zishu_shuying1.mp3", + "pve/audio/skill/天书乱斗/dishi_shuying1.mp3", + "pve/audio/skill/天书乱斗/fenshi_shuying1.mp3", + "pve/audio/skill/天书乱斗/fenshi_shuying2.mp3", + "pve/audio/skill/天书乱斗/jiutian_shuying1.mp3", + "pve/audio/skill/天书乱斗/lieben_shuying1.mp3", + "pve/audio/skill/天书乱斗/xinji_shuying1.mp3", + "pve/audio/skill/天书乱斗/xinji_shuying2.mp3", + "pve/audio/skill/天书乱斗/xuanlie_shuying1.mp3", + "pve/audio/skill/天书乱斗/yinjiang_shuying1.mp3", + "pve/audio/skill/天书乱斗/zhiri_shuying1.mp3", + "pve/audio/skill/天书乱斗/zhiri_shuying2.mp3", + "pve/audio/skill/天书乱斗/zhuri_shuying1.mp3", + "pve/audio/skill/青青子衿/baonue_shuying1.mp3", + "pve/audio/skill/青青子衿/duoxi_shuying1.mp3", + "pve/audio/skill/青青子衿/fankui_shuying1.mp3", + "pve/audio/skill/青青子衿/guicai_shuying1.mp3", + "pve/audio/skill/青青子衿/guidao_shuying1.mp3", + "pve/audio/skill/青青子衿/jianxiong_shuying1.mp3", + "pve/audio/skill/青青子衿/jiuchi_shuying1.mp3", + "pve/audio/skill/青青子衿/langgu_shuying1.mp3", + "pve/audio/skill/青青子衿/leiji_shuying1.mp3", + "pve/audio/skill/青青子衿/lingba_shuying1.mp3", + "pve/audio/skill/青青子衿/qubu_shuying1.mp3", + "pve/audio/skill/青青子衿/roulin_shuying1.mp3", + "pve/audio/skill/青青子衿/shenij_shuying1.mp3", + "pve/audio/skill/青青子衿/shenij_shuying2.mp3", + "pve/audio/skill/青青子衿/wangzun_shuying1.mp3", + "pve/audio/skill/青青子衿/wushuang_shuying1.mp3", + "pve/audio/skill/青青子衿/wushuang_shuying2.mp3", + "pve/audio/skill/青青子衿/yinlei_shuying1.mp3", + "pve/audio/skill/青青子衿/yishen_shuying1.mp3", + "pve/audio/skill/青青子衿/yongsi_shuying1.mp3", + "pve/audio/skill/青青子衿/yuanlv_shuying1.mp3", + "pve/audio/skill/青青子衿/zhanjia_shuying1.mp3", + "pve/audio/skill/青青子衿/zhanjia_shuying2.mp3", + "pve/audio/skill/青青子衿/zhuzheng_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/anchao_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/aotang_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/bingyi_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/danshi_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/dianwei_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/duane_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/duzhen_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/eli_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/guimei_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/guixi_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/guizhao_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/huiyun_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/jizhou_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/manji_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/mingchong_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/mizui_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/qiangzheng_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/shiyu_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/suoxue_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/taiping_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/xiaoshou_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/xingpan_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/xixing_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/xuanpan_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/xuanpan_shuying2.mp3", + "pve/audio/skill/驱鬼逐邪/yezhong_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/yunju_shuying1.mp3", + "pve/audio/skill/驱鬼逐邪/zhoucha_shuying1.mp3", + "pve/boss/card.js", + "pve/boss/characterFilter.js", + "pve/boss/characterTitle.js", + "pve/boss/intro.js", + "pve/boss/merge.js", + "pve/boss/perfectPairs.js", + "pve/boss/pinyin.js", + "pve/boss/sets.js", + "pve/boss/sets/qingqingzijin/card.js", + "pve/boss/sets/qingqingzijin/character.js", + "pve/boss/sets/qingqingzijin/characterFilter.js", + "pve/boss/sets/qingqingzijin/characterTitle.js", + "pve/boss/sets/qingqingzijin/dynamicTranslate.js", + "pve/boss/sets/qingqingzijin/index.js", + "pve/boss/sets/qingqingzijin/intro.js", + "pve/boss/sets/qingqingzijin/perfectPairs.js", + "pve/boss/sets/qingqingzijin/pinyin.js", + "pve/boss/sets/qingqingzijin/skill.js", + "pve/boss/sets/qingqingzijin/sort.js", + "pve/boss/sets/qingqingzijin/translate.js", + "pve/boss/sets/qingqingzijin/voices.js", + "pve/boss/sets/shiershengxiao/card.js", + "pve/boss/sets/shiershengxiao/character.js", + "pve/boss/sets/shiershengxiao/characterFilter.js", + "pve/boss/sets/shiershengxiao/characterTitle.js", + "pve/boss/sets/shiershengxiao/dynamicTranslate.js", + "pve/boss/sets/shiershengxiao/index.js", + "pve/boss/sets/shiershengxiao/intro.js", + "pve/boss/sets/shiershengxiao/perfectPairs.js", + "pve/boss/sets/shiershengxiao/pinyin.js", + "pve/boss/sets/shiershengxiao/skill.js", + "pve/boss/sets/shiershengxiao/sort.js", + "pve/boss/sets/shiershengxiao/translate.js", + "pve/boss/sets/shiershengxiao/voices.js", + "pve/boss/sets/tianshu/card.js", + "pve/boss/sets/tianshu/character.js", + "pve/boss/sets/tianshu/characterFilter.js", + "pve/boss/sets/tianshu/characterTitle.js", + "pve/boss/sets/tianshu/dynamicTranslate.js", + "pve/boss/sets/tianshu/index.js", + "pve/boss/sets/tianshu/intro.js", + "pve/boss/sets/tianshu/perfectPairs.js", + "pve/boss/sets/tianshu/pinyin.js", + "pve/boss/sets/tianshu/skill.js", + "pve/boss/sets/tianshu/sort.js", + "pve/boss/sets/tianshu/translate.js", + "pve/boss/sets/tianshu/voices.js", + "pve/boss/sets/zhuoguiquxie/card.js", + "pve/boss/sets/zhuoguiquxie/character.js", + "pve/boss/sets/zhuoguiquxie/characterFilter.js", + "pve/boss/sets/zhuoguiquxie/characterTitle.js", + "pve/boss/sets/zhuoguiquxie/dynamicTranslate.js", + "pve/boss/sets/zhuoguiquxie/index.js", + "pve/boss/sets/zhuoguiquxie/intro.js", + "pve/boss/sets/zhuoguiquxie/perfectPairs.js", + "pve/boss/sets/zhuoguiquxie/pinyin.js", + "pve/boss/sets/zhuoguiquxie/skill.js", + "pve/boss/sets/zhuoguiquxie/sort.js", + "pve/boss/sets/zhuoguiquxie/translate.js", + "pve/boss/sets/zhuoguiquxie/voices.js", + "pve/boss/shared.js", + "pve/boss/sort.js", + "pve/boss/voices.js", + "pve/images/tianshu.jpg", + "pve/images/十二生肖/chenlong_boss_shuying.png", + "pve/images/十二生肖/chouniu_boss_shuying.png", + "pve/images/十二生肖/haizhu_boss_shuying.png", + "pve/images/十二生肖/maotu_boss_shuying.png", + "pve/images/十二生肖/shenhou_boss_shuying.png", + "pve/images/十二生肖/sishe_boss_shuying.png", + "pve/images/十二生肖/weiyang_boss_shuying.png", + "pve/images/十二生肖/wuma_boss_shuying.png", + "pve/images/十二生肖/xvgou_boss_shuying.png", + "pve/images/十二生肖/yinhu_boss_shuying.png", + "pve/images/十二生肖/youji_boss_shuying.png", + "pve/images/十二生肖/zishu_boss_shuying.png", + "pve/images/天书乱斗/baiqi_boss_shuying.png", + "pve/images/天书乱斗/hanba_boss_shuying.png", + "pve/images/天书乱斗/huoshenzhurong_boss_shuying.png", + "pve/images/天书乱斗/kuafu_boss_shuying.png", + "pve/images/天书乱斗/shaohao_boss_shuying.png", + "pve/images/天书乱斗/shuishengonggong_boss_shuying.png", + "pve/images/天书乱斗/xuannv_boss_shuying.png", + "pve/images/虚拟偶像/xiaojiu_xvni_shuying.png", + "pve/images/虚拟偶像/xiaole_xvni_shuying.png", + "pve/images/虚拟偶像/xiaosha_xvni_shuying.png", + "pve/images/虚拟偶像/xiaoshan_xvni_shuying.png", + "pve/images/虚拟偶像/xiaotao_xvni_shuying.png", + "pve/images/青青子衿/caocao_boss_shuying.jpg", + "pve/images/青青子衿/dongzhuo_boss_shuying.jpg", + "pve/images/青青子衿/lvbu_boss_shuying.jpg", + "pve/images/青青子衿/simayi_boss_shuying.jpg", + "pve/images/青青子衿/yuanshu_boss_shuying.jpg", + "pve/images/青青子衿/zhangjiao_boss_shuying.jpg", + "pve/images/驱鬼逐邪/baiwuchang_boss_shuying.png", + "pve/images/驱鬼逐邪/baowei_boss_shuying.png", + "pve/images/驱鬼逐邪/guiwang_boss_shuying.png", + "pve/images/驱鬼逐邪/heibaiwuchang_boss_shuying.png", + "pve/images/驱鬼逐邪/heiwuchang_boss_shuying.png", + "pve/images/驱鬼逐邪/huangfeng_boss_shuying.png", + "pve/images/驱鬼逐邪/mamian_boss_shuying.png", + "pve/images/驱鬼逐邪/mengpo_boss_shuying.png", + "pve/images/驱鬼逐邪/niaozui_boss_shuying.png", + "pve/images/驱鬼逐邪/niutou_boss_shuying.png", + "pve/images/驱鬼逐邪/niutoumamian_boss_shuying.png", + "pve/images/驱鬼逐邪/riyeyoushen_boss_shuying.png", + "pve/images/驱鬼逐邪/yanluowang_boss_shuying.png", + "pve/images/驱鬼逐邪/yvsai_boss_shuying.png", + "pve/images/龙舟/caoe_boss_shuying.png", + "pve/images/龙舟/hebo_boss_shuying.png", + "pve/images/龙舟/taoshen_boss_shuying.png", + "pve/images/龙舟/yuershen_boss_shuying.png", + "tianshu/bondSkills.js", + "tianshu/shuYing_Skill_Xvxiang1.mp3", + "update.txt", + "voices.js", + "yuanshen/extension.js", + "yuanshen/八重神子/1.jpg", + "yuanshen/八重神子/character.js", + "yuanshen/八重神子/shuYing_Shashengying1.mp3", + "yuanshen/八重神子/shuYing_Shashengying2.mp3", + "yuanshen/八重神子/shuYing_Shizuishi1.mp3", + "yuanshen/八重神子/shuYing_Shizuishi2.mp3", + "yuanshen/八重神子/shuYing_Shizuishi3.mp3", + "yuanshen/八重神子/shuYing_Shizuishi4.mp3", + "yuanshen/八重神子/shuYing_Tianhuxianzhen1.mp3", + "yuanshen/八重神子/shuYing_Tianhuxianzhen2.mp3", + "yuanshen/可莉/1.jpg", + "yuanshen/可莉/character.js", + "yuanshen/可莉/shuYing_Honghong1.mp3", + "yuanshen/可莉/shuYing_Honghong2.mp3", + "yuanshen/可莉/shuYing_Honghong3.mp3", + "yuanshen/可莉/shuYing_Lieyan1.mp3", + "yuanshen/可莉/shuYing_Lieyan_Damage1.mp3", + "yuanshen/可莉/shuYing_Lieyan_Damage2.mp3", + "yuanshen/可莉/shuYing_Lieyan_Damage3.mp3", + "yuanshen/可莉/shuYing_Pengpeng1.mp3", + "yuanshen/可莉/shuYing_Pengpeng2.mp3", + "yuanshen/可莉/shuYing_Pengpeng3.mp3" + ], + "remove": [], + "removeDirectories": [], + "files": { + "LICENSE": { + "size": 35147, + "sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903" + }, + "character/audio/zuoci/huashen_shuying1.mp3": { + "size": 120863, + "sha256": "6ba387a1629e1c20cb4c1cb654a99d9574d78a521f3f6bc93191dbf11e9985cc" + }, + "character/audio/zuoci/huashen_shuying2.mp3": { + "size": 157957, + "sha256": "58c2cc83085f3887b8ad85d9448154b95d711fac2a63e171e63d6bae348c61fc" + }, + "character/audio/zuoci/jihun_shuying1.mp3": { + "size": 117248, + "sha256": "22db1641f63955a99a009d6297c541492e585ca3ee18840bed9b27a5f79d67ad" + }, + "character/audio/zuoci/jihun_shuying2.mp3": { + "size": 141824, + "sha256": "19ddabc7d1c2646294e8fe69d8e96b6d25dfbfff3266aa2087f3af8048498e9e" + }, + "character/audio/zuoci/xinsheng_shuying1.mp3": { + "size": 125565, + "sha256": "91e6b58bcb82a4250362efc4c668dec6563d376a7f30450ada1c7871fb189baa" + }, + "character/audio/zuoci/xinsheng_shuying2.mp3": { + "size": 142806, + "sha256": "f23168f7c4052836de9c021cb5983dca09c18651568754c6606017bc0f4913f3" + }, + "character/audio/zuoci/zuoci_shuying.mp3": { + "size": 90038, + "sha256": "f330d2665fd2c9bb85cd4a80f596f44a283c715333a1bf8aafffa5ef030c5126" + }, + "character/character.js": { + "size": 360, + "sha256": "749cb31ca7b2f32f87f5a290b28009f14644d9b0f1a03a01530af1d12265a9da" + }, + "character/characterFilter.js": { + "size": 63, + "sha256": "92164cec19b58e3a27d92426fbe227c426dff1391b2f56b2329a676a5fc4faf7" + }, + "character/characterTitle.js": { + "size": 61, + "sha256": "f4be860d37d46261a6d45e30bce661d301d79d548aeef0bfc2e8ad67fe783cea" + }, + "character/dynamicTranslate.js": { + "size": 65, + "sha256": "d409295767b35e4867e5aa6fae92020f2a8943f71569af5539436648a345bd2f" + }, + "character/images/zuoci_shuying.jpg": { + "size": 222468, + "sha256": "ff13df281bd289d63033d2c52b8d31f2a9f0a8d9cdc0ad525db06b899411f4cb" + }, + "character/index.js": { + "size": 1002, + "sha256": "ef3dcf49147bead5a4b58c56aa23f983e7fda7c4769f276f1f228293f87acc33" + }, + "character/intro.js": { + "size": 61, + "sha256": "68187ccda36e322c0483a735e6de6e04e5d7ded9e6f6aa9a3e931f4400db2a5e" + }, + "character/perfectPairs.js": { + "size": 55, + "sha256": "7f2bd697eaaff284d2b356321a402a3cc7c0139ff6fdf339f6cbdd8da208a05f" + }, + "character/skill.js": { + "size": 15439, + "sha256": "ad6859ff3ed9e05e67b991f85961b85b21af4d486a76660d29305e962120bb94" + }, + "character/sort.js": { + "size": 112, + "sha256": "42cf6bb834aca4ff883aa196604f3d9d2d9047bb320cf56a633aae4ecbb5ce4c" + }, + "character/translate.js": { + "size": 1126, + "sha256": "dd6e076e058514a11b5912c0893474494af825bc646e01e12c514296dc1390ab" + }, + "character/voices.js": { + "size": 43, + "sha256": "d7f3da55f8b2e8bf77ace03bd4911497a4abb9e1f942555f7685337801278205" + }, + "extension.css": { + "size": 51738, + "sha256": "356aa9473ab72ad43850c13451fd15a25c6ce2d93678cd0dcba5568d10443b40" + }, + "extension.js": { + "size": 14743, + "sha256": "3dae019a7941072f2c8b67ce14f697f9d4aa0a8bebc4187e913da5468bd88955" + }, + "function.js": { + "size": 33746, + "sha256": "df1aa3102a214986723af365da1029485680519d355a1ff88973eb36f8a6f909" + }, + "mengsan/config.js": { + "size": 2211, + "sha256": "1283490af94dc3429330f6f7c192b1492b52d686018f2d68cb8482c0bc04e549" + }, + "mengsan/mode.js": { + "size": 22867, + "sha256": "88a707ac6b59160e9735770d649d8d1e5c695298628c924306b824cef7e1cc27" + }, + "mengsan/state.js": { + "size": 8175, + "sha256": "1096d195396f5a0fbe15c7d3627834cb3e415a5878c411eb41d9897af9abf46d" + }, + "mengsan/style.css": { + "size": 6859, + "sha256": "fdce7bb71f7290254d984a35415e5012f829ae9992765d1f3282f35528c1b92b" + }, + "menu.js": { + "size": 22310, + "sha256": "3a603a82bb80897cf809ba80ebd55bbf66634cdbe807ed33ad2e43d845d48211" + }, + "pve/audio/dead/十二生肖/chenlong.mp3": { + "size": 68757, + "sha256": "c59400dc4e2ed6de182c662e585711d3432aa3b302f440cd07f8f277431f7144" + }, + "pve/audio/dead/十二生肖/chouniu.mp3": { + "size": 65413, + "sha256": "3d948ab1d3410b707e5a2ca8d18cb7089e6645b673e0d38ebb8926cce0e117f1" + }, + "pve/audio/dead/十二生肖/haizhu.mp3": { + "size": 79624, + "sha256": "88d4613ab13bccc4139efaf7e7eb51156575d9999869432a7fd331cf01a84f26" + }, + "pve/audio/dead/十二生肖/maotu.mp3": { + "size": 52039, + "sha256": "6b52043e333e539b41190d4d4ef10dddb17c0d83ced6aee1440f7ba3f4d64bb9" + }, + "pve/audio/dead/十二生肖/shenhou.mp3": { + "size": 41590, + "sha256": "0448a8fca9e01c8e45e3773df49f587c905a1ce85f5a22c02f80013c0343340a" + }, + "pve/audio/dead/十二生肖/sishe.mp3": { + "size": 47441, + "sha256": "e77095a7a57e68d1336c4af3dff05a71a58a961e272f33b33a8d678f9984b32f" + }, + "pve/audio/dead/十二生肖/weiyang.mp3": { + "size": 50367, + "sha256": "4f76f2d3caf11514abd4b37ca0f018333e850b2085d585ea72204145139ceeb6" + }, + "pve/audio/dead/十二生肖/wuma.mp3": { + "size": 62070, + "sha256": "ab3368d1289b1cc49530624eddf159d59ace17ea2d307857594d603c84073425" + }, + "pve/audio/dead/十二生肖/xvgou.mp3": { + "size": 60398, + "sha256": "2c882f4fd9d5fe331ee54898e2b92f00acf484d1e9df50aa8e6aa8e9f26588d6" + }, + "pve/audio/dead/十二生肖/yinhu.mp3": { + "size": 77116, + "sha256": "f941d70b87b36c4b8f2eb760edf63a48e2f2c656536b610235cf5467488b99c2" + }, + "pve/audio/dead/十二生肖/youji.mp3": { + "size": 59562, + "sha256": "005575600947bd6ac5c97670e07b4140d968911d596a82e76d7b5c124b6325e5" + }, + "pve/audio/dead/十二生肖/zishu.mp3": { + "size": 55800, + "sha256": "6d4e0388dc7a03201998743cf2c9e345002580c00573cb7c020fbced61b79818" + }, + "pve/audio/dead/天书乱斗/hanba_boss_shuying.mp3": { + "size": 17297, + "sha256": "1eef36bdb352fb06cc88a51ca1d16a41e726423ea4ffa00dd4ba130ce7abab02" + }, + "pve/audio/dead/天书乱斗/kuafu_boss_shuying.mp3": { + "size": 50219, + "sha256": "d3d01433a134ec7733a45e12454de276bfd5de654e077a08817dc6fb0160dfe5" + }, + "pve/audio/dead/天书乱斗/xuannv_boss_shuying.mp3": { + "size": 57056, + "sha256": "7c22ad127a07a01743599e1671152eb05f164b9a990f513f0e607e64624cb017" + }, + "pve/audio/dead/青青子衿/caocao_boss_shuying.mp3": { + "size": 118668, + "sha256": "9d75a078f17e3d645c50d308901fdcf99da0532e5a239785c29416cba5cd105c" + }, + "pve/audio/dead/青青子衿/dongzhuo_boss_shuying.mp3": { + "size": 54275, + "sha256": "0dc28bcfad7592e49f9ad37cf2a005d0d86af862014b35f08032d89a3773f6b4" + }, + "pve/audio/dead/青青子衿/lvbu_boss_shuying.mp3": { + "size": 98188, + "sha256": "5895d9fdfd1fa849e5e7a780a169e8494896ac965b50d0db5946846d0cabcb50" + }, + "pve/audio/dead/青青子衿/simayi_boss_shuying.mp3": { + "size": 37856, + "sha256": "e16e5c74f5619f75cd4b952a5d74ae81138c820325b9b0682da558ec3eb1eba1" + }, + "pve/audio/dead/青青子衿/yuanshu_boss_shuying.mp3": { + "size": 122776, + "sha256": "859e59d44146f6ef07286b939acaa15b87de6b4b529fcd51c6f29708f7ff1bba" + }, + "pve/audio/dead/青青子衿/zhangjiao_boss_shuying.mp3": { + "size": 43185, + "sha256": "f51532c17e59d1b5ffe8c09ece871b3e563ccbeaa58486e1d0fe7ace74eb8356" + }, + "pve/audio/dead/驱鬼逐邪/guiwang.mp3": { + "size": 72116, + "sha256": "62360fc121a5a4f4f929c19a80d4c4f63a1812d57c1506d11492e93085d214c9" + }, + "pve/audio/dead/驱鬼逐邪/heibaiwuchang.mp3": { + "size": 60757, + "sha256": "32e5d699e76ed6237c2d29ddddaadb522f0a9e36c1da1a5c57ad5ed5eb2d8b82" + }, + "pve/audio/dead/驱鬼逐邪/niutoumamian.mp3": { + "size": 80822, + "sha256": "9a7c33b75ba3799ecadbe12031150e9921f8f878a588adc6207fc2188414236b" + }, + "pve/audio/dead/驱鬼逐邪/riyeyoushen.mp3": { + "size": 48889, + "sha256": "7bb22a88d326667253df464a3665a7f9ef8a04de4f10e142b455e5848c942be7" + }, + "pve/audio/skill/十二生肖/chenlong_shuying1.mp3": { + "size": 62905, + "sha256": "c46b30ad29ee2e8267f9980a2e9aa3bd789d798cfb3f3c365228f6f083a8b5cd" + }, + "pve/audio/skill/十二生肖/chouniu_shuying1.mp3": { + "size": 49949, + "sha256": "2e54102385815b4159ba3aa35bde87b9c65d42fcacec9030935a0242e7961ee4" + }, + "pve/audio/skill/十二生肖/haizhu_shuying1.mp3": { + "size": 26961, + "sha256": "6a18ce4e4e93a51713ab1493f33644155afda37402fc70aa86d6161247880fe2" + }, + "pve/audio/skill/十二生肖/moutu_shuying1.mp3": { + "size": 40754, + "sha256": "9b077ddb25ca9bf6049a74254d9a87f3093efa9e3e78dd68caa142ce5ce68667" + }, + "pve/audio/skill/十二生肖/shenhou_shuying1.mp3": { + "size": 34066, + "sha256": "5030646db02a0fd8de2c3665733fdf5c9af50f9cbd6b85591597a224deab106f" + }, + "pve/audio/skill/十二生肖/sishe_shuying1.mp3": { + "size": 58726, + "sha256": "a6b9e0eebdd3bb78e9e03e2cb97bd60277f3ae01e62318ffba345c41a8867703" + }, + "pve/audio/skill/十二生肖/weiyang_shuying1.mp3": { + "size": 50785, + "sha256": "419126a2a438eb0a5220d18059af42e2b400eb6c1730086880f12405e232e621" + }, + "pve/audio/skill/十二生肖/wuma_shuying1.mp3": { + "size": 30305, + "sha256": "1a57e5b8f3eefcf6172fb05ee5a7a1314e50b396526c0fe464a3659ccb493f41" + }, + "pve/audio/skill/十二生肖/xvgou_shuying1.mp3": { + "size": 53710, + "sha256": "a5b78b4d92d535d652725f56bfe2ff58c203007ec97b92954144b23496b113c4" + }, + "pve/audio/skill/十二生肖/yinhu_shuying1.mp3": { + "size": 31141, + "sha256": "5dd1f7bcc07736c0f6e204f0cd4bd3c0c5f6a53c561959683f2d49427ca2e341" + }, + "pve/audio/skill/十二生肖/youji_shuying1.mp3": { + "size": 53292, + "sha256": "279c283f8a05689ed8edddea7fe9081555acb2b33f95fd8535686cfd2b825013" + }, + "pve/audio/skill/十二生肖/zishu_shuying1.mp3": { + "size": 29469, + "sha256": "9259ab36cb01fc217110194ecd041e0c18ca3f79c9be5ee8c2084895675926ff" + }, + "pve/audio/skill/天书乱斗/dishi_shuying1.mp3": { + "size": 36880, + "sha256": "0a3ddd792bb1203b029e88497abb8cf2af8d939079e59491ce0f6da384d22fc9" + }, + "pve/audio/skill/天书乱斗/fenshi_shuying1.mp3": { + "size": 18727, + "sha256": "b4c4b0e738efe31c35832666ab66307c149dc6899e7e76004f44ef0eac0c5e3c" + }, + "pve/audio/skill/天书乱斗/fenshi_shuying2.mp3": { + "size": 18207, + "sha256": "9738a8844a2a47363297ba55c5558591225b7a8deb5de2e941764b5945bcde7c" + }, + "pve/audio/skill/天书乱斗/jiutian_shuying1.mp3": { + "size": 52571, + "sha256": "60ee41fb6da1eb3e2e095a5fd94f62b938956a2933a70fdcae25ead795a6c35a" + }, + "pve/audio/skill/天书乱斗/lieben_shuying1.mp3": { + "size": 38328, + "sha256": "0a900ec7b47e83b6164cd739f2cc1e9145d49db6afb5b5e2e69ba24f52e76b1d" + }, + "pve/audio/skill/天书乱斗/xinji_shuying1.mp3": { + "size": 19897, + "sha256": "982f5af2233ef665acadb6a8f20d579041cc1193ae6f52710e31cba4187102de" + }, + "pve/audio/skill/天书乱斗/xinji_shuying2.mp3": { + "size": 26137, + "sha256": "ca7ef203e544b50a5b5d2cb1660247a4a03fab79235a370dad63f7b808002408" + }, + "pve/audio/skill/天书乱斗/xuanlie_shuying1.mp3": { + "size": 52377, + "sha256": "d4a06b7e9e4c7d3eea51fec34231e28c83822832daa379cb2f639fb9cfb71312" + }, + "pve/audio/skill/天书乱斗/yinjiang_shuying1.mp3": { + "size": 44717, + "sha256": "f15beca09271c30b65d2d250bf84fb0a2fdda1a40e5d0b725187716fbdf41f86" + }, + "pve/audio/skill/天书乱斗/zhiri_shuying1.mp3": { + "size": 18077, + "sha256": "ab8fa7d09f3a664c2e86a790e0cd5d12aff4759a3e16cec5a4a1c86d569991d4" + }, + "pve/audio/skill/天书乱斗/zhiri_shuying2.mp3": { + "size": 18597, + "sha256": "acd8f6770a27d10726b6f7c38964cd2f5c05e204a65d3d193a7572d7bef417a2" + }, + "pve/audio/skill/天书乱斗/zhuri_shuying1.mp3": { + "size": 37542, + "sha256": "04f158b9c8a92d651aa10fa9663f521a45b6479088875b8a15d9f89ffdbfda38" + }, + "pve/audio/skill/青青子衿/baonue_shuying1.mp3": { + "size": 42049, + "sha256": "627d08b60c0f1077b74de11c8be40e22aa00740b67f0878c9ec7b99fe9728148" + }, + "pve/audio/skill/青青子衿/duoxi_shuying1.mp3": { + "size": 20476, + "sha256": "cc28dd8e8f474e02d8204bfa7525da6d9bef62fc6b097d2aa8236a3ad9ebcf18" + }, + "pve/audio/skill/青青子衿/fankui_shuying1.mp3": { + "size": 23296, + "sha256": "48027f1f9acd6565a33127e4dbea6ce404e0e5a7f9c4a2e2c010d238569f9580" + }, + "pve/audio/skill/青青子衿/guicai_shuying1.mp3": { + "size": 33904, + "sha256": "193d6ef68bc61d3e058a1b64fe349f08ccf5092318092eec7b017f76777b8de9" + }, + "pve/audio/skill/青青子衿/guidao_shuying1.mp3": { + "size": 36288, + "sha256": "41e676469edd523e00a2a3efeed3ae28b03a941647466e1ed966a579c8bb48f2" + }, + "pve/audio/skill/青青子衿/jianxiong_shuying1.mp3": { + "size": 66841, + "sha256": "cba3603b06a730e3a65e600ac3d930717e090b93da470373145784d1edbcec88" + }, + "pve/audio/skill/青青子衿/jiuchi_shuying1.mp3": { + "size": 66187, + "sha256": "f9cf8a703ee6bd21455c7ae94d94ef663f66b58c66b87b88e126c5aef9228481" + }, + "pve/audio/skill/青青子衿/langgu_shuying1.mp3": { + "size": 49363, + "sha256": "65077daf3f241c84d7fb094eed1b72bc85fb61f170ae7194125744c43cc91328" + }, + "pve/audio/skill/青青子衿/leiji_shuying1.mp3": { + "size": 28556, + "sha256": "1d6c9e9e1779a2733b25a547bfbb91e585deb8c05993cccf4cbe0ab31e1bb20f" + }, + "pve/audio/skill/青青子衿/lingba_shuying1.mp3": { + "size": 78544, + "sha256": "749a87ac8b203793c5d86a211f57b1c05665a6b6773b6d7643e3fc85239bef46" + }, + "pve/audio/skill/青青子衿/qubu_shuying1.mp3": { + "size": 48632, + "sha256": "bf45831f607da1d737a7c373219217fb81e9832e2acba772fede54600964fc99" + }, + "pve/audio/skill/青青子衿/roulin_shuying1.mp3": { + "size": 76218, + "sha256": "e8f7dfd9d7205e2ee2e48b6c69410ab7e61c0a1f49884a3ddb6662e5b4f5d43c" + }, + "pve/audio/skill/青青子衿/shenij_shuying1.mp3": { + "size": 85336, + "sha256": "3bcbdce44a5071f22da4d8fb9f481b6c5b6e0699bc7167ebf2049b18e9c35f27" + }, + "pve/audio/skill/青青子衿/shenij_shuying2.mp3": { + "size": 80112, + "sha256": "bf8139d20ca5bd8c351ddad9cb0bf4de3ccb76ce41630498dced0a63f9107145" + }, + "pve/audio/skill/青青子衿/wangzun_shuying1.mp3": { + "size": 98220, + "sha256": "6a022af97a73ed351c70eec2e3dee99c89faf5301a7c6494f96b15135336a1f5" + }, + "pve/audio/skill/青青子衿/wushuang_shuying1.mp3": { + "size": 70185, + "sha256": "d1fcfdb5591dc75f24607e7d5cacdb2c1be505fd5a4321cec4379b30a4e8ee96" + }, + "pve/audio/skill/青青子衿/wushuang_shuying2.mp3": { + "size": 64961, + "sha256": "f28014f8625a344395183e43c2999753f21a713fe4bb10e61a5be107f5515f11" + }, + "pve/audio/skill/青青子衿/yinlei_shuying1.mp3": { + "size": 37751, + "sha256": "f3d6c2b9211b9449dceac0659cc1606b4dcd23d443f3cf9511cfad56fad840b3" + }, + "pve/audio/skill/青青子衿/yishen_shuying1.mp3": { + "size": 83142, + "sha256": "74e7952802c46dd71b90e8dcb4e7f28c8936319e9598d35a7f6e907be930ad78" + }, + "pve/audio/skill/青青子衿/yongsi_shuying1.mp3": { + "size": 121208, + "sha256": "0bb47e02b23c2f081ab1d6a16004a41f8f9ade4f5c38d25e1524d1464add9e65" + }, + "pve/audio/skill/青青子衿/yuanlv_shuying1.mp3": { + "size": 33271, + "sha256": "5970922b1d22cd8d0aea8913d9ec6fb9cd7205138376376f6acc79c4010351ab" + }, + "pve/audio/skill/青青子衿/zhanjia_shuying1.mp3": { + "size": 74887, + "sha256": "97043c9bdb1767448f3db27c9b93057953546bd5508c73f023d8fe8a80c7ee5b" + }, + "pve/audio/skill/青青子衿/zhanjia_shuying2.mp3": { + "size": 97353, + "sha256": "b3be2b1ba6dc6d56c8290bdc63b6b9f649b6cac1030f35517b3e3862705a3472" + }, + "pve/audio/skill/青青子衿/zhuzheng_shuying1.mp3": { + "size": 33154, + "sha256": "516680e7bdaed978b59df34608756ceaede4e657b951a5b1ca42558235bf29d5" + }, + "pve/audio/skill/驱鬼逐邪/anchao_shuying1.mp3": { + "size": 167583, + "sha256": "ed7a272d02d27120403f0609ea46b4d7c3cdee6038e4a41fad8b6131cd466049" + }, + "pve/audio/skill/驱鬼逐邪/aotang_shuying1.mp3": { + "size": 61234, + "sha256": "fcbc95580168119636de36c286b97cb7c82734b5dd3be3ad1f155b95242478bf" + }, + "pve/audio/skill/驱鬼逐邪/bingyi_shuying1.mp3": { + "size": 59562, + "sha256": "4d0fc66b7c014a73f38d007b44f0e297f4c89f60a9e0c1e0bc89dc49de6558b8" + }, + "pve/audio/skill/驱鬼逐邪/danshi_shuying1.mp3": { + "size": 37072, + "sha256": "3b72a040db3a1c6ea263005b682f7cfe288319968f554a3e48d23e2f74b6f0e3" + }, + "pve/audio/skill/驱鬼逐邪/dianwei_shuying1.mp3": { + "size": 38505, + "sha256": "db780f51a2ffe8d6e000fe3dced37f68103ab3efdc775271349b66c689b2eee6" + }, + "pve/audio/skill/驱鬼逐邪/duane_shuying1.mp3": { + "size": 138661, + "sha256": "5d0b3cbf36a1afc6b54387044bf1f0340e9c8f8fbd930b30c76c66faf4ab4509" + }, + "pve/audio/skill/驱鬼逐邪/duzhen_shuying1.mp3": { + "size": 162965, + "sha256": "415d961902b13f5fb201d0d8203776d909810e4706e38ead4df14f27fc17eae9" + }, + "pve/audio/skill/驱鬼逐邪/eli_shuying1.mp3": { + "size": 66667, + "sha256": "fdc658c08650d244db6171ccc3ff1000a8c15cd7f273232012d9dd23fb2d829f" + }, + "pve/audio/skill/驱鬼逐邪/guimei_shuying1.mp3": { + "size": 70847, + "sha256": "4197185eb357f7a3dabc8f94e15baf86959f52f1b75de4c1ec469499d882a432" + }, + "pve/audio/skill/驱鬼逐邪/guixi_shuying1.mp3": { + "size": 165079, + "sha256": "fa052318af33693f7c94c19b3af98bedae646594a8e711d451da64c7e3343d3d" + }, + "pve/audio/skill/驱鬼逐邪/guizhao_shuying1.mp3": { + "size": 55307, + "sha256": "aaa97c11a5e5cdda233f5edc08373ac775d2726004b0c836ca3c9c5de492a644" + }, + "pve/audio/skill/驱鬼逐邪/huiyun_shuying1.mp3": { + "size": 140925, + "sha256": "337df12e5260011e853b50dbfd759c716bd0928e3d4f99b300bf97dd1907ec83" + }, + "pve/audio/skill/驱鬼逐邪/jizhou_shuying1.mp3": { + "size": 33894, + "sha256": "92dd5a462b05f979e53196d4d35059d000ce63ff1a9ceb8c2d1064c816684702" + }, + "pve/audio/skill/驱鬼逐邪/manji_shuying1.mp3": { + "size": 43834, + "sha256": "635bd0506fbaa8a2aa2b373ce8831f5494aa7f829bb1285376e49c50957a7246" + }, + "pve/audio/skill/驱鬼逐邪/mingchong_shuying1.mp3": { + "size": 161713, + "sha256": "c4172728884f1bd2e4a08583327f3c08f4d97c0a1448869d0b2789b88d7ab70c" + }, + "pve/audio/skill/驱鬼逐邪/mizui_shuying1.mp3": { + "size": 263385, + "sha256": "42ad74b6cfd7bd8befd7b92e184ddcedbcfc0d03b87fe34f431ace3029f1d0cf" + }, + "pve/audio/skill/驱鬼逐邪/qiangzheng_shuying1.mp3": { + "size": 182005, + "sha256": "00b1340862233e32a2951408222b5199934a7d9e5e9273b41f539029a3f9b338" + }, + "pve/audio/skill/驱鬼逐邪/shiyu_shuying1.mp3": { + "size": 59040, + "sha256": "7207807ca95ae00cf08682bb8a7d98c6b08a237ab0848bfdffcaaea033ff1f4a" + }, + "pve/audio/skill/驱鬼逐邪/suoxue_shuying1.mp3": { + "size": 64995, + "sha256": "314be7e1b07aa370e86167f7ef2a489de9c93037ac96f6bd1c69cc64e787fd54" + }, + "pve/audio/skill/驱鬼逐邪/taiping_shuying1.mp3": { + "size": 176371, + "sha256": "3fc93c12aa18905066e7bb888cb65bd8f72fce77a71c511bb6311bee4cad4dc7" + }, + "pve/audio/skill/驱鬼逐邪/xiaoshou_shuying1.mp3": { + "size": 41954, + "sha256": "78458f9488f349c4e76c08c42071c31782a4bdd6fbda0f0acca247c4fa57f04d" + }, + "pve/audio/skill/驱鬼逐邪/xingpan_shuying1.mp3": { + "size": 91763, + "sha256": "8c46e26869d68a632b54dad60e786d8619c6b7dac17ebcb332db8a66d42f80e8" + }, + "pve/audio/skill/驱鬼逐邪/xixing_shuying1.mp3": { + "size": 181379, + "sha256": "a553a85e898f534f270902e9d00e60e2821dbbe9a6deb344f08c6080eedf9a5c" + }, + "pve/audio/skill/驱鬼逐邪/xuanpan_shuying1.mp3": { + "size": 84795, + "sha256": "0449dfff43b748208ddd0df5202a2bb0ecc99e09bed27f16c314378fa00cba10" + }, + "pve/audio/skill/驱鬼逐邪/xuanpan_shuying2.mp3": { + "size": 79398, + "sha256": "39e7c45efa5502645b61a8de29c1ab9c380fced3be58b78caab0607ad183dd38" + }, + "pve/audio/skill/驱鬼逐邪/yezhong_shuying1.mp3": { + "size": 157201, + "sha256": "d5e4498f1f1775237ccc4987c1ad47483b23e3bdb653995cb85ced6cf1c2d224" + }, + "pve/audio/skill/驱鬼逐邪/yunju_shuying1.mp3": { + "size": 57472, + "sha256": "afa7538f321ffe3ab23f53cba62967b8b2db9141e9a2c8860c8b51d4310d9f22" + }, + "pve/audio/skill/驱鬼逐邪/zhoucha_shuying1.mp3": { + "size": 153445, + "sha256": "ab0ec7394ee47c6d2b71a2a6617e854c9a6725a965af693ef18ce3b659e9fedd" + }, + "pve/boss/card.js": { + "size": 171, + "sha256": "3c0a2d89226ed8ea5dfb5238221d63b117a6624e027cde03ba6671dfd5548c2c" + }, + "pve/boss/character.js": { + "size": 260, + "sha256": "3777e2a7cc00bf3b6e9842f65acf314df2786cb8596ee213254e074738782de4" + }, + "pve/boss/characterFilter.js": { + "size": 210, + "sha256": "e0cffda20018e8abb3c208359221633f049c77d9246bfc492f740430162c05a1" + }, + "pve/boss/characterTitle.js": { + "size": 207, + "sha256": "f28a5994a540f50851a2a8c66733e8d326f8de59169f2f22a556243837cf0bc2" + }, + "pve/boss/dynamicTranslate.js": { + "size": 287, + "sha256": "924be3ff97147ac8f113eb35ef1aeadab0b3227b1eca61fe5d4d5197242ced30" + }, + "pve/boss/index.js": { + "size": 1137, + "sha256": "578e2c7f50e42c5e92b445e9bcf0dafa68f28ff2415877c4b1ff492783152372" + }, + "pve/boss/intro.js": { + "size": 207, + "sha256": "6fe542ceb77e006a80810c95145b614ae13487acad5abd59059652417dbfb3ac" + }, + "pve/boss/merge.js": { + "size": 940, + "sha256": "47e0aa7f324b0e8d13737aa07065a18bef69049a6c4c5eafd61996024e84b387" + }, + "pve/boss/perfectPairs.js": { + "size": 198, + "sha256": "228d84d6013ad2b11f789363854bc05dcfe259fdfadaee84acb95421497927ca" + }, + "pve/boss/pinyin.js": { + "size": 178, + "sha256": "34acc90748a2ce6de749d841e371b11a75bd169b782d6bd2672cb50a70bdb21b" + }, + "pve/boss/sets.js": { + "size": 502, + "sha256": "78de634dd7eebc7b6657b23bafa74ea274568e303179eb489f052bae1d19d044" + }, + "pve/boss/sets/qingqingzijin/card.js": { + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "pve/boss/sets/qingqingzijin/character.js": { + "size": 2464, + "sha256": "8f7b1710cec7d7d90f62127330abb838163d91c29603fab7b8920711b1ec31e7" + }, + "pve/boss/sets/qingqingzijin/characterFilter.js": { + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "pve/boss/sets/qingqingzijin/characterTitle.js": { + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "pve/boss/sets/qingqingzijin/dynamicTranslate.js": { + "size": 4248, + "sha256": "13ef52691ea5f23176608b21471d80e03285941e7687f69c3c93af5aeccf7e64" + }, + "pve/boss/sets/qingqingzijin/index.js": { + "size": 1002, + "sha256": "850ce3d5771d926310a26293d40e9724c2dca292bb178d121d69a251e089ef26" + }, + "pve/boss/sets/qingqingzijin/intro.js": { + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "pve/boss/sets/qingqingzijin/perfectPairs.js": { + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pve/boss/sets/qingqingzijin/pinyin.js": { + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "pve/boss/sets/qingqingzijin/skill.js": { + "size": 32647, + "sha256": "c8d59ee3938a960416cf21330d3b5561d9bc63ad2b65db790de7791058bdb437" + }, + "pve/boss/sets/qingqingzijin/sort.js": { + "size": 340, + "sha256": "c14a970e669bff9a46fa95a1fe225c6256c7b6bf5904255d86ae7193a2fbb247" + }, + "pve/boss/sets/qingqingzijin/translate.js": { + "size": 4639, + "sha256": "e802c830329f35d2619cd1b0573699bf7f43cb3da7bc4bdc10344620793187aa" + }, + "pve/boss/sets/qingqingzijin/voices.js": { + "size": 46, + "sha256": "54787af1d4efcd35f20c5eca55db2e60f0cd160d7fed728440542f118e7ae44a" + }, + "pve/boss/sets/shiershengxiao/card.js": { + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "pve/boss/sets/shiershengxiao/character.js": { + "size": 4340, + "sha256": "90b33dfe2843a1fbef325fd4c0e56c72e603d67b6d80858d7f78fc4092f7a33b" + }, + "pve/boss/sets/shiershengxiao/characterFilter.js": { + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "pve/boss/sets/shiershengxiao/characterTitle.js": { + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "pve/boss/sets/shiershengxiao/dynamicTranslate.js": { + "size": 68, + "sha256": "906eb5fd3a454b60015c93756f9c7c5314a226972b9361b227d498d28bae1544" + }, + "pve/boss/sets/shiershengxiao/index.js": { + "size": 1002, + "sha256": "7f38b79454730d249bac4b13644338e8f92e962f69e6bdb547540e7b296d5d34" + }, + "pve/boss/sets/shiershengxiao/intro.js": { + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "pve/boss/sets/shiershengxiao/perfectPairs.js": { + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pve/boss/sets/shiershengxiao/pinyin.js": { + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "pve/boss/sets/shiershengxiao/skill.js": { + "size": 15413, + "sha256": "e180512e49aa6f9274253c70d56987080a61ec0388999a3cbec269024ffe8306" + }, + "pve/boss/sets/shiershengxiao/sort.js": { + "size": 406, + "sha256": "be03f8ab9f2be5c32ea37df8f058788fd19750ede246e2038406c90dc6ce2cea" + }, + "pve/boss/sets/shiershengxiao/translate.js": { + "size": 2941, + "sha256": "c2f770ecea7c27a54fc665c621dc95655e9a827836990fd9eee65dd327ddbd31" + }, + "pve/boss/sets/shiershengxiao/voices.js": { + "size": 1507, + "sha256": "45e6a08bfe638bbc2f79edd7642e1303090c8e81be65fce9886199563bc95311" + }, + "pve/boss/sets/tianshu/card.js": { + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "pve/boss/sets/tianshu/character.js": { + "size": 2509, + "sha256": "97ae40a03a777ce170d4ddef64132d071b5b379574ed87ec326f10ca52ca3e2f" + }, + "pve/boss/sets/tianshu/characterFilter.js": { + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "pve/boss/sets/tianshu/characterTitle.js": { + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "pve/boss/sets/tianshu/dynamicTranslate.js": { + "size": 5803, + "sha256": "15e4e97f0ab62f916f1fd42966ad93c18748bf9ef56ecd2f56d97be62b9ece70" + }, + "pve/boss/sets/tianshu/index.js": { + "size": 1002, + "sha256": "cc538ae9e76177c89ca2e67edde68d68f371700a802cc9d5348e521a8e664b68" + }, + "pve/boss/sets/tianshu/intro.js": { + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "pve/boss/sets/tianshu/perfectPairs.js": { + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pve/boss/sets/tianshu/pinyin.js": { + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "pve/boss/sets/tianshu/skill.js": { + "size": 23174, + "sha256": "2768ff21576e5d9a55b1d97d9bb866060370e342cb95f9cd5be0e341470acced" + }, + "pve/boss/sets/tianshu/sort.js": { + "size": 400, + "sha256": "42238b8b9a1a1fcbdd4f6d2f8092a49558ef923a1443f07f57371f40bd4506c4" + }, + "pve/boss/sets/tianshu/translate.js": { + "size": 4799, + "sha256": "baa234a4f9b902e647f0df3a5189ac65312332fa20c998727c855d9afad0c56c" + }, + "pve/boss/sets/tianshu/voices.js": { + "size": 609, + "sha256": "020d42f5a8ab6cfe2189de4f8b27aea2f5eb8f0c92eabeccc30a69311fc684bb" + }, + "pve/boss/sets/zhuoguiquxie/card.js": { + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "pve/boss/sets/zhuoguiquxie/character.js": { + "size": 3411, + "sha256": "c6a79c1c08f94156276fcaa45236f9bc2166a4e2e0351f286981ef5dac5c73dc" + }, + "pve/boss/sets/zhuoguiquxie/characterFilter.js": { + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "pve/boss/sets/zhuoguiquxie/characterTitle.js": { + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "pve/boss/sets/zhuoguiquxie/dynamicTranslate.js": { + "size": 7041, + "sha256": "fadb1892b7209b031674f31ecbb4932a27ede38ad649a42ec689f4db1b02bf78" + }, + "pve/boss/sets/zhuoguiquxie/index.js": { + "size": 1002, + "sha256": "892502aaa8fdf6cf1874ab8e564504053ae8168d37c41e2abcb1546e9f90357d" + }, + "pve/boss/sets/zhuoguiquxie/intro.js": { + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "pve/boss/sets/zhuoguiquxie/perfectPairs.js": { + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pve/boss/sets/zhuoguiquxie/pinyin.js": { + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "pve/boss/sets/zhuoguiquxie/skill.js": { + "size": 43229, + "sha256": "81c625e3f4c1ec77dea2556dc391182e241811b84d92dbfa4b72ebb50b604817" + }, + "pve/boss/sets/zhuoguiquxie/sort.js": { + "size": 390, + "sha256": "3855904cdc28e6301b9f9177b6c8e04d943ef44fd002a2ce83de5aab7572930c" + }, + "pve/boss/sets/zhuoguiquxie/translate.js": { + "size": 6787, + "sha256": "e714d7facef185ca0977521db78f327622a902c9b0659293d180c59f66179627" + }, + "pve/boss/sets/zhuoguiquxie/voices.js": { + "size": 2115, + "sha256": "d93f873a87649d413d1fc7b827c8bdb01e5f61cc11d9650f64b59de9d575e9e1" + }, + "pve/boss/shared.js": { + "size": 416, + "sha256": "9c0c7b0757172078f920a91cc27569456c2d1e3134130391c88ec5ab86370f79" + }, + "pve/boss/skill.js": { + "size": 271, + "sha256": "dcfad38fde564a88baba111100cd9b121e156478e16c8b31a286adbb0aeffd23" + }, + "pve/boss/sort.js": { + "size": 330, + "sha256": "f7ec05f54d771ded03a4c50b1b56a6b4e48cf530e4755796a879edd714278334" + }, + "pve/boss/translate.js": { + "size": 272, + "sha256": "f58cf928b22b712fcb374f19e5fd3343d4035e2702388b0d09b11abdd1499376" + }, + "pve/boss/voices.js": { + "size": 682, + "sha256": "a72b8a89b18f393665e773678630422bb8dd115abc6cb668374a7057be8659cb" + }, + "pve/images/tianshu.jpg": { + "size": 250592, + "sha256": "41279c75555900dc0b7838b4fd9fcdfb31f0665a58d1dd0939b3e8466dd1225d" + }, + "pve/images/十二生肖/chenlong_boss_shuying.png": { + "size": 640131, + "sha256": "295461a9645027b49b77ace76ae27d3c982a9b9725bcaee061e08486b0b6417d" + }, + "pve/images/十二生肖/chouniu_boss_shuying.png": { + "size": 539618, + "sha256": "dd32bf059e65ee0d2e3e0858ef3f2e06d1b6004c4c6d709df3a2504d9a57b6e0" + }, + "pve/images/十二生肖/haizhu_boss_shuying.png": { + "size": 603527, + "sha256": "ee86311fc07b564e5ad548ec1f87f327a997cfea5be8ce5e196d86015f2f5290" + }, + "pve/images/十二生肖/maotu_boss_shuying.png": { + "size": 550227, + "sha256": "f6ab7a72a491d62c3da45eff30e6549541c817af045bdd3637dbb005d315a680" + }, + "pve/images/十二生肖/shenhou_boss_shuying.png": { + "size": 532102, + "sha256": "0b7dcb96cec2720ccf93c925e3589486b6988b6e01b455093409b6afcde8d6c6" + }, + "pve/images/十二生肖/sishe_boss_shuying.png": { + "size": 595306, + "sha256": "9474fb7924ba2a72ebfedcf74c4b93302717cbc11ee07760f5dcd004f3bb550d" + }, + "pve/images/十二生肖/weiyang_boss_shuying.png": { + "size": 645101, + "sha256": "20ee22a70f4ad14b6640c29c3df60b5ad0efb44a21a3a729aef68971a0061276" + }, + "pve/images/十二生肖/wuma_boss_shuying.png": { + "size": 613392, + "sha256": "02177ccf6bf619c69df89a64d99d39e75b42dfcd28f10855abdc372946e82d96" + }, + "pve/images/十二生肖/xvgou_boss_shuying.png": { + "size": 529986, + "sha256": "8739d5e721ac60018d1447c6b88a8526cc94b59ab94596b2c65ebf0e1dae7025" + }, + "pve/images/十二生肖/yinhu_boss_shuying.png": { + "size": 649795, + "sha256": "7d04e0fce9fafac5e950b4e3c5e8d632ab96af5d19a68b854afcc9873dcbfda2" + }, + "pve/images/十二生肖/youji_boss_shuying.png": { + "size": 541535, + "sha256": "ab77742d979f642cf5fc3ca03b3bc4726b7150ed5fda477cdb2d041ff77994e5" + }, + "pve/images/十二生肖/zishu_boss_shuying.png": { + "size": 666615, + "sha256": "45ab0411802c8e9bc946afc49def9aafda2bbe0e1dec03c32c1649a69693b612" + }, + "pve/images/天书乱斗/baiqi_boss_shuying.png": { + "size": 797095, + "sha256": "46229cdb70ccf4ec541ce9b56c7a1f6c15c09b169bde592378393107cb3aa3d3" + }, + "pve/images/天书乱斗/hanba_boss_shuying.png": { + "size": 588380, + "sha256": "352c79e97290f8dc2d015ef28c6a93a67ecf1b8717252fdaea996ff699a1754c" + }, + "pve/images/天书乱斗/huoshenzhurong_boss_shuying.png": { + "size": 643230, + "sha256": "bd34d1c42e44f44ad9f6240fdae54d76a18b1e25efb9e991db41d10b5c7691b1" + }, + "pve/images/天书乱斗/kuafu_boss_shuying.png": { + "size": 836115, + "sha256": "9b016aa4a7aecae8a48ebe38059e117f1fe6a2247cc943f9a0770091791492c5" + }, + "pve/images/天书乱斗/shaohao_boss_shuying.png": { + "size": 711440, + "sha256": "ca847b86d0c22878a062b11ff240accaa538dfad7558f173d425c71078f4a1c5" + }, + "pve/images/天书乱斗/shuishengonggong_boss_shuying.png": { + "size": 773985, + "sha256": "90450b2a87205bef389d4fc720c68a3cfb373620b41cd56e012d20d5200973ed" + }, + "pve/images/天书乱斗/xuannv_boss_shuying.png": { + "size": 548495, + "sha256": "df4acdc59a400fa29db8982ccfb89aad9ea975474119a5c0979d6f1b5d8b1cd2" + }, + "pve/images/虚拟偶像/xiaojiu_xvni_shuying.png": { + "size": 742108, + "sha256": "f5e6012fcc874f4b14497d6b0bf4dd1f909fa36f85fc0f9dc1bd8fbac82aefc4" + }, + "pve/images/虚拟偶像/xiaole_xvni_shuying.png": { + "size": 760024, + "sha256": "d2636ea6d492dd5a9f4bda8a3e60e5c198282144f6acb0b601030ede30cab13c" + }, + "pve/images/虚拟偶像/xiaosha_xvni_shuying.png": { + "size": 711605, + "sha256": "b34b1ad8235191cb2fbd7f0b5f1bc883f4672a1ff72fcee616656099670810da" + }, + "pve/images/虚拟偶像/xiaoshan_xvni_shuying.png": { + "size": 669914, + "sha256": "e0fdbcf2cde0fe19216f27f9112eccb8cb2fda83166fde8fb8a8f14fd7683e9a" + }, + "pve/images/虚拟偶像/xiaotao_xvni_shuying.png": { + "size": 780159, + "sha256": "6c22d112acaf8ab0421b9919cb20fa0841ab7d96a59c43c3839ec4c4a265e516" + }, + "pve/images/青青子衿/caocao_boss_shuying.jpg": { + "size": 678999, + "sha256": "60e8b6ac74e796e42b6cab9bf7c422f8822df247ee322c7a011d43b089db20e0" + }, + "pve/images/青青子衿/dongzhuo_boss_shuying.jpg": { + "size": 4020802, + "sha256": "c07bea94f14a11b260db61e08d50571f71d1937170f16d3a61ed4261880d9e4d" + }, + "pve/images/青青子衿/lvbu_boss_shuying.jpg": { + "size": 593292, + "sha256": "6787f2d322dcb02edc41bb282388623ac6d1fe9bd5966ba6fe017a7cb2bbe929" + }, + "pve/images/青青子衿/simayi_boss_shuying.jpg": { + "size": 7770307, + "sha256": "4752a33861a9ed55633de356e60819a73918cc99c82f3c0544a0befc29515473" + }, + "pve/images/青青子衿/yuanshu_boss_shuying.jpg": { + "size": 2155807, + "sha256": "8a332adf1450a3300359294f0d4f393b160ef6a75cf2853ef19f881e49e6c857" + }, + "pve/images/青青子衿/zhangjiao_boss_shuying.jpg": { + "size": 724819, + "sha256": "b36661396b6d2066f6d7dabdb6416f5e33688183b219af58577984d81fa0e6aa" + }, + "pve/images/驱鬼逐邪/baiwuchang_boss_shuying.png": { + "size": 593197, + "sha256": "8c371dbe3fd33384482f6f3ed673e7717927e5d8c1d731b8a939b65ddcd373b9" + }, + "pve/images/驱鬼逐邪/baowei_boss_shuying.png": { + "size": 604578, + "sha256": "66e4599e73de11f8663d911755cd108717c6165d672a8a91d03ebb833c7f2d13" + }, + "pve/images/驱鬼逐邪/guiwang_boss_shuying.png": { + "size": 696250, + "sha256": "7196ed36bae58955db38be7d24101337cd83f4cfd89fac00d5ac609717899cc0" + }, + "pve/images/驱鬼逐邪/heibaiwuchang_boss_shuying.png": { + "size": 703435, + "sha256": "ac9cccba3d2b926c2dd84aefba32ab0a9ee5d3edade78003f9ffdc2c48368f0d" + }, + "pve/images/驱鬼逐邪/heiwuchang_boss_shuying.png": { + "size": 514674, + "sha256": "84b0ad42705843c74144f3ca655a411e2d10c0250c9733bf53e39c64fb7c64ac" + }, + "pve/images/驱鬼逐邪/huangfeng_boss_shuying.png": { + "size": 635820, + "sha256": "2f6e94bad08dab522562f9b8658af365b8bce4a8d57fad346e3343036028c632" + }, + "pve/images/驱鬼逐邪/mamian_boss_shuying.png": { + "size": 622621, + "sha256": "4f384d37b195249cee61b352808b19b9d3c982b2153e94fcdd847553f44ae695" + }, + "pve/images/驱鬼逐邪/mengpo_boss_shuying.png": { + "size": 612824, + "sha256": "62af68a30166d9a83ea3b3077f1c204124fc8ec8e59fc69940e23ab5874f0c34" + }, + "pve/images/驱鬼逐邪/niaozui_boss_shuying.png": { + "size": 631940, + "sha256": "7b72408ca47a2bd37c887f74b18410a8bda1c56ebf3cd4714ea40480a69450ba" + }, + "pve/images/驱鬼逐邪/niutou_boss_shuying.png": { + "size": 583418, + "sha256": "6b15969118d9eb97a35afff4b28a0396156b1d8ba2e9bb56a2de9501ff1899a0" + }, + "pve/images/驱鬼逐邪/niutoumamian_boss_shuying.png": { + "size": 734405, + "sha256": "9879fc5592f15754cafa73411db9eca47b8cba863f58be5c09e307202b792090" + }, + "pve/images/驱鬼逐邪/riyeyoushen_boss_shuying.png": { + "size": 721592, + "sha256": "8269962db8806ce31e9000f6e4878790364bc7ca2655d8d9be961a13d5fdb433" + }, + "pve/images/驱鬼逐邪/yanluowang_boss_shuying.png": { + "size": 652776, + "sha256": "e9d7d18f53b4d28add79aa677eeaf910f42af989ff0eaa3168de1bedbbb8ad7d" + }, + "pve/images/驱鬼逐邪/yvsai_boss_shuying.png": { + "size": 669705, + "sha256": "bf3938a0114920cf6687c51b11709e6ad81a4575f5a9d992767110d43f93b139" + }, + "pve/images/龙舟/caoe_boss_shuying.png": { + "size": 558756, + "sha256": "3048dc84f6155156a74a8cd73e63966c9c7d7f05ca4c1739f9caa032fdc470cb" + }, + "pve/images/龙舟/hebo_boss_shuying.png": { + "size": 721105, + "sha256": "805cf95f9a1030e36b843d64220451841dce52da26d3b4c11c28cb49c3052d0d" + }, + "pve/images/龙舟/taoshen_boss_shuying.png": { + "size": 588114, + "sha256": "9c194616195d12dac97a1b4faf065a2c0bf1e0ab2e06380d52370bb5d000934d" + }, + "pve/images/龙舟/yuershen_boss_shuying.png": { + "size": 694241, + "sha256": "15adcfb80bd22035c604703005ae22d1721eeafcc0a1ee09c89c73713cd3d03a" + }, + "tianshu/bondSkills.js": { + "size": 40151, + "sha256": "c2a7925e56b9baeb8812e8762e8dc2b471908c9d2faf9a0b3ebb3f7792afacb4" + }, + "tianshu/config.js": { + "size": 29131, + "sha256": "5f23724ecad5141ed98674919282ec8fd53e666f23adb6f097dd14be466402ed" + }, + "tianshu/extension.js": { + "size": 64398, + "sha256": "3e6934e7281bf84e40fd28ea12bee02272573ee1dbba9421c45823677e45021c" + }, + "tianshu/shuYing_Skill_Xvxiang1.mp3": { + "size": 15451, + "sha256": "41914d7d542ddfb93c89aefffc245869d63a9fb2f52293df8e6667009832afd8" + }, + "update.js": { + "size": 24145, + "sha256": "7594c68dd1308de5fd13ea7e76fde665a296400a7505b32054bf0d149986bb05" + }, + "update.txt": { + "size": 2901, + "sha256": "6ce45269f253f8fb42665ba3fc14a1ac8a5e48d60b9cb5c6fe5beccb9336cc2f" + }, + "voices.js": { + "size": 1711, + "sha256": "975c58fe201cbbc0027af5038504064382a195df278085a75eca03b2ddace75a" + }, + "yuanshen/extension.js": { + "size": 1082, + "sha256": "a630d543c3648700cb2e3525588643382a0d72779aa8725ee5ecaa7ceaf48d0e" + }, + "yuanshen/八重神子/1.jpg": { + "size": 331322, + "sha256": "e7a5f5d79278582e93c1b5277bc823f57c4e1ad2ce85ffa7d43ef1187aa5a5d7" + }, + "yuanshen/八重神子/character.js": { + "size": 12302, + "sha256": "2a3dbbc035f9a6595906a3bce88b192bf521f94cab0b6f12df5833da3c2f6c4e" + }, + "yuanshen/八重神子/shuYing_Shashengying1.mp3": { + "size": 15466, + "sha256": "78d65b08c36c9de3e4872864cf1c56ae83afad2b3909e47809ce088e5094e53d" + }, + "yuanshen/八重神子/shuYing_Shashengying2.mp3": { + "size": 51411, + "sha256": "68cc826504f35d00a47924483d8cbd7151951f1f543dbbcccb124dd08e436a8b" + }, + "yuanshen/八重神子/shuYing_Shizuishi1.mp3": { + "size": 87385, + "sha256": "ea491c16ae35fefb1eefd847367e9572c675543236accd8aa0ae4bf542d4989f" + }, + "yuanshen/八重神子/shuYing_Shizuishi2.mp3": { + "size": 15588, + "sha256": "b6fa8eb8531aeb3ecc819bf45ba394d0d2fc147e3de93a58cc8af181e9b00dc5" + }, + "yuanshen/八重神子/shuYing_Shizuishi3.mp3": { + "size": 64467, + "sha256": "11dc706d7d84f34c060d3a5252496e963a932f9534c5e15614d9186c388e69e3" + }, + "yuanshen/八重神子/shuYing_Shizuishi4.mp3": { + "size": 18087, + "sha256": "b5c758c0e631e71e4896276e6c948f6e9748d22d92498058e55893de0ad9135f" + }, + "yuanshen/八重神子/shuYing_Tianhuxianzhen1.mp3": { + "size": 81315, + "sha256": "7c4f4a6bc64eaa75b458d1cff5cb0a29ef9629eb7451349d87f9099b888f5e94" + }, + "yuanshen/八重神子/shuYing_Tianhuxianzhen2.mp3": { + "size": 119436, + "sha256": "1a728ba036015b245e02d6d9048a1b4c4912d9dff9c65b4c3c7203501346c4aa" + }, + "yuanshen/可莉/1.jpg": { + "size": 162111, + "sha256": "7664f30a84fcdf24b7d8719db74e89de97dca904fec62e514e5a611bae21d0cd" + }, + "yuanshen/可莉/character.js": { + "size": 11072, + "sha256": "3ee1fc9fcf08ac0d1fa9a6f2e617a7a95a45d2cd313415f66906f64ec9299bf4" + }, + "yuanshen/可莉/shuYing_Honghong1.mp3": { + "size": 134764, + "sha256": "7cc7e8f3557193ee38d5b0ab2935171ad318167598f3c87ce103395262461c3f" + }, + "yuanshen/可莉/shuYing_Honghong2.mp3": { + "size": 17073, + "sha256": "8f7077498c6c640e716091c97a243bedb94f5d7aedee7eff820a226e78c6f961" + }, + "yuanshen/可莉/shuYing_Honghong3.mp3": { + "size": 12432, + "sha256": "c6c9d4159ca783a842bd164ee275b583b4b2f754060ab1f3fe23e1f715faf4c6" + }, + "yuanshen/可莉/shuYing_Lieyan1.mp3": { + "size": 40584, + "sha256": "8e81a21f608f9646430c7435762b0ee666d95795110bf40a454fdb834b1cf445" + }, + "yuanshen/可莉/shuYing_Lieyan_Damage1.mp3": { + "size": 35919, + "sha256": "c763f23f3e636a8f990ce77259a4c85e54687254ae9dde1c386d7350dd47e9e6" + }, + "yuanshen/可莉/shuYing_Lieyan_Damage2.mp3": { + "size": 30568, + "sha256": "7dc80482fc074ab89e6e359a56c6ca51255fcc3c32871e95b8c5438d4f5869bf" + }, + "yuanshen/可莉/shuYing_Lieyan_Damage3.mp3": { + "size": 22160, + "sha256": "9fb6bde876fc09e526fd91489549242aae933ff241904721e01f5ff5241d8f93" + }, + "yuanshen/可莉/shuYing_Pengpeng1.mp3": { + "size": 47823, + "sha256": "3f6114e53b492b2d69560cb23295c38ec5a88e7f80db29476dda6b6e07205534" + }, + "yuanshen/可莉/shuYing_Pengpeng2.mp3": { + "size": 33969, + "sha256": "0fce4d614f3201750dd0272b19b9571aa78e1b84ead34a024b5583489924e45f" + }, + "yuanshen/可莉/shuYing_Pengpeng3.mp3": { + "size": 16880, + "sha256": "f483e38a1edc32750a371aa8a2ce4d8b4361ab02a675bc6043ffafdcd2d77b06" + } + }, + "tree": { + "type": "directory", + "name": "术樱包", + "children": { + "LICENSE": { + "type": "file", + "size": 35147, + "sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903" + }, + "character": { + "type": "directory", + "children": { + "audio": { + "type": "directory", + "children": { + "zuoci": { + "type": "directory", + "children": { + "huashen_shuying1.mp3": { + "type": "file", + "size": 120863, + "sha256": "6ba387a1629e1c20cb4c1cb654a99d9574d78a521f3f6bc93191dbf11e9985cc" + }, + "huashen_shuying2.mp3": { + "type": "file", + "size": 157957, + "sha256": "58c2cc83085f3887b8ad85d9448154b95d711fac2a63e171e63d6bae348c61fc" + }, + "jihun_shuying1.mp3": { + "type": "file", + "size": 117248, + "sha256": "22db1641f63955a99a009d6297c541492e585ca3ee18840bed9b27a5f79d67ad" + }, + "jihun_shuying2.mp3": { + "type": "file", + "size": 141824, + "sha256": "19ddabc7d1c2646294e8fe69d8e96b6d25dfbfff3266aa2087f3af8048498e9e" + }, + "xinsheng_shuying1.mp3": { + "type": "file", + "size": 125565, + "sha256": "91e6b58bcb82a4250362efc4c668dec6563d376a7f30450ada1c7871fb189baa" + }, + "xinsheng_shuying2.mp3": { + "type": "file", + "size": 142806, + "sha256": "f23168f7c4052836de9c021cb5983dca09c18651568754c6606017bc0f4913f3" + }, + "zuoci_shuying.mp3": { + "type": "file", + "size": 90038, + "sha256": "f330d2665fd2c9bb85cd4a80f596f44a283c715333a1bf8aafffa5ef030c5126" + } + } + } + } + }, + "character.js": { + "type": "file", + "size": 360, + "sha256": "749cb31ca7b2f32f87f5a290b28009f14644d9b0f1a03a01530af1d12265a9da" + }, + "characterFilter.js": { + "type": "file", + "size": 63, + "sha256": "92164cec19b58e3a27d92426fbe227c426dff1391b2f56b2329a676a5fc4faf7" + }, + "characterTitle.js": { + "type": "file", + "size": 61, + "sha256": "f4be860d37d46261a6d45e30bce661d301d79d548aeef0bfc2e8ad67fe783cea" + }, + "dynamicTranslate.js": { + "type": "file", + "size": 65, + "sha256": "d409295767b35e4867e5aa6fae92020f2a8943f71569af5539436648a345bd2f" + }, + "images": { + "type": "directory", + "children": { + "zuoci_shuying.jpg": { + "type": "file", + "size": 222468, + "sha256": "ff13df281bd289d63033d2c52b8d31f2a9f0a8d9cdc0ad525db06b899411f4cb" + } + } + }, + "index.js": { + "type": "file", + "size": 1002, + "sha256": "ef3dcf49147bead5a4b58c56aa23f983e7fda7c4769f276f1f228293f87acc33" + }, + "intro.js": { + "type": "file", + "size": 61, + "sha256": "68187ccda36e322c0483a735e6de6e04e5d7ded9e6f6aa9a3e931f4400db2a5e" + }, + "perfectPairs.js": { + "type": "file", + "size": 55, + "sha256": "7f2bd697eaaff284d2b356321a402a3cc7c0139ff6fdf339f6cbdd8da208a05f" + }, + "skill.js": { + "type": "file", + "size": 15439, + "sha256": "ad6859ff3ed9e05e67b991f85961b85b21af4d486a76660d29305e962120bb94" + }, + "sort.js": { + "type": "file", + "size": 112, + "sha256": "42cf6bb834aca4ff883aa196604f3d9d2d9047bb320cf56a633aae4ecbb5ce4c" + }, + "translate.js": { + "type": "file", + "size": 1126, + "sha256": "dd6e076e058514a11b5912c0893474494af825bc646e01e12c514296dc1390ab" + }, + "voices.js": { + "type": "file", + "size": 43, + "sha256": "d7f3da55f8b2e8bf77ace03bd4911497a4abb9e1f942555f7685337801278205" + } + } + }, + "extension.css": { + "type": "file", + "size": 51738, + "sha256": "356aa9473ab72ad43850c13451fd15a25c6ce2d93678cd0dcba5568d10443b40" + }, + "extension.js": { + "type": "file", + "size": 14743, + "sha256": "3dae019a7941072f2c8b67ce14f697f9d4aa0a8bebc4187e913da5468bd88955" + }, + "function.js": { + "type": "file", + "size": 33746, + "sha256": "df1aa3102a214986723af365da1029485680519d355a1ff88973eb36f8a6f909" + }, + "mengsan": { + "type": "directory", + "children": { + "config.js": { + "type": "file", + "size": 2211, + "sha256": "1283490af94dc3429330f6f7c192b1492b52d686018f2d68cb8482c0bc04e549" + }, + "mode.js": { + "type": "file", + "size": 22867, + "sha256": "88a707ac6b59160e9735770d649d8d1e5c695298628c924306b824cef7e1cc27" + }, + "state.js": { + "type": "file", + "size": 8175, + "sha256": "1096d195396f5a0fbe15c7d3627834cb3e415a5878c411eb41d9897af9abf46d" + }, + "style.css": { + "type": "file", + "size": 6859, + "sha256": "fdce7bb71f7290254d984a35415e5012f829ae9992765d1f3282f35528c1b92b" + } + } + }, + "menu.js": { + "type": "file", + "size": 22310, + "sha256": "3a603a82bb80897cf809ba80ebd55bbf66634cdbe807ed33ad2e43d845d48211" + }, + "pve": { + "type": "directory", + "children": { + "audio": { + "type": "directory", + "children": { + "dead": { + "type": "directory", + "children": { + "十二生肖": { + "type": "directory", + "children": { + "chenlong.mp3": { + "type": "file", + "size": 68757, + "sha256": "c59400dc4e2ed6de182c662e585711d3432aa3b302f440cd07f8f277431f7144" + }, + "chouniu.mp3": { + "type": "file", + "size": 65413, + "sha256": "3d948ab1d3410b707e5a2ca8d18cb7089e6645b673e0d38ebb8926cce0e117f1" + }, + "haizhu.mp3": { + "type": "file", + "size": 79624, + "sha256": "88d4613ab13bccc4139efaf7e7eb51156575d9999869432a7fd331cf01a84f26" + }, + "maotu.mp3": { + "type": "file", + "size": 52039, + "sha256": "6b52043e333e539b41190d4d4ef10dddb17c0d83ced6aee1440f7ba3f4d64bb9" + }, + "shenhou.mp3": { + "type": "file", + "size": 41590, + "sha256": "0448a8fca9e01c8e45e3773df49f587c905a1ce85f5a22c02f80013c0343340a" + }, + "sishe.mp3": { + "type": "file", + "size": 47441, + "sha256": "e77095a7a57e68d1336c4af3dff05a71a58a961e272f33b33a8d678f9984b32f" + }, + "weiyang.mp3": { + "type": "file", + "size": 50367, + "sha256": "4f76f2d3caf11514abd4b37ca0f018333e850b2085d585ea72204145139ceeb6" + }, + "wuma.mp3": { + "type": "file", + "size": 62070, + "sha256": "ab3368d1289b1cc49530624eddf159d59ace17ea2d307857594d603c84073425" + }, + "xvgou.mp3": { + "type": "file", + "size": 60398, + "sha256": "2c882f4fd9d5fe331ee54898e2b92f00acf484d1e9df50aa8e6aa8e9f26588d6" + }, + "yinhu.mp3": { + "type": "file", + "size": 77116, + "sha256": "f941d70b87b36c4b8f2eb760edf63a48e2f2c656536b610235cf5467488b99c2" + }, + "youji.mp3": { + "type": "file", + "size": 59562, + "sha256": "005575600947bd6ac5c97670e07b4140d968911d596a82e76d7b5c124b6325e5" + }, + "zishu.mp3": { + "type": "file", + "size": 55800, + "sha256": "6d4e0388dc7a03201998743cf2c9e345002580c00573cb7c020fbced61b79818" + } + } + }, + "天书乱斗": { + "type": "directory", + "children": { + "hanba_boss_shuying.mp3": { + "type": "file", + "size": 17297, + "sha256": "1eef36bdb352fb06cc88a51ca1d16a41e726423ea4ffa00dd4ba130ce7abab02" + }, + "kuafu_boss_shuying.mp3": { + "type": "file", + "size": 50219, + "sha256": "d3d01433a134ec7733a45e12454de276bfd5de654e077a08817dc6fb0160dfe5" + }, + "xuannv_boss_shuying.mp3": { + "type": "file", + "size": 57056, + "sha256": "7c22ad127a07a01743599e1671152eb05f164b9a990f513f0e607e64624cb017" + } + } + }, + "青青子衿": { + "type": "directory", + "children": { + "caocao_boss_shuying.mp3": { + "type": "file", + "size": 118668, + "sha256": "9d75a078f17e3d645c50d308901fdcf99da0532e5a239785c29416cba5cd105c" + }, + "dongzhuo_boss_shuying.mp3": { + "type": "file", + "size": 54275, + "sha256": "0dc28bcfad7592e49f9ad37cf2a005d0d86af862014b35f08032d89a3773f6b4" + }, + "lvbu_boss_shuying.mp3": { + "type": "file", + "size": 98188, + "sha256": "5895d9fdfd1fa849e5e7a780a169e8494896ac965b50d0db5946846d0cabcb50" + }, + "simayi_boss_shuying.mp3": { + "type": "file", + "size": 37856, + "sha256": "e16e5c74f5619f75cd4b952a5d74ae81138c820325b9b0682da558ec3eb1eba1" + }, + "yuanshu_boss_shuying.mp3": { + "type": "file", + "size": 122776, + "sha256": "859e59d44146f6ef07286b939acaa15b87de6b4b529fcd51c6f29708f7ff1bba" + }, + "zhangjiao_boss_shuying.mp3": { + "type": "file", + "size": 43185, + "sha256": "f51532c17e59d1b5ffe8c09ece871b3e563ccbeaa58486e1d0fe7ace74eb8356" + } + } + }, + "驱鬼逐邪": { + "type": "directory", + "children": { + "guiwang.mp3": { + "type": "file", + "size": 72116, + "sha256": "62360fc121a5a4f4f929c19a80d4c4f63a1812d57c1506d11492e93085d214c9" + }, + "heibaiwuchang.mp3": { + "type": "file", + "size": 60757, + "sha256": "32e5d699e76ed6237c2d29ddddaadb522f0a9e36c1da1a5c57ad5ed5eb2d8b82" + }, + "niutoumamian.mp3": { + "type": "file", + "size": 80822, + "sha256": "9a7c33b75ba3799ecadbe12031150e9921f8f878a588adc6207fc2188414236b" + }, + "riyeyoushen.mp3": { + "type": "file", + "size": 48889, + "sha256": "7bb22a88d326667253df464a3665a7f9ef8a04de4f10e142b455e5848c942be7" + } + } + } + } + }, + "skill": { + "type": "directory", + "children": { + "十二生肖": { + "type": "directory", + "children": { + "chenlong_shuying1.mp3": { + "type": "file", + "size": 62905, + "sha256": "c46b30ad29ee2e8267f9980a2e9aa3bd789d798cfb3f3c365228f6f083a8b5cd" + }, + "chouniu_shuying1.mp3": { + "type": "file", + "size": 49949, + "sha256": "2e54102385815b4159ba3aa35bde87b9c65d42fcacec9030935a0242e7961ee4" + }, + "haizhu_shuying1.mp3": { + "type": "file", + "size": 26961, + "sha256": "6a18ce4e4e93a51713ab1493f33644155afda37402fc70aa86d6161247880fe2" + }, + "moutu_shuying1.mp3": { + "type": "file", + "size": 40754, + "sha256": "9b077ddb25ca9bf6049a74254d9a87f3093efa9e3e78dd68caa142ce5ce68667" + }, + "shenhou_shuying1.mp3": { + "type": "file", + "size": 34066, + "sha256": "5030646db02a0fd8de2c3665733fdf5c9af50f9cbd6b85591597a224deab106f" + }, + "sishe_shuying1.mp3": { + "type": "file", + "size": 58726, + "sha256": "a6b9e0eebdd3bb78e9e03e2cb97bd60277f3ae01e62318ffba345c41a8867703" + }, + "weiyang_shuying1.mp3": { + "type": "file", + "size": 50785, + "sha256": "419126a2a438eb0a5220d18059af42e2b400eb6c1730086880f12405e232e621" + }, + "wuma_shuying1.mp3": { + "type": "file", + "size": 30305, + "sha256": "1a57e5b8f3eefcf6172fb05ee5a7a1314e50b396526c0fe464a3659ccb493f41" + }, + "xvgou_shuying1.mp3": { + "type": "file", + "size": 53710, + "sha256": "a5b78b4d92d535d652725f56bfe2ff58c203007ec97b92954144b23496b113c4" + }, + "yinhu_shuying1.mp3": { + "type": "file", + "size": 31141, + "sha256": "5dd1f7bcc07736c0f6e204f0cd4bd3c0c5f6a53c561959683f2d49427ca2e341" + }, + "youji_shuying1.mp3": { + "type": "file", + "size": 53292, + "sha256": "279c283f8a05689ed8edddea7fe9081555acb2b33f95fd8535686cfd2b825013" + }, + "zishu_shuying1.mp3": { + "type": "file", + "size": 29469, + "sha256": "9259ab36cb01fc217110194ecd041e0c18ca3f79c9be5ee8c2084895675926ff" + } + } + }, + "天书乱斗": { + "type": "directory", + "children": { + "dishi_shuying1.mp3": { + "type": "file", + "size": 36880, + "sha256": "0a3ddd792bb1203b029e88497abb8cf2af8d939079e59491ce0f6da384d22fc9" + }, + "fenshi_shuying1.mp3": { + "type": "file", + "size": 18727, + "sha256": "b4c4b0e738efe31c35832666ab66307c149dc6899e7e76004f44ef0eac0c5e3c" + }, + "fenshi_shuying2.mp3": { + "type": "file", + "size": 18207, + "sha256": "9738a8844a2a47363297ba55c5558591225b7a8deb5de2e941764b5945bcde7c" + }, + "jiutian_shuying1.mp3": { + "type": "file", + "size": 52571, + "sha256": "60ee41fb6da1eb3e2e095a5fd94f62b938956a2933a70fdcae25ead795a6c35a" + }, + "lieben_shuying1.mp3": { + "type": "file", + "size": 38328, + "sha256": "0a900ec7b47e83b6164cd739f2cc1e9145d49db6afb5b5e2e69ba24f52e76b1d" + }, + "xinji_shuying1.mp3": { + "type": "file", + "size": 19897, + "sha256": "982f5af2233ef665acadb6a8f20d579041cc1193ae6f52710e31cba4187102de" + }, + "xinji_shuying2.mp3": { + "type": "file", + "size": 26137, + "sha256": "ca7ef203e544b50a5b5d2cb1660247a4a03fab79235a370dad63f7b808002408" + }, + "xuanlie_shuying1.mp3": { + "type": "file", + "size": 52377, + "sha256": "d4a06b7e9e4c7d3eea51fec34231e28c83822832daa379cb2f639fb9cfb71312" + }, + "yinjiang_shuying1.mp3": { + "type": "file", + "size": 44717, + "sha256": "f15beca09271c30b65d2d250bf84fb0a2fdda1a40e5d0b725187716fbdf41f86" + }, + "zhiri_shuying1.mp3": { + "type": "file", + "size": 18077, + "sha256": "ab8fa7d09f3a664c2e86a790e0cd5d12aff4759a3e16cec5a4a1c86d569991d4" + }, + "zhiri_shuying2.mp3": { + "type": "file", + "size": 18597, + "sha256": "acd8f6770a27d10726b6f7c38964cd2f5c05e204a65d3d193a7572d7bef417a2" + }, + "zhuri_shuying1.mp3": { + "type": "file", + "size": 37542, + "sha256": "04f158b9c8a92d651aa10fa9663f521a45b6479088875b8a15d9f89ffdbfda38" + } + } + }, + "青青子衿": { + "type": "directory", + "children": { + "baonue_shuying1.mp3": { + "type": "file", + "size": 42049, + "sha256": "627d08b60c0f1077b74de11c8be40e22aa00740b67f0878c9ec7b99fe9728148" + }, + "duoxi_shuying1.mp3": { + "type": "file", + "size": 20476, + "sha256": "cc28dd8e8f474e02d8204bfa7525da6d9bef62fc6b097d2aa8236a3ad9ebcf18" + }, + "fankui_shuying1.mp3": { + "type": "file", + "size": 23296, + "sha256": "48027f1f9acd6565a33127e4dbea6ce404e0e5a7f9c4a2e2c010d238569f9580" + }, + "guicai_shuying1.mp3": { + "type": "file", + "size": 33904, + "sha256": "193d6ef68bc61d3e058a1b64fe349f08ccf5092318092eec7b017f76777b8de9" + }, + "guidao_shuying1.mp3": { + "type": "file", + "size": 36288, + "sha256": "41e676469edd523e00a2a3efeed3ae28b03a941647466e1ed966a579c8bb48f2" + }, + "jianxiong_shuying1.mp3": { + "type": "file", + "size": 66841, + "sha256": "cba3603b06a730e3a65e600ac3d930717e090b93da470373145784d1edbcec88" + }, + "jiuchi_shuying1.mp3": { + "type": "file", + "size": 66187, + "sha256": "f9cf8a703ee6bd21455c7ae94d94ef663f66b58c66b87b88e126c5aef9228481" + }, + "langgu_shuying1.mp3": { + "type": "file", + "size": 49363, + "sha256": "65077daf3f241c84d7fb094eed1b72bc85fb61f170ae7194125744c43cc91328" + }, + "leiji_shuying1.mp3": { + "type": "file", + "size": 28556, + "sha256": "1d6c9e9e1779a2733b25a547bfbb91e585deb8c05993cccf4cbe0ab31e1bb20f" + }, + "lingba_shuying1.mp3": { + "type": "file", + "size": 78544, + "sha256": "749a87ac8b203793c5d86a211f57b1c05665a6b6773b6d7643e3fc85239bef46" + }, + "qubu_shuying1.mp3": { + "type": "file", + "size": 48632, + "sha256": "bf45831f607da1d737a7c373219217fb81e9832e2acba772fede54600964fc99" + }, + "roulin_shuying1.mp3": { + "type": "file", + "size": 76218, + "sha256": "e8f7dfd9d7205e2ee2e48b6c69410ab7e61c0a1f49884a3ddb6662e5b4f5d43c" + }, + "shenij_shuying1.mp3": { + "type": "file", + "size": 85336, + "sha256": "3bcbdce44a5071f22da4d8fb9f481b6c5b6e0699bc7167ebf2049b18e9c35f27" + }, + "shenij_shuying2.mp3": { + "type": "file", + "size": 80112, + "sha256": "bf8139d20ca5bd8c351ddad9cb0bf4de3ccb76ce41630498dced0a63f9107145" + }, + "wangzun_shuying1.mp3": { + "type": "file", + "size": 98220, + "sha256": "6a022af97a73ed351c70eec2e3dee99c89faf5301a7c6494f96b15135336a1f5" + }, + "wushuang_shuying1.mp3": { + "type": "file", + "size": 70185, + "sha256": "d1fcfdb5591dc75f24607e7d5cacdb2c1be505fd5a4321cec4379b30a4e8ee96" + }, + "wushuang_shuying2.mp3": { + "type": "file", + "size": 64961, + "sha256": "f28014f8625a344395183e43c2999753f21a713fe4bb10e61a5be107f5515f11" + }, + "yinlei_shuying1.mp3": { + "type": "file", + "size": 37751, + "sha256": "f3d6c2b9211b9449dceac0659cc1606b4dcd23d443f3cf9511cfad56fad840b3" + }, + "yishen_shuying1.mp3": { + "type": "file", + "size": 83142, + "sha256": "74e7952802c46dd71b90e8dcb4e7f28c8936319e9598d35a7f6e907be930ad78" + }, + "yongsi_shuying1.mp3": { + "type": "file", + "size": 121208, + "sha256": "0bb47e02b23c2f081ab1d6a16004a41f8f9ade4f5c38d25e1524d1464add9e65" + }, + "yuanlv_shuying1.mp3": { + "type": "file", + "size": 33271, + "sha256": "5970922b1d22cd8d0aea8913d9ec6fb9cd7205138376376f6acc79c4010351ab" + }, + "zhanjia_shuying1.mp3": { + "type": "file", + "size": 74887, + "sha256": "97043c9bdb1767448f3db27c9b93057953546bd5508c73f023d8fe8a80c7ee5b" + }, + "zhanjia_shuying2.mp3": { + "type": "file", + "size": 97353, + "sha256": "b3be2b1ba6dc6d56c8290bdc63b6b9f649b6cac1030f35517b3e3862705a3472" + }, + "zhuzheng_shuying1.mp3": { + "type": "file", + "size": 33154, + "sha256": "516680e7bdaed978b59df34608756ceaede4e657b951a5b1ca42558235bf29d5" + } + } + }, + "驱鬼逐邪": { + "type": "directory", + "children": { + "anchao_shuying1.mp3": { + "type": "file", + "size": 167583, + "sha256": "ed7a272d02d27120403f0609ea46b4d7c3cdee6038e4a41fad8b6131cd466049" + }, + "aotang_shuying1.mp3": { + "type": "file", + "size": 61234, + "sha256": "fcbc95580168119636de36c286b97cb7c82734b5dd3be3ad1f155b95242478bf" + }, + "bingyi_shuying1.mp3": { + "type": "file", + "size": 59562, + "sha256": "4d0fc66b7c014a73f38d007b44f0e297f4c89f60a9e0c1e0bc89dc49de6558b8" + }, + "danshi_shuying1.mp3": { + "type": "file", + "size": 37072, + "sha256": "3b72a040db3a1c6ea263005b682f7cfe288319968f554a3e48d23e2f74b6f0e3" + }, + "dianwei_shuying1.mp3": { + "type": "file", + "size": 38505, + "sha256": "db780f51a2ffe8d6e000fe3dced37f68103ab3efdc775271349b66c689b2eee6" + }, + "duane_shuying1.mp3": { + "type": "file", + "size": 138661, + "sha256": "5d0b3cbf36a1afc6b54387044bf1f0340e9c8f8fbd930b30c76c66faf4ab4509" + }, + "duzhen_shuying1.mp3": { + "type": "file", + "size": 162965, + "sha256": "415d961902b13f5fb201d0d8203776d909810e4706e38ead4df14f27fc17eae9" + }, + "eli_shuying1.mp3": { + "type": "file", + "size": 66667, + "sha256": "fdc658c08650d244db6171ccc3ff1000a8c15cd7f273232012d9dd23fb2d829f" + }, + "guimei_shuying1.mp3": { + "type": "file", + "size": 70847, + "sha256": "4197185eb357f7a3dabc8f94e15baf86959f52f1b75de4c1ec469499d882a432" + }, + "guixi_shuying1.mp3": { + "type": "file", + "size": 165079, + "sha256": "fa052318af33693f7c94c19b3af98bedae646594a8e711d451da64c7e3343d3d" + }, + "guizhao_shuying1.mp3": { + "type": "file", + "size": 55307, + "sha256": "aaa97c11a5e5cdda233f5edc08373ac775d2726004b0c836ca3c9c5de492a644" + }, + "huiyun_shuying1.mp3": { + "type": "file", + "size": 140925, + "sha256": "337df12e5260011e853b50dbfd759c716bd0928e3d4f99b300bf97dd1907ec83" + }, + "jizhou_shuying1.mp3": { + "type": "file", + "size": 33894, + "sha256": "92dd5a462b05f979e53196d4d35059d000ce63ff1a9ceb8c2d1064c816684702" + }, + "manji_shuying1.mp3": { + "type": "file", + "size": 43834, + "sha256": "635bd0506fbaa8a2aa2b373ce8831f5494aa7f829bb1285376e49c50957a7246" + }, + "mingchong_shuying1.mp3": { + "type": "file", + "size": 161713, + "sha256": "c4172728884f1bd2e4a08583327f3c08f4d97c0a1448869d0b2789b88d7ab70c" + }, + "mizui_shuying1.mp3": { + "type": "file", + "size": 263385, + "sha256": "42ad74b6cfd7bd8befd7b92e184ddcedbcfc0d03b87fe34f431ace3029f1d0cf" + }, + "qiangzheng_shuying1.mp3": { + "type": "file", + "size": 182005, + "sha256": "00b1340862233e32a2951408222b5199934a7d9e5e9273b41f539029a3f9b338" + }, + "shiyu_shuying1.mp3": { + "type": "file", + "size": 59040, + "sha256": "7207807ca95ae00cf08682bb8a7d98c6b08a237ab0848bfdffcaaea033ff1f4a" + }, + "suoxue_shuying1.mp3": { + "type": "file", + "size": 64995, + "sha256": "314be7e1b07aa370e86167f7ef2a489de9c93037ac96f6bd1c69cc64e787fd54" + }, + "taiping_shuying1.mp3": { + "type": "file", + "size": 176371, + "sha256": "3fc93c12aa18905066e7bb888cb65bd8f72fce77a71c511bb6311bee4cad4dc7" + }, + "xiaoshou_shuying1.mp3": { + "type": "file", + "size": 41954, + "sha256": "78458f9488f349c4e76c08c42071c31782a4bdd6fbda0f0acca247c4fa57f04d" + }, + "xingpan_shuying1.mp3": { + "type": "file", + "size": 91763, + "sha256": "8c46e26869d68a632b54dad60e786d8619c6b7dac17ebcb332db8a66d42f80e8" + }, + "xixing_shuying1.mp3": { + "type": "file", + "size": 181379, + "sha256": "a553a85e898f534f270902e9d00e60e2821dbbe9a6deb344f08c6080eedf9a5c" + }, + "xuanpan_shuying1.mp3": { + "type": "file", + "size": 84795, + "sha256": "0449dfff43b748208ddd0df5202a2bb0ecc99e09bed27f16c314378fa00cba10" + }, + "xuanpan_shuying2.mp3": { + "type": "file", + "size": 79398, + "sha256": "39e7c45efa5502645b61a8de29c1ab9c380fced3be58b78caab0607ad183dd38" + }, + "yezhong_shuying1.mp3": { + "type": "file", + "size": 157201, + "sha256": "d5e4498f1f1775237ccc4987c1ad47483b23e3bdb653995cb85ced6cf1c2d224" + }, + "yunju_shuying1.mp3": { + "type": "file", + "size": 57472, + "sha256": "afa7538f321ffe3ab23f53cba62967b8b2db9141e9a2c8860c8b51d4310d9f22" + }, + "zhoucha_shuying1.mp3": { + "type": "file", + "size": 153445, + "sha256": "ab0ec7394ee47c6d2b71a2a6617e854c9a6725a965af693ef18ce3b659e9fedd" + } + } + } + } + } + } + }, + "boss": { + "type": "directory", + "children": { + "card.js": { + "type": "file", + "size": 171, + "sha256": "3c0a2d89226ed8ea5dfb5238221d63b117a6624e027cde03ba6671dfd5548c2c" + }, + "character.js": { + "type": "file", + "size": 260, + "sha256": "3777e2a7cc00bf3b6e9842f65acf314df2786cb8596ee213254e074738782de4" + }, + "characterFilter.js": { + "type": "file", + "size": 210, + "sha256": "e0cffda20018e8abb3c208359221633f049c77d9246bfc492f740430162c05a1" + }, + "characterTitle.js": { + "type": "file", + "size": 207, + "sha256": "f28a5994a540f50851a2a8c66733e8d326f8de59169f2f22a556243837cf0bc2" + }, + "dynamicTranslate.js": { + "type": "file", + "size": 287, + "sha256": "924be3ff97147ac8f113eb35ef1aeadab0b3227b1eca61fe5d4d5197242ced30" + }, + "index.js": { + "type": "file", + "size": 1137, + "sha256": "578e2c7f50e42c5e92b445e9bcf0dafa68f28ff2415877c4b1ff492783152372" + }, + "intro.js": { + "type": "file", + "size": 207, + "sha256": "6fe542ceb77e006a80810c95145b614ae13487acad5abd59059652417dbfb3ac" + }, + "merge.js": { + "type": "file", + "size": 940, + "sha256": "47e0aa7f324b0e8d13737aa07065a18bef69049a6c4c5eafd61996024e84b387" + }, + "perfectPairs.js": { + "type": "file", + "size": 198, + "sha256": "228d84d6013ad2b11f789363854bc05dcfe259fdfadaee84acb95421497927ca" + }, + "pinyin.js": { + "type": "file", + "size": 178, + "sha256": "34acc90748a2ce6de749d841e371b11a75bd169b782d6bd2672cb50a70bdb21b" + }, + "sets.js": { + "type": "file", + "size": 502, + "sha256": "78de634dd7eebc7b6657b23bafa74ea274568e303179eb489f052bae1d19d044" + }, + "sets": { + "type": "directory", + "children": { + "qingqingzijin": { + "type": "directory", + "children": { + "card.js": { + "type": "file", + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "character.js": { + "type": "file", + "size": 2464, + "sha256": "8f7b1710cec7d7d90f62127330abb838163d91c29603fab7b8920711b1ec31e7" + }, + "characterFilter.js": { + "type": "file", + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "characterTitle.js": { + "type": "file", + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "dynamicTranslate.js": { + "type": "file", + "size": 4248, + "sha256": "13ef52691ea5f23176608b21471d80e03285941e7687f69c3c93af5aeccf7e64" + }, + "index.js": { + "type": "file", + "size": 1002, + "sha256": "850ce3d5771d926310a26293d40e9724c2dca292bb178d121d69a251e089ef26" + }, + "intro.js": { + "type": "file", + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "perfectPairs.js": { + "type": "file", + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pinyin.js": { + "type": "file", + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "skill.js": { + "type": "file", + "size": 32647, + "sha256": "c8d59ee3938a960416cf21330d3b5561d9bc63ad2b65db790de7791058bdb437" + }, + "sort.js": { + "type": "file", + "size": 340, + "sha256": "c14a970e669bff9a46fa95a1fe225c6256c7b6bf5904255d86ae7193a2fbb247" + }, + "translate.js": { + "type": "file", + "size": 4639, + "sha256": "e802c830329f35d2619cd1b0573699bf7f43cb3da7bc4bdc10344620793187aa" + }, + "voices.js": { + "type": "file", + "size": 46, + "sha256": "54787af1d4efcd35f20c5eca55db2e60f0cd160d7fed728440542f118e7ae44a" + } + } + }, + "shiershengxiao": { + "type": "directory", + "children": { + "card.js": { + "type": "file", + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "character.js": { + "type": "file", + "size": 4340, + "sha256": "90b33dfe2843a1fbef325fd4c0e56c72e603d67b6d80858d7f78fc4092f7a33b" + }, + "characterFilter.js": { + "type": "file", + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "characterTitle.js": { + "type": "file", + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "dynamicTranslate.js": { + "type": "file", + "size": 68, + "sha256": "906eb5fd3a454b60015c93756f9c7c5314a226972b9361b227d498d28bae1544" + }, + "index.js": { + "type": "file", + "size": 1002, + "sha256": "7f38b79454730d249bac4b13644338e8f92e962f69e6bdb547540e7b296d5d34" + }, + "intro.js": { + "type": "file", + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "perfectPairs.js": { + "type": "file", + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pinyin.js": { + "type": "file", + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "skill.js": { + "type": "file", + "size": 15413, + "sha256": "e180512e49aa6f9274253c70d56987080a61ec0388999a3cbec269024ffe8306" + }, + "sort.js": { + "type": "file", + "size": 406, + "sha256": "be03f8ab9f2be5c32ea37df8f058788fd19750ede246e2038406c90dc6ce2cea" + }, + "translate.js": { + "type": "file", + "size": 2941, + "sha256": "c2f770ecea7c27a54fc665c621dc95655e9a827836990fd9eee65dd327ddbd31" + }, + "voices.js": { + "type": "file", + "size": 1507, + "sha256": "45e6a08bfe638bbc2f79edd7642e1303090c8e81be65fce9886199563bc95311" + } + } + }, + "tianshu": { + "type": "directory", + "children": { + "card.js": { + "type": "file", + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "character.js": { + "type": "file", + "size": 2509, + "sha256": "97ae40a03a777ce170d4ddef64132d071b5b379574ed87ec326f10ca52ca3e2f" + }, + "characterFilter.js": { + "type": "file", + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "characterTitle.js": { + "type": "file", + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "dynamicTranslate.js": { + "type": "file", + "size": 5803, + "sha256": "15e4e97f0ab62f916f1fd42966ad93c18748bf9ef56ecd2f56d97be62b9ece70" + }, + "index.js": { + "type": "file", + "size": 1002, + "sha256": "cc538ae9e76177c89ca2e67edde68d68f371700a802cc9d5348e521a8e664b68" + }, + "intro.js": { + "type": "file", + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "perfectPairs.js": { + "type": "file", + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pinyin.js": { + "type": "file", + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "skill.js": { + "type": "file", + "size": 23174, + "sha256": "2768ff21576e5d9a55b1d97d9bb866060370e342cb95f9cd5be0e341470acced" + }, + "sort.js": { + "type": "file", + "size": 400, + "sha256": "42238b8b9a1a1fcbdd4f6d2f8092a49558ef923a1443f07f57371f40bd4506c4" + }, + "translate.js": { + "type": "file", + "size": 4799, + "sha256": "baa234a4f9b902e647f0df3a5189ac65312332fa20c998727c855d9afad0c56c" + }, + "voices.js": { + "type": "file", + "size": 609, + "sha256": "020d42f5a8ab6cfe2189de4f8b27aea2f5eb8f0c92eabeccc30a69311fc684bb" + } + } + }, + "zhuoguiquxie": { + "type": "directory", + "children": { + "card.js": { + "type": "file", + "size": 126, + "sha256": "5fa35745834d9494a4be460c4f1cb842ee56ec797f7eaa45b7df6122c87c92ee" + }, + "character.js": { + "type": "file", + "size": 3411, + "sha256": "c6a79c1c08f94156276fcaa45236f9bc2166a4e2e0351f286981ef5dac5c73dc" + }, + "characterFilter.js": { + "type": "file", + "size": 66, + "sha256": "0dc51d476375435b50ea965fd540a6afb19134d974fe183bd924225dc3842062" + }, + "characterTitle.js": { + "type": "file", + "size": 64, + "sha256": "b736420c47616f5e6493bc0e5d00a1a6803e8540e312ff99b0a5ae2d2de17b6f" + }, + "dynamicTranslate.js": { + "type": "file", + "size": 7041, + "sha256": "fadb1892b7209b031674f31ecbb4932a27ede38ad649a42ec689f4db1b02bf78" + }, + "index.js": { + "type": "file", + "size": 1002, + "sha256": "892502aaa8fdf6cf1874ab8e564504053ae8168d37c41e2abcb1546e9f90357d" + }, + "intro.js": { + "type": "file", + "size": 64, + "sha256": "17fc80689618ad9d3601cc9ccb692e38eb7b66de82e21c75c246c749f2bdf1fd" + }, + "perfectPairs.js": { + "type": "file", + "size": 58, + "sha256": "a9b5f18910cf92cd6a727cf254ad8d6e1e2ba60a9cf35e9a458da34ce4fda49f" + }, + "pinyin.js": { + "type": "file", + "size": 48, + "sha256": "4a8648524425c2edfb8595971476398ff3c513d27ff4850895c0839945b5c1c6" + }, + "skill.js": { + "type": "file", + "size": 43229, + "sha256": "81c625e3f4c1ec77dea2556dc391182e241811b84d92dbfa4b72ebb50b604817" + }, + "sort.js": { + "type": "file", + "size": 390, + "sha256": "3855904cdc28e6301b9f9177b6c8e04d943ef44fd002a2ce83de5aab7572930c" + }, + "translate.js": { + "type": "file", + "size": 6787, + "sha256": "e714d7facef185ca0977521db78f327622a902c9b0659293d180c59f66179627" + }, + "voices.js": { + "type": "file", + "size": 2115, + "sha256": "d93f873a87649d413d1fc7b827c8bdb01e5f61cc11d9650f64b59de9d575e9e1" + } + } + } + } + }, + "shared.js": { + "type": "file", + "size": 416, + "sha256": "9c0c7b0757172078f920a91cc27569456c2d1e3134130391c88ec5ab86370f79" + }, + "skill.js": { + "type": "file", + "size": 271, + "sha256": "dcfad38fde564a88baba111100cd9b121e156478e16c8b31a286adbb0aeffd23" + }, + "sort.js": { + "type": "file", + "size": 330, + "sha256": "f7ec05f54d771ded03a4c50b1b56a6b4e48cf530e4755796a879edd714278334" + }, + "translate.js": { + "type": "file", + "size": 272, + "sha256": "f58cf928b22b712fcb374f19e5fd3343d4035e2702388b0d09b11abdd1499376" + }, + "voices.js": { + "type": "file", + "size": 682, + "sha256": "a72b8a89b18f393665e773678630422bb8dd115abc6cb668374a7057be8659cb" + } + } + }, + "images": { + "type": "directory", + "children": { + "tianshu.jpg": { + "type": "file", + "size": 250592, + "sha256": "41279c75555900dc0b7838b4fd9fcdfb31f0665a58d1dd0939b3e8466dd1225d" + }, + "十二生肖": { + "type": "directory", + "children": { + "chenlong_boss_shuying.png": { + "type": "file", + "size": 640131, + "sha256": "295461a9645027b49b77ace76ae27d3c982a9b9725bcaee061e08486b0b6417d" + }, + "chouniu_boss_shuying.png": { + "type": "file", + "size": 539618, + "sha256": "dd32bf059e65ee0d2e3e0858ef3f2e06d1b6004c4c6d709df3a2504d9a57b6e0" + }, + "haizhu_boss_shuying.png": { + "type": "file", + "size": 603527, + "sha256": "ee86311fc07b564e5ad548ec1f87f327a997cfea5be8ce5e196d86015f2f5290" + }, + "maotu_boss_shuying.png": { + "type": "file", + "size": 550227, + "sha256": "f6ab7a72a491d62c3da45eff30e6549541c817af045bdd3637dbb005d315a680" + }, + "shenhou_boss_shuying.png": { + "type": "file", + "size": 532102, + "sha256": "0b7dcb96cec2720ccf93c925e3589486b6988b6e01b455093409b6afcde8d6c6" + }, + "sishe_boss_shuying.png": { + "type": "file", + "size": 595306, + "sha256": "9474fb7924ba2a72ebfedcf74c4b93302717cbc11ee07760f5dcd004f3bb550d" + }, + "weiyang_boss_shuying.png": { + "type": "file", + "size": 645101, + "sha256": "20ee22a70f4ad14b6640c29c3df60b5ad0efb44a21a3a729aef68971a0061276" + }, + "wuma_boss_shuying.png": { + "type": "file", + "size": 613392, + "sha256": "02177ccf6bf619c69df89a64d99d39e75b42dfcd28f10855abdc372946e82d96" + }, + "xvgou_boss_shuying.png": { + "type": "file", + "size": 529986, + "sha256": "8739d5e721ac60018d1447c6b88a8526cc94b59ab94596b2c65ebf0e1dae7025" + }, + "yinhu_boss_shuying.png": { + "type": "file", + "size": 649795, + "sha256": "7d04e0fce9fafac5e950b4e3c5e8d632ab96af5d19a68b854afcc9873dcbfda2" + }, + "youji_boss_shuying.png": { + "type": "file", + "size": 541535, + "sha256": "ab77742d979f642cf5fc3ca03b3bc4726b7150ed5fda477cdb2d041ff77994e5" + }, + "zishu_boss_shuying.png": { + "type": "file", + "size": 666615, + "sha256": "45ab0411802c8e9bc946afc49def9aafda2bbe0e1dec03c32c1649a69693b612" + } + } + }, + "天书乱斗": { + "type": "directory", + "children": { + "baiqi_boss_shuying.png": { + "type": "file", + "size": 797095, + "sha256": "46229cdb70ccf4ec541ce9b56c7a1f6c15c09b169bde592378393107cb3aa3d3" + }, + "hanba_boss_shuying.png": { + "type": "file", + "size": 588380, + "sha256": "352c79e97290f8dc2d015ef28c6a93a67ecf1b8717252fdaea996ff699a1754c" + }, + "huoshenzhurong_boss_shuying.png": { + "type": "file", + "size": 643230, + "sha256": "bd34d1c42e44f44ad9f6240fdae54d76a18b1e25efb9e991db41d10b5c7691b1" + }, + "kuafu_boss_shuying.png": { + "type": "file", + "size": 836115, + "sha256": "9b016aa4a7aecae8a48ebe38059e117f1fe6a2247cc943f9a0770091791492c5" + }, + "shaohao_boss_shuying.png": { + "type": "file", + "size": 711440, + "sha256": "ca847b86d0c22878a062b11ff240accaa538dfad7558f173d425c71078f4a1c5" + }, + "shuishengonggong_boss_shuying.png": { + "type": "file", + "size": 773985, + "sha256": "90450b2a87205bef389d4fc720c68a3cfb373620b41cd56e012d20d5200973ed" + }, + "xuannv_boss_shuying.png": { + "type": "file", + "size": 548495, + "sha256": "df4acdc59a400fa29db8982ccfb89aad9ea975474119a5c0979d6f1b5d8b1cd2" + } + } + }, + "虚拟偶像": { + "type": "directory", + "children": { + "xiaojiu_xvni_shuying.png": { + "type": "file", + "size": 742108, + "sha256": "f5e6012fcc874f4b14497d6b0bf4dd1f909fa36f85fc0f9dc1bd8fbac82aefc4" + }, + "xiaole_xvni_shuying.png": { + "type": "file", + "size": 760024, + "sha256": "d2636ea6d492dd5a9f4bda8a3e60e5c198282144f6acb0b601030ede30cab13c" + }, + "xiaosha_xvni_shuying.png": { + "type": "file", + "size": 711605, + "sha256": "b34b1ad8235191cb2fbd7f0b5f1bc883f4672a1ff72fcee616656099670810da" + }, + "xiaoshan_xvni_shuying.png": { + "type": "file", + "size": 669914, + "sha256": "e0fdbcf2cde0fe19216f27f9112eccb8cb2fda83166fde8fb8a8f14fd7683e9a" + }, + "xiaotao_xvni_shuying.png": { + "type": "file", + "size": 780159, + "sha256": "6c22d112acaf8ab0421b9919cb20fa0841ab7d96a59c43c3839ec4c4a265e516" + } + } + }, + "青青子衿": { + "type": "directory", + "children": { + "caocao_boss_shuying.jpg": { + "type": "file", + "size": 678999, + "sha256": "60e8b6ac74e796e42b6cab9bf7c422f8822df247ee322c7a011d43b089db20e0" + }, + "dongzhuo_boss_shuying.jpg": { + "type": "file", + "size": 4020802, + "sha256": "c07bea94f14a11b260db61e08d50571f71d1937170f16d3a61ed4261880d9e4d" + }, + "lvbu_boss_shuying.jpg": { + "type": "file", + "size": 593292, + "sha256": "6787f2d322dcb02edc41bb282388623ac6d1fe9bd5966ba6fe017a7cb2bbe929" + }, + "simayi_boss_shuying.jpg": { + "type": "file", + "size": 7770307, + "sha256": "4752a33861a9ed55633de356e60819a73918cc99c82f3c0544a0befc29515473" + }, + "yuanshu_boss_shuying.jpg": { + "type": "file", + "size": 2155807, + "sha256": "8a332adf1450a3300359294f0d4f393b160ef6a75cf2853ef19f881e49e6c857" + }, + "zhangjiao_boss_shuying.jpg": { + "type": "file", + "size": 724819, + "sha256": "b36661396b6d2066f6d7dabdb6416f5e33688183b219af58577984d81fa0e6aa" + } + } + }, + "驱鬼逐邪": { + "type": "directory", + "children": { + "baiwuchang_boss_shuying.png": { + "type": "file", + "size": 593197, + "sha256": "8c371dbe3fd33384482f6f3ed673e7717927e5d8c1d731b8a939b65ddcd373b9" + }, + "baowei_boss_shuying.png": { + "type": "file", + "size": 604578, + "sha256": "66e4599e73de11f8663d911755cd108717c6165d672a8a91d03ebb833c7f2d13" + }, + "guiwang_boss_shuying.png": { + "type": "file", + "size": 696250, + "sha256": "7196ed36bae58955db38be7d24101337cd83f4cfd89fac00d5ac609717899cc0" + }, + "heibaiwuchang_boss_shuying.png": { + "type": "file", + "size": 703435, + "sha256": "ac9cccba3d2b926c2dd84aefba32ab0a9ee5d3edade78003f9ffdc2c48368f0d" + }, + "heiwuchang_boss_shuying.png": { + "type": "file", + "size": 514674, + "sha256": "84b0ad42705843c74144f3ca655a411e2d10c0250c9733bf53e39c64fb7c64ac" + }, + "huangfeng_boss_shuying.png": { + "type": "file", + "size": 635820, + "sha256": "2f6e94bad08dab522562f9b8658af365b8bce4a8d57fad346e3343036028c632" + }, + "mamian_boss_shuying.png": { + "type": "file", + "size": 622621, + "sha256": "4f384d37b195249cee61b352808b19b9d3c982b2153e94fcdd847553f44ae695" + }, + "mengpo_boss_shuying.png": { + "type": "file", + "size": 612824, + "sha256": "62af68a30166d9a83ea3b3077f1c204124fc8ec8e59fc69940e23ab5874f0c34" + }, + "niaozui_boss_shuying.png": { + "type": "file", + "size": 631940, + "sha256": "7b72408ca47a2bd37c887f74b18410a8bda1c56ebf3cd4714ea40480a69450ba" + }, + "niutou_boss_shuying.png": { + "type": "file", + "size": 583418, + "sha256": "6b15969118d9eb97a35afff4b28a0396156b1d8ba2e9bb56a2de9501ff1899a0" + }, + "niutoumamian_boss_shuying.png": { + "type": "file", + "size": 734405, + "sha256": "9879fc5592f15754cafa73411db9eca47b8cba863f58be5c09e307202b792090" + }, + "riyeyoushen_boss_shuying.png": { + "type": "file", + "size": 721592, + "sha256": "8269962db8806ce31e9000f6e4878790364bc7ca2655d8d9be961a13d5fdb433" + }, + "yanluowang_boss_shuying.png": { + "type": "file", + "size": 652776, + "sha256": "e9d7d18f53b4d28add79aa677eeaf910f42af989ff0eaa3168de1bedbbb8ad7d" + }, + "yvsai_boss_shuying.png": { + "type": "file", + "size": 669705, + "sha256": "bf3938a0114920cf6687c51b11709e6ad81a4575f5a9d992767110d43f93b139" + } + } + }, + "龙舟": { + "type": "directory", + "children": { + "caoe_boss_shuying.png": { + "type": "file", + "size": 558756, + "sha256": "3048dc84f6155156a74a8cd73e63966c9c7d7f05ca4c1739f9caa032fdc470cb" + }, + "hebo_boss_shuying.png": { + "type": "file", + "size": 721105, + "sha256": "805cf95f9a1030e36b843d64220451841dce52da26d3b4c11c28cb49c3052d0d" + }, + "taoshen_boss_shuying.png": { + "type": "file", + "size": 588114, + "sha256": "9c194616195d12dac97a1b4faf065a2c0bf1e0ab2e06380d52370bb5d000934d" + }, + "yuershen_boss_shuying.png": { + "type": "file", + "size": 694241, + "sha256": "15adcfb80bd22035c604703005ae22d1721eeafcc0a1ee09c89c73713cd3d03a" + } + } + } + } + } + } + }, + "tianshu": { + "type": "directory", + "children": { + "bondSkills.js": { + "type": "file", + "size": 40151, + "sha256": "c2a7925e56b9baeb8812e8762e8dc2b471908c9d2faf9a0b3ebb3f7792afacb4" + }, + "config.js": { + "type": "file", + "size": 29131, + "sha256": "5f23724ecad5141ed98674919282ec8fd53e666f23adb6f097dd14be466402ed" + }, + "extension.js": { + "type": "file", + "size": 64398, + "sha256": "3e6934e7281bf84e40fd28ea12bee02272573ee1dbba9421c45823677e45021c" + }, + "shuYing_Skill_Xvxiang1.mp3": { + "type": "file", + "size": 15451, + "sha256": "41914d7d542ddfb93c89aefffc245869d63a9fb2f52293df8e6667009832afd8" + } + } + }, + "update.js": { + "type": "file", + "size": 24145, + "sha256": "7594c68dd1308de5fd13ea7e76fde665a296400a7505b32054bf0d149986bb05" + }, + "update.txt": { + "type": "file", + "size": 2901, + "sha256": "6ce45269f253f8fb42665ba3fc14a1ac8a5e48d60b9cb5c6fe5beccb9336cc2f" + }, + "voices.js": { + "type": "file", + "size": 1711, + "sha256": "975c58fe201cbbc0027af5038504064382a195df278085a75eca03b2ddace75a" + }, + "yuanshen": { + "type": "directory", + "children": { + "extension.js": { + "type": "file", + "size": 1082, + "sha256": "a630d543c3648700cb2e3525588643382a0d72779aa8725ee5ecaa7ceaf48d0e" + }, + "八重神子": { + "type": "directory", + "children": { + "1.jpg": { + "type": "file", + "size": 331322, + "sha256": "e7a5f5d79278582e93c1b5277bc823f57c4e1ad2ce85ffa7d43ef1187aa5a5d7" + }, + "character.js": { + "type": "file", + "size": 12302, + "sha256": "2a3dbbc035f9a6595906a3bce88b192bf521f94cab0b6f12df5833da3c2f6c4e" + }, + "shuYing_Shashengying1.mp3": { + "type": "file", + "size": 15466, + "sha256": "78d65b08c36c9de3e4872864cf1c56ae83afad2b3909e47809ce088e5094e53d" + }, + "shuYing_Shashengying2.mp3": { + "type": "file", + "size": 51411, + "sha256": "68cc826504f35d00a47924483d8cbd7151951f1f543dbbcccb124dd08e436a8b" + }, + "shuYing_Shizuishi1.mp3": { + "type": "file", + "size": 87385, + "sha256": "ea491c16ae35fefb1eefd847367e9572c675543236accd8aa0ae4bf542d4989f" + }, + "shuYing_Shizuishi2.mp3": { + "type": "file", + "size": 15588, + "sha256": "b6fa8eb8531aeb3ecc819bf45ba394d0d2fc147e3de93a58cc8af181e9b00dc5" + }, + "shuYing_Shizuishi3.mp3": { + "type": "file", + "size": 64467, + "sha256": "11dc706d7d84f34c060d3a5252496e963a932f9534c5e15614d9186c388e69e3" + }, + "shuYing_Shizuishi4.mp3": { + "type": "file", + "size": 18087, + "sha256": "b5c758c0e631e71e4896276e6c948f6e9748d22d92498058e55893de0ad9135f" + }, + "shuYing_Tianhuxianzhen1.mp3": { + "type": "file", + "size": 81315, + "sha256": "7c4f4a6bc64eaa75b458d1cff5cb0a29ef9629eb7451349d87f9099b888f5e94" + }, + "shuYing_Tianhuxianzhen2.mp3": { + "type": "file", + "size": 119436, + "sha256": "1a728ba036015b245e02d6d9048a1b4c4912d9dff9c65b4c3c7203501346c4aa" + } + } + }, + "可莉": { + "type": "directory", + "children": { + "1.jpg": { + "type": "file", + "size": 162111, + "sha256": "7664f30a84fcdf24b7d8719db74e89de97dca904fec62e514e5a611bae21d0cd" + }, + "character.js": { + "type": "file", + "size": 11072, + "sha256": "3ee1fc9fcf08ac0d1fa9a6f2e617a7a95a45d2cd313415f66906f64ec9299bf4" + }, + "shuYing_Honghong1.mp3": { + "type": "file", + "size": 134764, + "sha256": "7cc7e8f3557193ee38d5b0ab2935171ad318167598f3c87ce103395262461c3f" + }, + "shuYing_Honghong2.mp3": { + "type": "file", + "size": 17073, + "sha256": "8f7077498c6c640e716091c97a243bedb94f5d7aedee7eff820a226e78c6f961" + }, + "shuYing_Honghong3.mp3": { + "type": "file", + "size": 12432, + "sha256": "c6c9d4159ca783a842bd164ee275b583b4b2f754060ab1f3fe23e1f715faf4c6" + }, + "shuYing_Lieyan1.mp3": { + "type": "file", + "size": 40584, + "sha256": "8e81a21f608f9646430c7435762b0ee666d95795110bf40a454fdb834b1cf445" + }, + "shuYing_Lieyan_Damage1.mp3": { + "type": "file", + "size": 35919, + "sha256": "c763f23f3e636a8f990ce77259a4c85e54687254ae9dde1c386d7350dd47e9e6" + }, + "shuYing_Lieyan_Damage2.mp3": { + "type": "file", + "size": 30568, + "sha256": "7dc80482fc074ab89e6e359a56c6ca51255fcc3c32871e95b8c5438d4f5869bf" + }, + "shuYing_Lieyan_Damage3.mp3": { + "type": "file", + "size": 22160, + "sha256": "9fb6bde876fc09e526fd91489549242aae933ff241904721e01f5ff5241d8f93" + }, + "shuYing_Pengpeng1.mp3": { + "type": "file", + "size": 47823, + "sha256": "3f6114e53b492b2d69560cb23295c38ec5a88e7f80db29476dda6b6e07205534" + }, + "shuYing_Pengpeng2.mp3": { + "type": "file", + "size": 33969, + "sha256": "0fce4d614f3201750dd0272b19b9571aa78e1b84ead34a024b5583489924e45f" + }, + "shuYing_Pengpeng3.mp3": { + "type": "file", + "size": 16880, + "sha256": "f483e38a1edc32750a371aa8a2ce4d8b4361ab02a675bc6043ffafdcd2d77b06" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/extension.css b/extension.css index a26ffc5..9a974b2 100644 --- a/extension.css +++ b/extension.css @@ -492,3 +492,1329 @@ height: 98px; } } + +/* 天书过关技能选择:独立于十周年 UI,保持标题、预览、羁绊和选择区的固定层级。 */ +.shuYing-skill-reward-mask { + position: fixed !important; + inset: 0 !important; + z-index: 100000 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + padding: 18px !important; + background: radial-gradient(circle at 50% 36%, rgba(95, 63, 28, 0.2), transparent 42%), rgba(5, 7, 10, 0.78) !important; + backdrop-filter: blur(3px); +} + +.shuYing-skill-reward-mask *, +.shuYing-skill-reward-mask *::before, +.shuYing-skill-reward-mask *::after { + box-sizing: border-box !important; + float: none !important; + writing-mode: horizontal-tb !important; + letter-spacing: normal !important; +} + +.shuYing-skill-reward-dialog { + position: relative !important; + display: grid !important; + grid-template-rows: auto minmax(0, 1fr) auto auto !important; + width: min(980px, 96vw) !important; + height: min(610px, 88vh) !important; + overflow: hidden !important; + border: 1px solid rgba(221, 179, 89, 0.78) !important; + border-radius: 10px !important; + background: linear-gradient(145deg, rgba(31, 27, 25, 0.98), rgba(13, 16, 21, 0.98)) !important; + box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), inset 0 1px rgba(255, 244, 205, 0.1) !important; + color: #eee5d2 !important; + font-family: "Microsoft YaHei", "SimHei", sans-serif !important; + text-align: left !important; +} + +.shuYing-skill-reward-title { + position: static !important; + width: auto !important; + height: auto !important; + padding: 15px 22px 13px !important; + border-bottom: 1px solid rgba(221, 179, 89, 0.35) !important; + background: linear-gradient(90deg, rgba(112, 67, 25, 0.58), rgba(44, 33, 25, 0.22) 60%, transparent) !important; + color: #f3d58b !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: clamp(20px, 2.5vw, 28px) !important; + font-weight: 700 !important; + line-height: 1.3 !important; + text-shadow: 0 2px 5px #000 !important; +} + +.shuYing-skill-reward-title-character { + position: static !important; + display: inline !important; + width: auto !important; + height: auto !important; + margin: 0 6px !important; + color: #fff0b5 !important; + text-shadow: 0 0 7px rgba(255, 190, 67, 0.95), 0 2px 5px #000 !important; +} + +.shuYing-skill-reward-content { + position: static !important; + display: grid !important; + grid-template-columns: minmax(0, 3fr) minmax(210px, 1fr) !important; + min-height: 0 !important; + padding: 18px 20px !important; + gap: 16px !important; +} + +.shuYing-skill-reward-preview, +.shuYing-skill-reward-bonds { + position: static !important; + display: flex !important; + min-width: 0 !important; + min-height: 0 !important; + flex-direction: column !important; + border: 1px solid rgba(255, 255, 255, 0.12) !important; + border-radius: 8px !important; + background: rgba(255, 255, 255, 0.035) !important; +} + +.shuYing-skill-reward-preview { + padding: 22px 24px !important; +} + +.shuYing-skill-reward-name { + position: static !important; + width: auto !important; + height: auto !important; + padding-bottom: 12px !important; + color: #f3d58b !important; + font-size: clamp(22px, 2.6vw, 30px) !important; + font-weight: 700 !important; + line-height: 1.35 !important; +} + +.shuYing-skill-reward-info { + position: static !important; + width: auto !important; + height: auto !important; + overflow-y: auto !important; + color: #f2eee6 !important; + font-size: clamp(16px, 1.7vw, 20px) !important; + line-height: 1.75 !important; + word-break: break-word !important; +} + +.shuYing-skill-reward-bonds { + padding: 0 13px 13px !important; +} + +.shuYing-skill-reward-bond-title { + position: static !important; + width: auto !important; + height: auto !important; + padding: 13px 2px 10px !important; + color: #d9b86d !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 22px !important; + font-weight: 700 !important; + line-height: 1.2 !important; +} + +.shuYing-skill-reward-bond-list { + position: static !important; + display: flex !important; + min-height: 0 !important; + flex: 1 1 auto !important; + flex-direction: column !important; + gap: 9px !important; + overflow-y: auto !important; +} + +.shuYing-skill-reward-bond { + position: static !important; + padding: 10px !important; + border: 1px solid rgba(255, 255, 255, 0.13) !important; + border-radius: 7px !important; + background: rgba(0, 0, 0, 0.2) !important; +} + +.shuYing-skill-reward-bond.active { + border-color: rgba(214, 164, 63, 0.65) !important; + background: rgba(128, 79, 25, 0.2) !important; +} + +.shuYing-skill-reward-bond-head { + position: static !important; + display: flex !important; + justify-content: space-between !important; + gap: 8px !important; + width: auto !important; + height: auto !important; + color: #f1d07d !important; + font-size: 15px !important; + font-weight: 700 !important; + line-height: 1.4 !important; +} + +.shuYing-skill-reward-bond-status, +.shuYing-skill-reward-bond-effect, +.shuYing-skill-reward-bond-empty { + position: static !important; + width: auto !important; + height: auto !important; + margin-top: 5px !important; + color: rgba(255, 255, 255, 0.78) !important; + font-size: 13px !important; + line-height: 1.5 !important; +} + +.shuYing-skill-reward-bond-effect { + color: rgba(241, 208, 125, 0.8) !important; +} + +.shuYing-skill-reward-choices { + position: static !important; + display: grid !important; + grid-template-columns: repeat(6, minmax(86px, 1fr)) !important; + gap: 8px !important; + padding: 14px 20px 18px !important; + border-top: 1px solid rgba(221, 179, 89, 0.3) !important; + background: rgba(0, 0, 0, 0.24) !important; +} + +.shuYing-skill-reward-choice { + all: unset !important; + display: flex !important; + min-height: 48px !important; + align-items: center !important; + justify-content: center !important; + padding: 7px 10px !important; + border: 1px solid rgba(214, 175, 89, 0.42) !important; + border-radius: 6px !important; + background: linear-gradient(180deg, rgba(91, 61, 31, 0.8), rgba(45, 32, 23, 0.9)) !important; + color: #e9d6aa !important; + font-size: 16px !important; + line-height: 1.35 !important; + text-align: center !important; + text-shadow: 0 1px 3px #000 !important; + cursor: pointer !important; +} + +.shuYing-skill-reward-choice:hover, +.shuYing-skill-reward-choice:focus, +.shuYing-skill-reward-choice.previewing, +.shuYing-skill-reward-choice.selected { + border-color: #e7bd62 !important; + background: linear-gradient(180deg, rgba(135, 83, 30, 0.94), rgba(67, 43, 23, 0.96)) !important; + color: #ffe5a3 !important; + box-shadow: 0 0 16px rgba(213, 156, 54, 0.28) !important; +} + +.shuYing-skill-reward-choice.selected { + outline: 2px solid rgba(245, 205, 112, 0.88) !important; + outline-offset: -4px !important; +} + +.shuYing-skill-reward-choice.selected::after { + content: "已选择" !important; + position: absolute !important; + top: -8px !important; + right: 5px !important; + padding: 2px 6px !important; + border-radius: 999px !important; + background: #d9ad55 !important; + color: #27180c !important; + font-size: 10px !important; + font-weight: 700 !important; + line-height: 1.4 !important; +} + +.shuYing-skill-reward-choice { + position: relative !important; +} + +.shuYing-skill-reward-controls { + position: relative !important; + display: flex !important; + min-height: 56px !important; + align-items: center !important; + justify-content: center !important; + padding: 0 20px 16px !important; + background: rgba(0, 0, 0, 0.24) !important; +} + +.shuYing-skill-reward-confirm { + all: unset !important; + display: flex !important; + min-width: 150px !important; + height: 40px !important; + align-items: center !important; + justify-content: center !important; + border: 1px solid rgba(232, 190, 99, 0.86) !important; + border-radius: 6px !important; + background: linear-gradient(180deg, rgba(139, 88, 32, 0.96), rgba(66, 42, 22, 0.98)) !important; + color: #ffe2a0 !important; + font-size: 17px !important; + font-weight: 700 !important; + line-height: 1 !important; + text-align: center !important; + text-shadow: 0 1px 3px #000 !important; + cursor: pointer !important; +} + +.shuYing-skill-reward-confirm:hover, +.shuYing-skill-reward-confirm:focus { + border-color: #ffe09a !important; + background: linear-gradient(180deg, rgba(166, 106, 40, 0.98), rgba(82, 51, 25, 0.98)) !important; + box-shadow: 0 0 16px rgba(218, 160, 57, 0.3) !important; +} + +.shuYing-skill-reward-refresh { + all: unset !important; + position: absolute !important; + right: 20px !important; + bottom: 16px !important; + display: flex !important; + min-width: 132px !important; + height: 38px !important; + align-items: center !important; + justify-content: center !important; + border: 1px solid rgba(115, 174, 194, 0.78) !important; + border-radius: 6px !important; + background: linear-gradient(180deg, rgba(42, 88, 105, 0.96), rgba(25, 48, 61, 0.98)) !important; + color: #d9f4ff !important; + font-size: 13px !important; + font-weight: 700 !important; + line-height: 1 !important; + cursor: pointer !important; +} + +.shuYing-skill-reward-refresh:hover, +.shuYing-skill-reward-refresh:focus { + border-color: #b8ecff !important; + background: linear-gradient(180deg, rgba(54, 111, 132, 0.98), rgba(29, 61, 76, 0.98)) !important; + box-shadow: 0 0 16px rgba(88, 180, 214, 0.28) !important; +} + +@media screen and (max-width: 720px), screen and (max-height: 520px) { + .shuYing-skill-reward-mask { + padding: 8px !important; + } + + .shuYing-skill-reward-dialog { + width: 98vw !important; + height: 96vh !important; + } + + .shuYing-skill-reward-content { + grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr) !important; + padding: 10px !important; + gap: 8px !important; + } + + .shuYing-skill-reward-preview { + padding: 13px !important; + } + + .shuYing-skill-reward-choices { + grid-template-columns: repeat(6, minmax(78px, 1fr)) !important; + overflow-x: auto !important; + padding: 9px 10px 11px !important; + } + + .shuYing-skill-reward-choice { + min-height: 40px !important; + font-size: 14px !important; + } + + .shuYing-skill-reward-controls { + padding: 0 10px 10px !important; + } + + .shuYing-skill-reward-confirm { + height: 36px !important; + } + + .shuYing-skill-reward-refresh { + right: 10px !important; + bottom: 10px !important; + min-width: 112px !important; + height: 34px !important; + font-size: 12px !important; + } +} + +/* 天书对局选择:三枚难度令牌与奖励界面共用材质,但保持更短、更聚焦的选择路径。 */ +.shuYing-option-dialog-mask { + position: fixed !important; + inset: 0 !important; + z-index: 100000 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + padding: 18px !important; + background: radial-gradient(circle at 50% 42%, rgba(113, 75, 30, 0.22), transparent 45%), rgba(5, 7, 10, 0.8) !important; + backdrop-filter: blur(3px); +} + +.shuYing-option-dialog-mask *, +.shuYing-option-dialog-mask *::before, +.shuYing-option-dialog-mask *::after { + box-sizing: border-box !important; + float: none !important; + writing-mode: horizontal-tb !important; + letter-spacing: normal !important; +} + +.shuYing-option-dialog { + position: relative !important; + display: flex !important; + width: min(850px, 94vw) !important; + max-height: 90vh !important; + flex-direction: column !important; + overflow: hidden !important; + border: 1px solid rgba(221, 179, 89, 0.78) !important; + border-radius: 10px !important; + background: linear-gradient(145deg, rgba(31, 27, 25, 0.98), rgba(13, 16, 21, 0.98)) !important; + box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), inset 0 1px rgba(255, 244, 205, 0.1) !important; + color: #eee5d2 !important; + font-family: "Microsoft YaHei", "SimHei", sans-serif !important; + text-align: left !important; +} + +.shuYing-option-dialog-title { + position: static !important; + width: auto !important; + height: auto !important; + padding: 16px 22px 8px !important; + color: #f3d58b !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: clamp(22px, 3vw, 30px) !important; + font-weight: 700 !important; + line-height: 1.3 !important; + text-align: center !important; + text-shadow: 0 2px 5px #000 !important; +} + +.shuYing-option-dialog-intro { + position: static !important; + width: auto !important; + height: auto !important; + padding: 0 22px 15px !important; + border-bottom: 1px solid rgba(221, 179, 89, 0.3) !important; + color: rgba(255, 255, 255, 0.72) !important; + font-size: 14px !important; + line-height: 1.65 !important; + text-align: center !important; +} + +.shuYing-option-dialog-options { + position: static !important; + display: grid !important; + grid-template-columns: repeat(3, minmax(0, 1fr)) !important; + gap: 14px !important; + padding: 22px !important; + overflow-y: auto !important; +} + +.shuYing-option-dialog-card { + all: unset !important; + position: relative !important; + display: flex !important; + min-width: 0 !important; + min-height: 210px !important; + flex-direction: column !important; + align-items: flex-start !important; + padding: 18px !important; + overflow: hidden !important; + border: 1px solid rgba(214, 175, 89, 0.36) !important; + border-radius: 9px !important; + background: linear-gradient(155deg, rgba(84, 58, 32, 0.58), rgba(28, 25, 26, 0.92)) !important; + color: #eee5d2 !important; + cursor: pointer !important; +} + +.shuYing-option-dialog-card::after { + content: "" !important; + position: absolute !important; + right: -35px !important; + bottom: -52px !important; + width: 120px !important; + height: 120px !important; + border: 1px solid rgba(237, 196, 101, 0.13) !important; + border-radius: 50% !important; + box-shadow: 0 0 0 14px rgba(237, 196, 101, 0.035), 0 0 0 28px rgba(237, 196, 101, 0.025) !important; + pointer-events: none !important; +} + +.shuYing-option-dialog-card:hover, +.shuYing-option-dialog-card:focus, +.shuYing-option-dialog-card.selected { + border-color: #e2b85d !important; + background: linear-gradient(155deg, rgba(123, 76, 29, 0.78), rgba(38, 29, 26, 0.96)) !important; + box-shadow: 0 0 20px rgba(214, 156, 54, 0.24) !important; + transform: translateY(-2px) !important; +} + +.shuYing-option-dialog-card.selected::before { + content: "已选择" !important; + position: absolute !important; + top: 12px !important; + right: 12px !important; + z-index: 1 !important; + padding: 3px 8px !important; + border-radius: 999px !important; + background: #d9ad55 !important; + color: #27180c !important; + font-size: 12px !important; + font-weight: 700 !important; + line-height: 1.4 !important; +} + +.shuYing-option-dialog-card[data-tone="hard"] { + background: linear-gradient(155deg, rgba(88, 51, 31, 0.68), rgba(31, 25, 27, 0.94)) !important; +} + +.shuYing-option-dialog-card[data-tone="nightmare"] { + border-color: rgba(178, 73, 69, 0.48) !important; + background: linear-gradient(155deg, rgba(91, 31, 33, 0.7), rgba(25, 19, 24, 0.96)) !important; +} + +.shuYing-option-dialog-order { + position: static !important; + color: rgba(242, 210, 139, 0.48) !important; + font-family: Georgia, serif !important; + font-size: 13px !important; + line-height: 1 !important; +} + +.shuYing-option-dialog-name { + position: static !important; + width: auto !important; + height: auto !important; + margin-top: 18px !important; + color: #f3d58b !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 30px !important; + font-weight: 700 !important; + line-height: 1.2 !important; + text-shadow: 0 2px 4px #000 !important; +} + +.shuYing-option-dialog-tag { + position: static !important; + margin-top: 5px !important; + color: rgba(242, 210, 139, 0.68) !important; + font-size: 13px !important; + line-height: 1.4 !important; +} + +.shuYing-option-dialog-description { + position: static !important; + width: auto !important; + height: auto !important; + margin-top: 16px !important; + color: rgba(255, 255, 255, 0.78) !important; + font-size: 14px !important; + line-height: 1.65 !important; + word-break: break-word !important; +} + +.shuYing-option-dialog-controls { + position: static !important; + display: flex !important; + justify-content: center !important; + padding: 0 22px 20px !important; +} + +.shuYing-option-dialog-confirm { + all: unset !important; + display: flex !important; + min-width: 150px !important; + height: 42px !important; + align-items: center !important; + justify-content: center !important; + border: 1px solid rgba(232, 190, 99, 0.86) !important; + border-radius: 6px !important; + background: linear-gradient(180deg, rgba(139, 88, 32, 0.96), rgba(66, 42, 22, 0.98)) !important; + color: #ffe2a0 !important; + font-size: 17px !important; + font-weight: 700 !important; + line-height: 1 !important; + text-align: center !important; + text-shadow: 0 1px 3px #000 !important; + cursor: pointer !important; +} + +.shuYing-option-dialog-confirm:hover, +.shuYing-option-dialog-confirm:focus { + border-color: #ffe09a !important; + background: linear-gradient(180deg, rgba(166, 106, 40, 0.98), rgba(82, 51, 25, 0.98)) !important; + box-shadow: 0 0 16px rgba(218, 160, 57, 0.3) !important; +} + +@media screen and (max-width: 680px), screen and (max-height: 500px) { + .shuYing-option-dialog-mask { + padding: 8px !important; + } + + .shuYing-option-dialog-options { + grid-template-columns: repeat(3, minmax(150px, 1fr)) !important; + gap: 9px !important; + padding: 12px !important; + overflow-x: auto !important; + } + + .shuYing-option-dialog-card { + min-height: 150px !important; + padding: 13px !important; + } + + .shuYing-option-dialog-name { + margin-top: 9px !important; + font-size: 24px !important; + } + + .shuYing-option-dialog-description { + margin-top: 9px !important; + font-size: 12px !important; + } + + .shuYing-option-dialog-controls { + padding: 0 12px 12px !important; + } + + .shuYing-option-dialog-confirm { + height: 36px !important; + } +} + +@media (prefers-reduced-motion: reduce) { + .shuYing-option-dialog-card, + .shuYing-skill-reward-choice { + transition: none !important; + transform: none !important; + } +} + +/* 天书对局羁绊入口与概览:不依赖十周年 UI 节点,原版和扩展 UI 共用。 */ +.shuYing-bond-overview-button { + all: unset !important; + position: fixed !important; + left: 14px !important; + top: 46% !important; + z-index: 9990 !important; + display: flex !important; + width: 58px !important; + height: 34px !important; + align-items: center !important; + justify-content: center !important; + border: 1px solid rgba(225, 181, 88, 0.78) !important; + border-radius: 0 16px 16px 0 !important; + background: linear-gradient(180deg, rgba(105, 70, 31, 0.96), rgba(43, 31, 23, 0.96)) !important; + color: #ffe3a0 !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 16px !important; + font-weight: 700 !important; + line-height: 1 !important; + text-shadow: 0 1px 3px #000 !important; + box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important; + cursor: pointer !important; +} + +.shuYing-bond-overview-button:hover, +.shuYing-bond-overview-button:focus { + border-color: #ffe19a !important; + background: linear-gradient(180deg, rgba(139, 91, 36, 0.98), rgba(61, 42, 25, 0.98)) !important; +} + +.shuYing-bond-overview-mask { + position: fixed !important; + inset: 0 !important; + z-index: 10020 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + padding: 18px !important; + background: rgba(3, 4, 7, 0.76) !important; + backdrop-filter: blur(5px) !important; +} + +.shuYing-bond-overview-mask *, +.shuYing-bond-overview-mask *::before, +.shuYing-bond-overview-mask *::after { + box-sizing: border-box !important; + position: static !important; + inset: auto !important; + float: none !important; + margin: 0 !important; + writing-mode: horizontal-tb !important; + -webkit-writing-mode: horizontal-tb !important; + text-orientation: mixed !important; + transform: none !important; + transition: none !important; +} + +.shuYing-bond-overview { + position: relative !important; + display: flex !important; + width: min(680px, 94vw) !important; + max-height: 82vh !important; + flex-direction: column !important; + overflow: hidden !important; + border: 1px solid rgba(220, 175, 82, 0.76) !important; + border-radius: 9px !important; + background: linear-gradient(145deg, #251d15, #101216 55%, #090b0f) !important; + color: #eee5d5 !important; + box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72) !important; + font-family: "Microsoft YaHei", sans-serif !important; + text-align: left !important; +} + +.shuYing-bond-overview-title { + display: block !important; + width: auto !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + margin: 0 !important; + padding: 18px 22px 13px !important; + border-bottom: 1px solid rgba(215, 170, 80, 0.3) !important; + color: #f4d58b !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 25px !important; + line-height: 1.2 !important; +} + +.shuYing-bond-overview-content { + display: grid !important; + width: auto !important; + height: auto !important; + min-height: 0 !important; + grid-auto-rows: max-content !important; + align-content: start !important; + grid-template-columns: repeat(2, minmax(0, 1fr)) !important; + align-items: start !important; + gap: 12px !important; + padding: 16px !important; + overflow-y: auto !important; +} + +.shuYing-bond-overview-player { + display: flex !important; + width: 100% !important; + height: max-content !important; + min-height: 0 !important; + flex-direction: column !important; + align-self: start !important; + overflow: hidden !important; + border: 1px solid rgba(220, 183, 111, 0.2) !important; + border-radius: 7px !important; + background: rgba(255, 255, 255, 0.035) !important; +} + +.shuYing-bond-overview-player-name { + display: block !important; + width: auto !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + margin: 0 !important; + padding: 11px 13px !important; + border-bottom: 1px solid rgba(215, 170, 80, 0.18) !important; + color: #f3d58b !important; + font-size: 17px !important; + line-height: 1.3 !important; +} + +.shuYing-bond-overview-item { + display: flex !important; + width: auto !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + flex-direction: column !important; + padding: 11px 13px !important; + border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important; +} + +.shuYing-bond-overview-item:last-child { + border-bottom: 0 !important; +} + +.shuYing-bond-overview-item-head { + display: flex !important; + width: 100% !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + align-items: center !important; + justify-content: space-between !important; + gap: 12px !important; +} + +.shuYing-bond-overview-name { + display: inline !important; + width: auto !important; + height: auto !important; + min-width: 0 !important; + color: #efca73 !important; + font-size: 14px !important; + font-weight: 700 !important; +} + +.shuYing-bond-overview-level { + display: inline !important; + width: auto !important; + height: auto !important; + flex: 0 0 auto !important; + color: #aa9b7c !important; + font-size: 11px !important; +} + +.shuYing-bond-overview-effect { + display: block !important; + margin-top: 6px !important; + color: #d4d0c7 !important; + font-size: 13px !important; + line-height: 1.6 !important; + white-space: normal !important; + overflow: visible !important; + word-break: break-word !important; +} + +.shuYing-bond-overview-empty { + grid-column: 1 / -1 !important; + padding: 34px !important; + color: #99958c !important; + text-align: center !important; +} + +.shuYing-bond-overview-close { + all: unset !important; + display: flex !important; + width: 140px !important; + height: 38px !important; + flex: 0 0 38px !important; + align-items: center !important; + justify-content: center !important; + align-self: center !important; + margin: 0 0 15px !important; + border: 1px solid rgba(221, 174, 84, 0.78) !important; + border-radius: 5px !important; + background: linear-gradient(180deg, #755023, #3a2818) !important; + color: #ffe2a4 !important; + font-weight: 700 !important; + cursor: pointer !important; +} + +@media screen and (max-width: 650px), screen and (max-height: 520px) { + .shuYing-bond-overview-button { + left: 5px !important; + width: 48px !important; + height: 30px !important; + font-size: 14px !important; + } + + .shuYing-bond-overview-content { + grid-template-columns: 1fr !important; + grid-auto-rows: max-content !important; + padding: 10px !important; + } + + .shuYing-bond-overview { + width: 96vw !important; + max-height: 92vh !important; + } + + .shuYing-bond-overview-title { + padding: 12px 16px 9px !important; + font-size: 21px !important; + } + + .shuYing-bond-overview-player-name { + padding: 8px 11px !important; + font-size: 15px !important; + } + + .shuYing-bond-overview-item { + padding: 8px 11px !important; + } + + .shuYing-bond-overview-effect { + margin-top: 4px !important; + font-size: 12px !important; + line-height: 1.45 !important; + } +} + +/* 天书羁绊谱册:从 config.bonds 实时生成,独立于游戏 UI 主题。 */ +.shuYing-bond-book-mask { + position: fixed !important; + inset: 0 !important; + z-index: 10000 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + box-sizing: border-box !important; + padding: 22px !important; + background: rgba(3, 4, 7, 0.82) !important; + backdrop-filter: blur(7px) !important; + direction: ltr !important; + writing-mode: horizontal-tb !important; + -webkit-writing-mode: horizontal-tb !important; + text-orientation: mixed !important; +} + +.shuYing-bond-book-mask *, +.shuYing-bond-book-mask *::before, +.shuYing-bond-book-mask *::after { + box-sizing: border-box !important; + position: static !important; + inset: auto !important; + float: none !important; + margin: 0 !important; + direction: ltr !important; + writing-mode: horizontal-tb !important; + -webkit-writing-mode: horizontal-tb !important; + text-orientation: mixed !important; + transform: none !important; + transition: none !important; +} + +.shuYing-bond-book { + position: relative !important; + display: flex !important; + width: min(880px, 94vw) !important; + max-height: min(760px, 90vh) !important; + flex-direction: column !important; + overflow: hidden !important; + border: 1px solid rgba(215, 171, 81, 0.78) !important; + border-radius: 10px !important; + background: + linear-gradient(90deg, transparent 47px, rgba(199, 144, 53, 0.13) 48px, transparent 49px), + linear-gradient(145deg, #211a13 0%, #111216 46%, #090b0f 100%) !important; + color: #eee5d5 !important; + box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72), inset 0 1px rgba(255, 226, 164, 0.08) !important; + font-family: "Microsoft YaHei", "STKaiti", sans-serif !important; + line-height: normal !important; + text-align: left !important; +} + +.shuYing-bond-book-header { + position: static !important; + display: flex !important; + width: auto !important; + height: auto !important; + min-height: 0 !important; + align-items: flex-end !important; + justify-content: space-between !important; + gap: 20px !important; + padding: 24px 30px 15px !important; + border-bottom: 1px solid rgba(211, 164, 71, 0.35) !important; +} + +.shuYing-bond-book-heading { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + min-width: 0 !important; + overflow: visible !important; + transform: none !important; +} + +.shuYing-bond-book-eyebrow { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + margin-bottom: 5px !important; + color: #c99a4c !important; + font-family: Consolas, "Microsoft YaHei", sans-serif !important; + font-size: 11px !important; + font-weight: 700 !important; + line-height: 1.4 !important; + letter-spacing: 0.2em !important; + white-space: normal !important; + transform: none !important; +} + +.shuYing-bond-book-title { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + margin: 0 !important; + color: #ffe5aa !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 30px !important; + font-weight: 700 !important; + line-height: 1.15 !important; + letter-spacing: 0.08em !important; + white-space: normal !important; + overflow: visible !important; + text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important; + transform: none !important; +} + +.shuYing-bond-book-count { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + flex: 0 0 auto !important; + padding: 5px 10px !important; + border: 1px solid rgba(202, 153, 70, 0.5) !important; + border-radius: 999px !important; + color: #d9b66f !important; + font-size: 12px !important; + line-height: 1.4 !important; + white-space: nowrap !important; + transform: none !important; +} + +.shuYing-bond-book-intro { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + margin: 0 !important; + padding: 12px 30px !important; + background: rgba(0, 0, 0, 0.18) !important; + color: #aaa79f !important; + font-size: 13px !important; + line-height: 1.65 !important; + white-space: normal !important; + transform: none !important; +} + +.shuYing-bond-book-content { + position: static !important; + display: grid !important; + width: auto !important; + height: auto !important; + grid-template-columns: repeat(2, minmax(0, 1fr)) !important; + grid-auto-rows: max-content !important; + align-content: start !important; + align-items: start !important; + gap: 14px !important; + min-height: 150px !important; + padding: 18px 22px 22px !important; + overflow-x: hidden !important; + overflow-y: auto !important; + scrollbar-color: #8b642c rgba(255, 255, 255, 0.04) !important; +} + +.shuYing-bond-book-card { + position: relative !important; + inset: auto !important; + display: flex !important; + width: 100% !important; + height: max-content !important; + min-height: 0 !important; + flex-direction: column !important; + margin: 0 !important; + align-self: start !important; + overflow: hidden !important; + border: 1px solid rgba(224, 195, 139, 0.18) !important; + border-radius: 7px !important; + background: linear-gradient(135deg, rgba(60, 45, 29, 0.56), rgba(18, 19, 23, 0.9)) !important; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.035) !important; +} + +.shuYing-bond-book-card-head { + position: static !important; + display: flex !important; + width: auto !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + align-items: center !important; + gap: 12px !important; + padding: 15px 16px 12px !important; + border-bottom: 1px solid rgba(215, 170, 80, 0.18) !important; +} + +.shuYing-bond-book-seal { + position: static !important; + inset: auto !important; + display: flex !important; + width: 36px !important; + height: 36px !important; + flex: 0 0 36px !important; + align-items: center !important; + justify-content: center !important; + border: 1px solid #b96644 !important; + color: #e8a281 !important; + font-family: Georgia, serif !important; + font-size: 13px !important; + transform: rotate(-3deg) !important; +} + +.shuYing-bond-book-name-wrap { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + min-width: 0 !important; + overflow: visible !important; +} + +.shuYing-bond-book-name { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + margin: 0 0 2px !important; + color: #f6d88f !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 21px !important; + line-height: 1.2 !important; + white-space: normal !important; + transform: none !important; +} + +.shuYing-bond-book-summary { + display: block !important; + width: auto !important; + height: auto !important; + padding: 13px 16px 11px !important; + border-bottom: 1px solid rgba(215, 170, 80, 0.14) !important; + background: rgba(8, 10, 12, 0.18) !important; +} + +.shuYing-bond-book-tags { + display: flex !important; + width: auto !important; + height: auto !important; + flex-wrap: wrap !important; + align-items: flex-start !important; + gap: 7px 8px !important; +} + +.shuYing-bond-book-tag { + display: inline-flex !important; + width: auto !important; + height: 25px !important; + align-items: center !important; + justify-content: center !important; + padding: 0 10px !important; + border: 1px solid rgba(171, 193, 104, 0.45) !important; + border-radius: 4px !important; + background: linear-gradient(180deg, rgba(93, 121, 54, 0.92), rgba(55, 78, 38, 0.94)) !important; + color: #f3efd5 !important; + font-family: "STKaiti", "KaiTi", serif !important; + font-size: 14px !important; + line-height: 1 !important; + white-space: nowrap !important; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1) !important; +} + +.shuYing-bond-book-rule { + display: block !important; + width: auto !important; + height: auto !important; + margin-top: 9px !important; + color: #96938b !important; + font-size: 11px !important; + line-height: 1.5 !important; + white-space: normal !important; +} + +.shuYing-bond-book-levels { + position: relative !important; + inset: auto !important; + display: flex !important; + width: 100% !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + flex-direction: column !important; + overflow: visible !important; + padding: 13px 16px 15px 28px !important; +} + +.shuYing-bond-book-levels::before { + content: "" !important; + position: absolute !important; + top: 23px !important; + bottom: 26px !important; + left: 19px !important; + right: auto !important; + width: 1px !important; + background: linear-gradient(#d8a64d, rgba(216, 166, 77, 0.18)) !important; +} + +.shuYing-bond-book-level { + position: relative !important; + inset: auto !important; + display: flex !important; + width: 100% !important; + height: auto !important; + min-height: 0 !important; + flex: 0 0 auto !important; + align-items: flex-start !important; + gap: 11px !important; + padding: 7px 0 10px !important; +} + +.shuYing-bond-book-level-dot { + position: relative !important; + inset: auto !important; + z-index: 1 !important; + width: 9px !important; + height: 9px !important; + flex: 0 0 9px !important; + margin-left: -13px !important; + margin-top: 5px !important; + border: 2px solid #d7a64f !important; + border-radius: 50% !important; + background: #17151a !important; + box-shadow: 0 0 8px rgba(222, 167, 70, 0.46) !important; +} + +.shuYing-bond-book-level-detail { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + min-width: 0 !important; + min-height: 0 !important; + flex: 1 1 auto !important; + overflow: visible !important; +} + +.shuYing-bond-book-level-name { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + margin-bottom: 4px !important; + color: #cfa557 !important; + font-size: 12px !important; + font-weight: 700 !important; + letter-spacing: 0.12em !important; +} + +.shuYing-bond-book-reward { + position: static !important; + display: block !important; + width: auto !important; + height: auto !important; + font-size: 13px !important; + line-height: 1.55 !important; + word-break: break-word !important; + white-space: normal !important; + overflow: visible !important; + transform: none !important; +} + +.shuYing-bond-book-reward { + margin-top: 4px !important; + color: #f0cf82 !important; +} + +.shuYing-bond-book-empty, +.shuYing-bond-book-level-empty { + grid-column: 1 / -1 !important; + padding: 32px !important; + color: #8f8d87 !important; + text-align: center !important; +} + +.shuYing-bond-book-controls { + position: static !important; + display: flex !important; + width: auto !important; + height: auto !important; + justify-content: center !important; + padding: 13px 22px 18px !important; + border-top: 1px solid rgba(215, 170, 80, 0.24) !important; + background: rgba(0, 0, 0, 0.2) !important; +} + +.shuYing-bond-book-close { + all: unset !important; + display: flex !important; + min-width: 148px !important; + height: 39px !important; + align-items: center !important; + justify-content: center !important; + border: 1px solid rgba(221, 174, 84, 0.78) !important; + border-radius: 5px !important; + background: linear-gradient(180deg, #755023, #3a2818) !important; + color: #ffe2a4 !important; + font-size: 15px !important; + font-weight: 700 !important; + cursor: pointer !important; +} + +.shuYing-bond-book-close:hover, +.shuYing-bond-book-close:focus { + border-color: #ffe09a !important; + box-shadow: 0 0 14px rgba(218, 160, 57, 0.28) !important; +} + +@media screen and (max-width: 700px), screen and (max-height: 540px) { + .shuYing-bond-book-mask { + padding: 8px !important; + } + + .shuYing-bond-book { + width: 98vw !important; + max-height: 96vh !important; + } + + .shuYing-bond-book-header { + min-height: 50px !important; + flex: 0 0 auto !important; + align-items: center !important; + padding: 10px 18px !important; + overflow: hidden !important; + } + + .shuYing-bond-book-heading { + display: flex !important; + min-height: 29px !important; + align-items: center !important; + overflow: hidden !important; + } + + .shuYing-bond-book-eyebrow { + display: none !important; + } + + .shuYing-bond-book-title { + max-width: 100% !important; + font-size: 22px !important; + line-height: 1.25 !important; + white-space: nowrap !important; + overflow: hidden !important; + text-overflow: ellipsis !important; + } + + .shuYing-bond-book-count { + padding: 4px 9px !important; + font-size: 11px !important; + } + + .shuYing-bond-book-intro { + padding: 9px 18px !important; + font-size: 12px !important; + } + + .shuYing-bond-book-content { + grid-template-columns: 1fr !important; + padding: 12px !important; + } + + .shuYing-bond-book-controls { + padding: 9px 12px 12px !important; + } +} + +@media (prefers-reduced-motion: reduce) { + .shuYing-bond-book-seal { + transform: none !important; + } +} diff --git a/extension.js b/extension.js index f1b5cd4..d193ee1 100644 --- a/extension.js +++ b/extension.js @@ -5,7 +5,7 @@ import initShuYingMenu from "./menu.js"; export const type = "extension"; export let shuYing = new Object(); -const shuYingLocalVersion = "2.0.0.9"; +const shuYingLocalVersion = "2.0.1.0"; shuYing.name = "术樱包"; shuYing.editable = false; @@ -82,7 +82,7 @@ shuYing.appendExtension = function (name, translate, obj) { Object.assign(obj.translate, shuYing.voices || {}); oobj.translate = obj.translate; game.import('character', () => { return oobj; }); - lib.config.all.characters.push(name); + lib.config.characters.push(name); if (!lib.config.characters.contains(name)) { lib.config.characters.push(name); } @@ -112,26 +112,6 @@ shuYing.mergeCharacterPack = function (target, source, sourceName = "附加模 return target; }; -// 清理旧版本曾注册的独立武将包,防止历史配置让已合并模块继续出现在武将包列表。 -shuYing.removeLegacyCharacterPack = function (name) { - const removeFrom = list => { - if (!Array.isArray(list)) return false; - let changed = false; - for (let index = list.indexOf(name); index >= 0; index = list.indexOf(name)) { - list.splice(index, 1); - changed = true; - } - return changed; - }; - removeFrom(lib.config.all.characters); - if (removeFrom(lib.config.characters)) { - game.saveConfig("characters", lib.config.characters); - } - removeFrom(lib.connectCharacterPack); - delete lib.characterPack[name]; - delete lib.translate[`${name}_character_config`]; -}; - shuYing.getVersion = (callback) => { return updater.getOnlineVersion() .then(version => { @@ -196,46 +176,24 @@ shuYing.initCSS = () => { //术樱包初始化Config配置文件 shuYing.initConfig = () => { - if (lib.config.show_splash != 'off') game.saveConfig('show_splash', 'off'); //关闭启动页 + // //崩坏3包 + // if (lib.config.extension_shuYing_bengHuai_Off == undefined) { + // game.saveConfig('extension_shuYing_bengHuai_Off', true); + // } - //崩坏3包 - if (lib.config.extension_shuYing_bengHuai_Off == undefined) { - game.saveConfig('extension_shuYing_bengHuai_Off', true); - } + // //原神包 + // if (lib.config.extension_术樱包_yuanShenOff == undefined) { + // game.saveConfig('extension_术樱包_yuanShenOff', true); + // } - //原神包 - if (lib.config.extension_术樱包_yuanShenOff == undefined) { - game.saveConfig('extension_术樱包_yuanShenOff', true); - } + // //崩铁包 + // if (lib.config.extension_术樱包_bengTieOff == undefined) { + // game.saveConfig('extension_术樱包_bengTieOff', true); + // } - //崩铁包 - if (lib.config.extension_术樱包_bengTieOff == undefined) { - game.saveConfig('extension_术樱包_bengTieOff', true); - } - - //天书包 - if (lib.config.extension_shuYing_tianShu_Off == undefined) { - game.saveConfig('extension_shuYing_tianShu_Off', true); - } - - //天书一共多少层 - if (lib.config.extension_shuYing_tianShu_Instances == undefined) { - game.saveConfig('extension_shuYing_tianShu_Instances', 4); - } - - //天书自定义Boss列表 - if (lib.config.extension_shuYing_tianShu_DiyBoss == undefined) { - game.saveConfig('extension_shuYing_tianShu_DiyBoss', ''); - } - - //天书狂暴 - if (lib.config.extension_shuYing_tianShu_KuangBao == undefined) { - game.saveConfig('extension_shuYing_tianShu_KuangBao', ''); - } - - //百战天书 - if (lib.config.extension_shuYing_baiZhan_Off == undefined) { - game.saveConfig('extension_shuYing_baiZhan_Off', false); + //天书乱斗 + if (lib.config.extension_术樱包_tianShu_Off == undefined) { + game.saveConfig('extension_术樱包_tianShu_Off', true); } // @@ -243,14 +201,12 @@ shuYing.initConfig = () => { //版本号 game.saveConfig('shuYing_local_version', shuYingLocalVersion); - }; //术樱包初始化武将包 shuYing.initCharacter = async () => { let shuYingList; - if (lib.config.mode == 'boss') { - shuYing.removeLegacyCharacterPack("shuYing_pve_tianshu"); + if (lib.config.mode == 'boss' && lib.config.extension_术樱包_tianShu_Off) { let shuying_boss = await shuYing.loadModule("./pve/boss/index.js", "活动BOSS", true); const initTianShu = await shuYing.loadModule("./tianshu/extension.js", "天书乱斗", true); @@ -308,650 +264,6 @@ shuYing.help = () => { }; -//添加自定义Boss TODO -shuYing.newTianShuBossList = function () { - _status.buttonNode; //用于判断输入框回车之后响应事件 - _status.nameList; - let manual = ui.create.div('.manual', manual); - let menu = ui.create.div('.menu', manual); - let input = menu.appendChild(document.createElement('input')); - input.onkeydown = function (e) { - if (e && e.keyCode == 13) { - if (_status.buttonNode == 2) { - this.deleteBossList(dialog, manual, input.value); - } - else { - this.searchBossList(dialog, manual, input.value); - } - } - }; - - let addNewBoss = ui.create.div('.addNewBoss', menu); //加入新boss - let newBossList = ui.create.div('.newBossList', menu); - let deleteNewBossAllList = ui.create.div('.deleteNewBossAllList', menu); - let deleteNewBoss = ui.create.div('.deleteNewBoss', menu); - let playerList = ui.create.div('.playerList', menu); - - let close = ui.create.div('.close', menu); - let dialog = ui.create.dialog(); - dialog.noImage = true; - dialog.style.backgroundImage = ""; - - let content = manual.appendChild(dialog); - content.classList.remove('nobutton'); - content.classList.add('content'); - content.style.transform = ''; - content.style.opacity = ''; - content.style.height = ''; - - newBossList.innerHTML = '列表'; - newBossList.id = 'newBossList'; - newBossList.addEventListener('click', function () { - this.addBossShow(dialog, manual); - }); - - deleteNewBossAllList.innerHTML = '清除'; - deleteNewBossAllList.addEventListener('click', function () { - if (confirm('点击确定清除全部自定义Boss')) { - game.saveConfig('extension_shuYing_tianShu_DiyBoss', ''); - this.addBossShow(dialog, manual); - alert('清除完毕!'); - } - }); - - addNewBoss.innerHTML = '搜索'; - addNewBoss.addEventListener('click', function () { - this.searchBossList(dialog, manual, input.value); - - input.value = ""; - _status.buttonNode = 1; - }); - - deleteNewBoss.innerHTML = '登陆'; //暂时弃用 - deleteNewBoss.addEventListener('click', function () { - alert('暂未开放'); - //deleteNewBossList(dialog,manual,input.value); - //input.value=""; - //_status.buttonNode=2; - }); - - playerList.innerHTML = '排行榜'; - playerList.addEventListener('click', function () { - alert('暂未开放'); - }); - - dialog.addText("使用说明: 点击列表查看自定义BOSS列表

" + - "点击清空按钮清空自定义BOSS列表中全部Boss

" + - "点击列表列举出Boss列表,并可以删除列表中的Boss

" + - "点击搜索并在输入框内输入武将名称即可罗列相似武将

" + - "需要注意的是,输入框需要输入武将名称而不是英文
一旦启用自定义Boss,那么必须保持不禁用武将和Boss列表大于1"); - - // close1.addEventListener('click', function(){ - // alert(close1.value); - // //game.tujianBegin(content , close , input.value , manual); - // //input.value=""; - // }); - - close.innerHTML = '关闭'; - close.addEventListener('click', function () { - manual.remove(); - ui.arena.show(); - ui.system.show(); - - game.resume2(); - if (game.onresume2) { - game.onresume2(); - } - ui.arena.classList.remove('menupaused'); - ui.historybar.classList.remove('menupaused'); - ui.window.classList.remove('touchinfohidden'); - ui.config2.classList.remove('pressdown2'); - ui.menuContainer.show(); - }); - - _status.paused = true; - ui.arena.classList.remove('menupaused'); - ui.arena.hide(); - ui.system.hide(); - ui.menuContainer.hide(); - ui.window.appendChild(manual); -}, - - //添加自定义Boss TODO - shuYing.addBossShow = function (dialog, manual) { - dialog = ui.create.dialog(); - dialog.noImage = true; - dialog.style.backgroundImage = ""; - - let content = manual.appendChild(dialog); - content.classList.remove('nobutton'); - content.classList.add('content'); - content.style.transform = ''; - content.style.opacity = ''; - content.style.height = ''; - - let list = lib.config.extension_术樱_tianshu_add_list; - if (list == undefined || list == '') { - dialog.addText("无BOSS"); - } else { - list = list.split(","); - - for (let i = 0; i < list.length; i++) { - for (let j in lib.character) { - if (j == list[i]) { - dialog.addSmall([[j], 'character']); - let del = ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode'); - del.link = i; - del.innerHTML = '' + '删除' + ''; - del.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', function () { - if (lib.config.extension_术樱_tianshu_add_list.length <= 1) { - game.saveConfig('extension_术樱_tianshu_add_list', ''); - } else if (lib.config.extension_术樱_tianshu_add_list.length == 2) { - if (this.link != 1) { - game.saveConfig('extension_术樱_tianshu_add_list', list[this.link]); - } else { - game.saveConfig('extension_术樱_tianshu_add_list', list[0]); - } - } else { - game.saveConfig('extension_术樱_tianshu_add_list', ''); - for (let k = 0; k < list.length; k++) { - if (k == this.link) continue; - if (lib.config.extension_术樱_tianshu_add_list == undefined || lib.config.extension_术樱_tianshu_add_list == '') { - game.saveConfig('extension_术樱_tianshu_add_list', list[k]); - } else { - game.saveConfig('extension_术樱_tianshu_add_list', lib.config.extension_术樱_tianshu_add_list + ',' + list[k]); - } - } - document.getElementById('newBossList').click(); //刷新列表 - } - }); - dialog.addAuto(del); - } - } - } - } - }, - - //搜索Boss TODO - shuYing.searchBossList = function (dialog, manual, val) { - dialog = ui.create.dialog(); - dialog.noImage = true; - dialog.style.backgroundImage = ""; - - let content = manual.appendChild(dialog); - content.classList.remove('nobutton'); - content.classList.add('content'); - content.style.transform = ''; - content.style.opacity = ''; - content.style.height = ''; - - let result = val; - let value = false; - let list = []; - - if (result == "" || result == null) { - result = "请输入武将名称"; - alert(result); - } else { - for (let a in lib.character) { - if (lib.translate[a] && lib.translate[a].indexOf(result) != -1) { - list.add(a); - value = true; - } - } - - for (let i = 0; i < list.length; i++) { - dialog.addSmall([[list[i]], 'character']); - let add = ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode'); - add.link = i; - add.innerHTML = '' + '加入' + ''; - add.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', function () { - if (lib.config.extension_术樱_tianshu_add_list == undefined || lib.config.extension_术樱_tianshu_add_list == '') { - game.saveConfig('extension_术樱_tianshu_add_list', list[this.link]); - } else { - game.saveConfig('extension_术樱_tianshu_add_list', lib.config.extension_术樱_tianshu_add_list + ',' + list[this.link]); - } - alert('成功加入至列表'); - }); - dialog.addAuto(add); - } - - _status.nameList = list; - - if (value == false) { - alert('找不到名为' + result + '的武将!'); - } - } - }, - - //删除Boss TODO - shuYing.deleteBossList = function (dialog, manual, val) { - dialog = ui.create.dialog(); - dialog.noImage = true; - dialog.style.backgroundImage = ""; - - let content = manual.appendChild(dialog); - content.classList.remove('nobutton'); - content.classList.add('content'); - content.style.transform = ''; - content.style.opacity = ''; - content.style.height = ''; - - let result = val; - - if (result == "" || result == null) { - result = "你没有输入名称"; - alert(result); - return; - } - - let list = lib.config.extension_术樱_tianshu_add_list.split(","); - let value = false; - let newList = []; - - for (let i = 0; i < list.length; i++) { - let pushBool = true; - if (String(lib.translate[list[i]]) == String(result)) { - if (confirm('已找到' + result + '武将,点击确定移除自定义Boss列表。')) { - pushBool = false; - } - value = true; - } - if (pushBool) newList.push(list[i]); - } - if (newList) { - game.saveConfig('extension_术樱_tianshu_add_list', ''); - for (let j = 0; j < newList.length; j++) { - if (lib.config.extension_术樱_tianshu_add_list == undefined || lib.config.extension_术樱_tianshu_add_list == '') { - game.saveConfig('extension_术樱_tianshu_add_list', newList[j]); - } else { - game.saveConfig('extension_术樱_tianshu_add_list', lib.config.extension_术樱_tianshu_add_list + ',' + newList[j]); - } - } - } - - - if (value == false) { - alert('找不到名为' + result + '的武将或者武将不存在自定义Boss列表中。'); - } - }, - - shuYing.download_beta_version = function () { - let online_version; - let httpRequest = new XMLHttpRequest(); - httpRequest.open("GET", 'http://diuse.hao1237.top/Diuse/beta_extension/online_version.js', true); - httpRequest.send(null); - httpRequest.onreadystatechange = function () { - if (httpRequest.readyState == 4 && httpRequest.status == 200) { - online_version = httpRequest.responseText; - game.saveConfig('Diuse_online_version', httpRequest.responseText) - lib.init.js(url, 'version', function () { - try { - let local_version = Diuse_version; - let Diuse_num = 1; - } catch (error) { - if (confirm('本地资源不完整!点击确认重新获取!')) { - game.download('http://diuse.hao1237.top/Diuse/beta_extension/files.js', 'extension/术樱/files.js', function () { }, function () { }); - game.download('http://diuse.hao1237.top/Diuse/beta_extension/version.js', 'extension/术樱/version.js', function () { }, function () { }); - game.download('http://diuse.hao1237.top/Diuse/beta_extension/extension.js', 'extension/术樱/extension.js', function () { - game.saveConfig('Diuse_local_version', online_version); - Diuse_Button = true; - alert('下载完成,重启生效'); - }, function () { - Diuse_Button = true; - alert('下载失败'); - }); - } else { - Diuse_Button = true; - } - } - if (local_version != online_version && Diuse_num == 1) { - if (confirm('检测到最新测试版本为:' + online_version + '本地版本为:' + local_version)) { - game.download('http://diuse.hao1237.top/Diuse/beta_extension/files.js', 'extension/术樱/files.js', function () { }, function () { }); - game.download('http://diuse.hao1237.top/Diuse/beta_extension/version.js', 'extension/术樱/version.js', function () { }, function () { }); - game.download('http://diuse.hao1237.top/Diuse/beta_extension/extension.js', 'extension/术樱/extension.js', function () { - game.saveConfig('Diuse_local_version', online_version); - Diuse_Button = true; - alert('下载完成,重启生效'); - }, function () { - Diuse_Button = true; - alert('下载失败'); - }); - } else { - Diuse_Button = true; - } - } else { - if (Diuse_num == 1) { - Diuse_Button = true; - alert('本地版本为最新版'); - } - } - }, function () { - if (confirm('本地资源不完整!点击确认重新获取!')) { - game.download('http://diuse.hao1237.top/Diuse/beta_extension/files.js', 'extension/术樱/files.js', function () { }, function () { }); - game.download('http://diuse.hao1237.top/Diuse/beta_extension/version.js', 'extension/术樱/version.js', function () { }, function () { }); - game.download('http://diuse.hao1237.top/Diuse/beta_extension/extension.js', 'extension/术樱/extension.js', function () { - game.saveConfig('Diuse_local_version', online_version); - Diuse_Button = true; - alert('下载完成,重启生效'); - }, function () { - Diuse_Button = true; - alert('下载失败'); - }); - } else { - Diuse_Button = true; - } - }); - } - }; - }; - -shuYing.download_mp3 = function () { - lib.init.js(url, 'files', function () { - let list = Diuse_mp3; - let num = 0; - let num1 = list.length; - document.body.appendChild(Diuse_Text); - let download1 = function () { - game.download('http://diuse.hao1237.top/Diuse/skin/' + list[0], 'extension/术樱/' + list[0], function () { - num++ - list.remove(list[0]); - if (list.length > 0) { - Diuse_Text.innerHTML = '正在下载(' + num + '/' + num1 + ')'; - download1(); - } else { - Diuse_Text.innerHTML = '下载完毕'; - Diuse_Button = true; - alert('语音下载完毕!'); - document.body.removeChild(Diuse_Text); - }; - }, function () { - if (confirm('下载' + list[0] + '失败,是否继续下载?')) { - download1(); - } - }); - } - download1(); - }, function () { - Diuse_Button = true; - alert('本地资源不完整!请检查文件完整性。'); - }); -}; - -shuYing.download_static = function () { - lib.init.js(url, 'files', function () { - let list = Diuse_static; - let num = 0; - let num1 = list.length; - document.body.appendChild(Diuse_Text); - let download1 = function () { - game.download('http://diuse.hao1237.top/Diuse/image/static/' + list[0], 'extension/术樱/' + list[0], function () { - num++ - list.remove(list[0]); - if (list.length > 0) { - Diuse_Text.innerHTML = '正在下载(' + num + '/' + num1 + ')'; - download1(); - } else { - Diuse_Text.innerHTML = '下载完毕'; - Diuse_Button = true; - alert('静态皮肤下载完毕!'); - document.body.removeChild(Diuse_Text); - }; - }, function () { - if (confirm('下载' + list[0] + '失败,是否继续下载?')) { - download1(); - } - }); - } - download1(); - }, function () { - Diuse_Button = true; - alert('本地资源不完整!请检查文件完整性。'); - }); -}; - -shuYing.download_tianshu = function () { - lib.init.js(url, 'files', function () { - let list = Diuse_tianshu; - let num = 0; - let num1 = list.length; - document.body.appendChild(Diuse_Text); - let download1 = function () { - game.download('http://diuse.hao1237.top/Diuse/image/tianshu/' + list[0], 'extension/术樱/' + list[0], function () { - num++ - list.remove(list[0]); - if (list.length > 0) { - Diuse_Text.innerHTML = '正在下载(' + num + '/' + num1 + ')'; - download1(); - } else { - Diuse_Text.innerHTML = '下载完毕'; - Diuse_Button = true; - alert('天书皮肤下载完毕!'); - document.body.removeChild(Diuse_Text); - }; - }, function () { - if (confirm('下载' + list[0] + '失败,是否继续下载?')) { - download1(); - } - }); - } - download1(); - }, function () { - Diuse_Button = true; - alert('本地资源不完整!请检查文件完整性。'); - }); -}; - -shuYing.download_dynamic = function (dynamic_name) { - if (lib.config.extension_术樱_Skin) { - let url_files = dynamic_name.substring(0, dynamic_name.length - 4); - skinList(url_files); - } else { - game.download('http://diuse.hao1237.top/Diuse/image/dynamic/' + dynamic_name, 'extension/术樱/' + dynamic_name, function () { - Diuse_Button = true; - alert('所选皮肤下载完毕!'); - }, function () { - if (confirm('下载' + dynamic_name + '失败,是否继续下载?')) { - download_dynamic(dynamic_name); - } - }); - } -}; - -shuYing.download_dynamic_all = function () { - lib.init.js(url, 'files', function () { - let list = Diuse_dynamic; - let num = 0; - let num1 = list.length; - document.body.appendChild(Diuse_Text); - let download1 = function () { - game.download('http://diuse.hao1237.top/Diuse/image/dynamic/' + list[0], 'extension/术樱/' + list[0], function () { - num++ - list.remove(list[0]); - if (list.length > 0) { - Diuse_Text.innerHTML = '正在下载(' + num + '/' + num1 + ')'; - download1(); - } else { - Diuse_Text.innerHTML = '下载完毕'; - Diuse_Button = true; - alert('动态皮肤下载完毕!'); - document.body.removeChild(Diuse_Text); - }; - }, function () { - if (confirm('下载' + list[0] + '失败,是否继续下载?')) { - download1(); - } - }); - } - download1(); - }, function () { - Diuse_Button = true; - alert('本地资源不完整!请检查文件完整性。'); - }); -}; - -shuYing.download_files_all = function () { - lib.init.js(url, 'files', function () { - let list = Diuse_dynamic; - let num = 0; - let num1 = list.length; - document.body.appendChild(Diuse_Text); - let download1 = function () { - game.download('http://diuse.hao1237.top/Diuse/image/dynamic/' + list[0], 'extension/术樱/' + list[0], function () { - num++ - list.remove(list[0]); - if (list.length > 0) { - Diuse_Text.innerHTML = '正在下载(' + num + '/' + num1 + ')'; - download1(); - } else { - Diuse_Text.innerHTML = '下载完毕'; - Diuse_Button = true; - alert('动态皮肤下载完毕!'); - document.body.removeChild(Diuse_Text); - }; - }, function () { - if (confirm('下载' + list[0] + '失败,是否继续下载?')) { - download1(); - } - }); - } - download1(); - }, function () { - Diuse_Button = true; - alert('本地资源不完整!请检查文件完整性。'); - }); -}; - -shuYing.skinList = function () { - lib.init.js(url, 'files', function () { - let num = 0; - let skin_list = Skin; - let skin_num; - let file_url = 'image/skin/'; - let file_length = 0; - document.body.appendChild(Diuse_Text); - let down = function () { - switch (skin_list[0]) { - case 'Diuse_Fuhua': { - skin_num = Diuse_Fuhua_Skin; - break; - } - case 'Diuse_Bachongying': { - skin_num = Diuse_Bachongying_Skin; - break; - } - case 'Diuse_Buluoniya': { - skin_num = Diuse_Buluoniya_Skin; - break; - } - case 'Diuse_Kalian': { - skin_num = Diuse_Kalian_Skin; - break; - } - case 'Diuse_Shangxian': { - skin_num = Diuse_Shangxian_Skin; - break; - } - case 'Diuse_Shilv': { - skin_num = Diuse_Shilv_Skin; - break; - } - case 'Diuse_Xier': { - skin_num = Diuse_Xier_Skin; - break; - } - case 'Diuse_Yayi': { - skin_num = Diuse_Yayi_Skin; - break; - } - case 'Diuse_Yuexia': { - skin_num = Diuse_Yuexia_Skin; - break; - } - case 'Diuse_Konglv': { - skin_num = Diuse_Konglv_Skin; - break; - } - case 'Diuse_Heixi': { - skin_num = Diuse_Heixi_Skin; - break; - } - case 'Diuse_Bachongshenzi': { - skin_num = Diuse_Bachongshenzi_Skin; - break; - } - case 'Diuse_Keli': { - skin_num = Diuse_Keli_Skin; - break; - } - case 'Diuse_Shuangzi': { - skin_num = Diuse_Shuangzi_Skin; - break; - } - case 'Diuse_Lanmei': { - skin_num = Diuse_Lanmei_Skin; - break; - } - case 'Diuse_Yingtao': { - skin_num = Diuse_Yingtao_Skin; - break; - } - } - url_Diuse_search = file_url + skin_list[0] + '/' + skin_num[0] + '.jpg'; - file_length += skin_list.length; - game.readFile(url_Diuse_search, function () { - num++; - skin_num.remove(skin_num[0]); - if (skin_list.length > 0 || skin_num.length > 0) { - if (skin_num.length <= 0) skin_list.remove(skin_list[0]); - Diuse_Text.innerHTML = '正在补充Skin(' + num + '/' + file_length + ')'; - down(); - } else { - Diuse_Text.innerHTML = '补充完毕'; - Diuse_Button = true; - alert('皮肤下载完毕!'); - document.body.removeChild(Diuse_Text); - } - }, function () { - num++; - skin_num.remove(skin_num[0]); - if (skin_list.length > 0 || skin_num.length > 0) { - if (skin_num.length <= 0) skin_list.remove(skin_list[0]); - Diuse_Text.innerHTML = '正在补充Skin(' + num + '/' + file_length + ')'; - down(); - } else { - Diuse_Text.innerHTML = '补充完毕'; - Diuse_Button = true; - alert('皮肤下载完毕!'); - document.body.removeChild(Diuse_Text); - }; - // game.download('https://diuse.coding.net/p/extension/d/noname_Skin/git/raw/master/Skin/'+skin_list[0]+'/'+skin_num[0]+'.jpg','image/skin/'+skin_list[0]+'/'+skin_num[0]+'.jpg',function(){ - // num++; - // skin_num.remove(skin_num[0]); - // if(skin_list.length>0||skin_num.length>0){ - // if(skin_num.length<=0) skin_list.remove(skin_list[0]); - // Diuse_Text.innerHTML='正在补充Skin('+num+'/'+file_length+')'; - // down(); - // }else{ - // Diuse_Text.innerHTML='补充完毕'; - // Diuse_Button=true; - // alert('皮肤下载完毕!'); - // document.body.removeChild(Diuse_Text); - // }; - // },function(){ - // if(confirm('下载'+skin_list[0]+'失败,是否继续下载?')){ - // down(); - // } - // }); - }); - } - down(); - }, function () { - Diuse_Button = true; - alert('本地资源不完整!请检查文件完整性。'); - }); -}; - //本地资源修复 shuYing.RepairBug = () => { updater.repairCoreFiles(shuYing); diff --git a/function.js b/function.js index d6243e6..09d922b 100644 --- a/function.js +++ b/function.js @@ -223,4 +223,342 @@ export default function initFunction(lib, game, ui, get, ai, _status, shuYing = renderGrid(); }); }; + + // 创建可复用的对局单选界面;单击选中卡片,确认后返回对应键值。 + shuYing.chooseSingleOptionDialog = ({ title = "请选择", intro = "", options = [], defaultKey = null } = {}) => { + return new Promise(resolve => { + const items = options.map(option => typeof option == "string" ? { key: option, name: option } : option) + .filter(option => option?.key); + if (!items.length) { + resolve(null); + return; + } + const createNode = (tag, className, text, parent) => { + const node = document.createElement(tag); + if (className) node.className = className; + if (text !== undefined && text !== null) node.textContent = text; + if (parent) parent.appendChild(node); + return node; + }; + const mask = createNode("div", "shuYing-option-dialog-mask", null, document.body); + const dialog = createNode("div", "shuYing-option-dialog", null, mask); + createNode("div", "shuYing-option-dialog-title", title, dialog); + if (intro) createNode("div", "shuYing-option-dialog-intro", intro, dialog); + const optionArea = createNode("div", "shuYing-option-dialog-options", null, dialog); + const controls = createNode("div", "shuYing-option-dialog-controls", null, dialog); + let closed = false; + let selectedKey = defaultKey && items.some(item => item.key == defaultKey) ? defaultKey : items[0].key; + const finish = key => { + if (closed) return; + closed = true; + mask.remove(); + resolve(key); + }; + const refreshSelection = () => { + optionArea.querySelectorAll(".shuYing-option-dialog-card").forEach(card => { + const selected = card.dataset.key == selectedKey; + card.classList.toggle("selected", selected); + card.setAttribute("aria-pressed", String(selected)); + }); + }; + items.forEach((option, index) => { + const card = createNode("button", "shuYing-option-dialog-card", null, optionArea); + card.type = "button"; + card.dataset.key = option.key; + card.dataset.tone = option.tone || option.key; + createNode("span", "shuYing-option-dialog-order", String(index + 1).padStart(2, "0"), card); + createNode("span", "shuYing-option-dialog-name", option.name || option.key, card); + if (option.tag) createNode("span", "shuYing-option-dialog-tag", option.tag, card); + if (option.description) createNode("span", "shuYing-option-dialog-description", option.description, card); + card.addEventListener("click", event => { + event.stopPropagation(); + selectedKey = option.key; + refreshSelection(); + }); + }); + const confirm = createNode("button", "shuYing-option-dialog-confirm", "确定", controls); + confirm.type = "button"; + confirm.addEventListener("click", event => { + event.stopPropagation(); + finish(selectedKey); + }); + mask.addEventListener("click", event => event.stopPropagation()); + dialog.addEventListener("click", event => event.stopPropagation()); + refreshSelection(); + const initial = Array.from(optionArea.querySelectorAll(".shuYing-option-dialog-card")).find(node => node.dataset.key == selectedKey) + || optionArea.querySelector(".shuYing-option-dialog-card"); + initial?.focus({ preventScroll: true }); + }); + }; + + // 创建可复用的技能奖励选择界面;悬停预览,单击选中,确认后返回技能。 + shuYing.chooseSkillRewardDialog = ({ title = "请选择技能", highlightText = "", choices = [], selectedSkills = [], bonds = [], player = null, canRefresh = false } = {}) => { + return new Promise(resolve => { + const skills = choices.filter(skill => typeof skill == "string" && skill); + if (!skills.length) { + resolve(null); + return; + } + const createNode = (tag, className, text, parent) => { + const node = document.createElement(tag); + if (className) node.className = className; + if (text !== undefined && text !== null) node.textContent = text; + if (parent) parent.appendChild(node); + return node; + }; + const getSkillInfo = skill => { + if (typeof get.skillInfoTranslation == "function") { + const info = get.skillInfoTranslation(skill, player); + if (info) return info; + } + return lib.translate[`${skill}_info`] || "暂无技能描述"; + }; + const getPreviewSkills = previewSkill => Array.from(new Set(selectedSkills.concat(previewSkill || []).filter(Boolean))); + const getUniqueSkillNames = currentSkills => Array.from(new Set( + currentSkills.map(skill => lib.translate[skill]).filter(name => typeof name == "string" && name) + )); + const getCharacterNames = () => Array.from(new Set( + [player?.name, player?.name1, player?.name2] + .filter(name => typeof name == "string" && name) + .map(name => lib.translate[name] || get.translation(name)) + .filter(name => typeof name == "string" && name) + )); + const getKeywordCount = (keyword, currentSkills) => { + const marker = `【${keyword}】`; + const matchedNames = new Set(); + currentSkills.forEach(skill => { + if (getSkillInfo(skill).includes(marker)) matchedNames.add(lib.translate[skill] || skill); + }); + return matchedNames.size; + }; + const getLevelCondition = (bond, level) => { + const source = level?.condition || bond?.condition; + if (source) { + const condition = { ...source }; + if (condition.count == null && level?.count != null) condition.count = level.count; + return condition; + } + return bond?.keyword ? { type: "keyword", keyword: bond.keyword, count: level?.count } : null; + }; + const matchesCondition = (condition, currentSkills) => { + if (!condition || typeof condition != "object") return false; + if (!condition.type && Array.isArray(condition.all)) return condition.all.every(item => matchesCondition(item, currentSkills)); + if (!condition.type && Array.isArray(condition.any)) return condition.any.some(item => matchesCondition(item, currentSkills)); + if (!condition.type && condition.not) return !matchesCondition(condition.not, currentSkills); + if (condition.type == "keyword") return getKeywordCount(condition.keyword, currentSkills) >= Math.max(1, Number(condition.count) || 1); + if (condition.type == "skill") return currentSkills.includes(condition.skill); + if (condition.type == "skillName") return currentSkills.some(skill => lib.translate[skill] == condition.name); + if (condition.type == "skills") { + const all = Array.isArray(condition.all) ? condition.all : []; + const any = Array.isArray(condition.any) ? condition.any : []; + if (all.length && !all.every(skill => currentSkills.includes(skill))) return false; + if (any.length && !any.some(skill => currentSkills.includes(skill))) return false; + return Boolean(all.length || any.length); + } + if (condition.type == "skillNames") { + const names = new Set(getUniqueSkillNames(currentSkills)); + const all = Array.from(new Set(Array.isArray(condition.all) ? condition.all.filter(Boolean) : [])); + const any = Array.from(new Set(Array.isArray(condition.any) ? condition.any.filter(Boolean) : [])); + if (all.length && !all.every(name => names.has(name))) return false; + const matchedAny = any.filter(name => names.has(name)); + const need = Number(condition.count); + if (Number.isFinite(need) && need > 0) { + const matched = new Set(all.filter(name => names.has(name)).concat(matchedAny)); + return matched.size >= Math.max(1, Math.floor(need)); + } + if (any.length && !matchedAny.length) return false; + return Boolean(all.length || any.length); + } + if (condition.type == "characterSkillNames") { + const characters = Array.from(new Set((Array.isArray(condition.characters) ? condition.characters : [condition.character]).filter(Boolean))); + if (!characters.some(keyword => getCharacterNames().some(name => name.includes(keyword)))) return false; + const names = new Set(getUniqueSkillNames(currentSkills)); + const all = Array.from(new Set(Array.isArray(condition.all) ? condition.all.filter(Boolean) : [])); + const any = Array.from(new Set(Array.isArray(condition.any) ? condition.any.filter(Boolean) : [])); + if (all.length && !all.every(name => names.has(name))) return false; + if (any.length && !any.some(name => names.has(name))) return false; + return Boolean(all.length || any.length); + } + return false; + }; + const isConditionRelevant = (condition, currentSkills) => { + if (!condition || typeof condition != "object") return false; + if (!condition.type && Array.isArray(condition.all)) return condition.all.some(item => isConditionRelevant(item, currentSkills)); + if (!condition.type && Array.isArray(condition.any)) return condition.any.some(item => isConditionRelevant(item, currentSkills)); + if (!condition.type && condition.not) return false; + if (condition.type == "keyword") return getKeywordCount(condition.keyword, currentSkills) > 0; + if (condition.type == "skill") return currentSkills.includes(condition.skill); + if (condition.type == "skillName") return currentSkills.some(skill => lib.translate[skill] == condition.name); + if (condition.type == "skills") return [...(condition.all || []), ...(condition.any || [])].some(skill => currentSkills.includes(skill)); + if (condition.type == "skillNames") { + const names = new Set(getUniqueSkillNames(currentSkills)); + return [...(condition.all || []), ...(condition.any || [])].some(name => names.has(name)); + } + if (condition.type == "characterSkillNames") { + const characters = Array.isArray(condition.characters) ? condition.characters : [condition.character]; + return characters.some(keyword => getCharacterNames().some(name => name.includes(keyword))) + && [...(condition.all || []), ...(condition.any || [])].some(name => getUniqueSkillNames(currentSkills).includes(name)); + } + return false; + }; + const getConditionText = (condition, currentSkills) => { + if (!condition || typeof condition != "object") return "未配置激活条件"; + if (!condition.type && Array.isArray(condition.all)) return condition.all.map(item => getConditionText(item, currentSkills)).join(";"); + if (!condition.type && Array.isArray(condition.any)) return `满足任意一项:${condition.any.map(item => getConditionText(item, currentSkills)).join(";")}`; + if (!condition.type && condition.not) return `排除:${getConditionText(condition.not, currentSkills)}`; + if (condition.type == "keyword") { + const count = getKeywordCount(condition.keyword, currentSkills); + const need = Math.max(1, Number(condition.count) || 1); + return `包含【${condition.keyword}】的技能 ${Math.min(count, need)}/${need}`; + } + if (condition.type == "skill") return `${currentSkills.includes(condition.skill) ? "已" : "未"}选择【${get.translation(condition.skill)}】`; + if (condition.type == "skillName") return `${currentSkills.some(skill => lib.translate[skill] == condition.name) ? "已" : "未"}选择任意版本的【${condition.name}】`; + if (condition.type == "skills") { + const all = Array.isArray(condition.all) ? condition.all : []; + const any = Array.isArray(condition.any) ? condition.any : []; + if (all.length) return `指定技能 ${all.filter(skill => currentSkills.includes(skill)).length}/${all.length}`; + if (any.length) return `任选其一:${any.map(skill => `【${get.translation(skill)}】`).join("、")}`; + } + if (condition.type == "skillNames") { + const names = new Set(getUniqueSkillNames(currentSkills)); + const all = Array.from(new Set(Array.isArray(condition.all) ? condition.all.filter(Boolean) : [])); + const any = Array.from(new Set(Array.isArray(condition.any) ? condition.any.filter(Boolean) : [])); + const candidates = Array.from(new Set(all.concat(any))); + const matched = candidates.filter(name => names.has(name)).length; + const need = Number(condition.count); + if (Number.isFinite(need) && need > 0) return `不同技能名称 ${Math.min(matched, Math.floor(need))}/${Math.floor(need)}`; + if (all.length) return `同名技能 ${all.filter(name => names.has(name)).length}/${all.length}`; + if (any.length) return `任选任意版本:${any.map(name => `【${name}】`).join("、")}`; + } + if (condition.type == "characterSkillNames") { + const characters = Array.from(new Set((Array.isArray(condition.characters) ? condition.characters : [condition.character]).filter(Boolean))); + const names = new Set(getUniqueSkillNames(currentSkills)); + const all = Array.from(new Set(Array.isArray(condition.all) ? condition.all.filter(Boolean) : [])); + const any = Array.from(new Set(Array.isArray(condition.any) ? condition.any.filter(Boolean) : [])); + const characterReady = characters.some(keyword => getCharacterNames().some(name => name.includes(keyword))); + const skillText = all.length + ? `指定技能 ${all.filter(name => names.has(name)).length}/${all.length}` + : `任选技能:${any.map(name => `【${name}】`).join("、")}`; + return `${characterReady ? "武将名称已匹配" : `武将名称需包含【${characters.join("】或【")}】`};${skillText}`; + } + return "未配置激活条件"; + }; + const getLevelSkills = level => { + if (Array.isArray(level?.skills)) return level.skills.filter(Boolean); + return level?.skill ? [level.skill] : []; + }; + const getLevelText = level => { + if (level?.text) return level.text; + const rewardSkills = getLevelSkills(level); + if (rewardSkills.length) return `获得技能【${rewardSkills.map(skill => get.translation(skill)).join("、")}】`; + return "羁绊效果待配置"; + }; + + const mask = createNode("div", "shuYing-skill-reward-mask", null, document.body); + const dialog = createNode("div", "shuYing-skill-reward-dialog", null, mask); + const titleNode = createNode("div", "shuYing-skill-reward-title", null, dialog); + const highlightIndex = highlightText ? title.indexOf(highlightText) : -1; + if (highlightIndex < 0) titleNode.textContent = title; + else { + titleNode.append(document.createTextNode(title.slice(0, highlightIndex))); + createNode("span", "shuYing-skill-reward-title-character", highlightText, titleNode); + titleNode.append(document.createTextNode(title.slice(highlightIndex + highlightText.length))); + } + const content = createNode("div", "shuYing-skill-reward-content", null, dialog); + const preview = createNode("section", "shuYing-skill-reward-preview", null, content); + const previewName = createNode("div", "shuYing-skill-reward-name", "", preview); + const previewInfo = createNode("div", "shuYing-skill-reward-info", "", preview); + const bondPanel = createNode("aside", "shuYing-skill-reward-bonds", null, content); + createNode("div", "shuYing-skill-reward-bond-title", "羁绊", bondPanel); + const bondList = createNode("div", "shuYing-skill-reward-bond-list", null, bondPanel); + const choiceArea = createNode("div", "shuYing-skill-reward-choices", null, dialog); + const controls = createNode("div", "shuYing-skill-reward-controls", null, dialog); + let closed = false; + let previewSkill = skills[0]; + let selectedSkill = skills[0]; + + const renderBonds = () => { + bondList.innerHTML = ""; + if (!bonds.length) { + createNode("div", "shuYing-skill-reward-bond-empty", "暂无可激活羁绊", bondList); + return; + } + bonds.forEach(bond => { + const levels = (bond.levels || []).map((level, index) => ({ + ...level, + rank: Number(level.level ?? level.count ?? index + 1) || index + 1, + })).sort((a, b) => a.rank - b.rank); + if (!levels.length) return; + const currentSkills = getPreviewSkills(previewSkill); + if (!levels.some(level => isConditionRelevant(getLevelCondition(bond, level), currentSkills))) return; + const reached = levels.filter(level => matchesCondition(getLevelCondition(bond, level), currentSkills)); + const active = reached[reached.length - 1] || null; + const next = levels.find(level => level.rank > (active?.rank || 0)) || null; + const item = createNode("div", `shuYing-skill-reward-bond${active ? " active" : ""}`, null, bondList); + const head = createNode("div", "shuYing-skill-reward-bond-head", null, item); + createNode("span", "shuYing-skill-reward-bond-name", bond.name || (bond.keyword ? `【${bond.keyword}】羁绊` : bond.id || "未命名羁绊"), head); + createNode("span", "shuYing-skill-reward-bond-count", active ? `第${active.rank}级` : "待激活", head); + const status = active ? `已激活:${getLevelText(active)}` : getConditionText(getLevelCondition(bond, next), currentSkills); + createNode("div", "shuYing-skill-reward-bond-status", status, item); + if (next) { + createNode("div", "shuYing-skill-reward-bond-effect", `下一阶段:${getLevelText(next)}`, item); + if (active) createNode("div", "shuYing-skill-reward-bond-effect", getConditionText(getLevelCondition(bond, next), currentSkills), item); + } + }); + if (!bondList.childNodes.length) createNode("div", "shuYing-skill-reward-bond-empty", "该技能暂无相关羁绊", bondList); + }; + + const renderPreview = skill => { + previewSkill = skill; + previewName.textContent = `【${get.translation(skill)}】`; + previewInfo.innerHTML = getSkillInfo(skill); + choiceArea.querySelectorAll(".shuYing-skill-reward-choice").forEach(node => { + node.classList.toggle("previewing", node.dataset.skill == skill); + node.classList.toggle("selected", node.dataset.skill == selectedSkill); + node.setAttribute("aria-pressed", String(node.dataset.skill == selectedSkill)); + }); + renderBonds(); + }; + const finish = skill => { + if (closed) return; + closed = true; + mask.remove(); + resolve(skill); + }; + + skills.forEach(skill => { + const button = createNode("button", "shuYing-skill-reward-choice", get.translation(skill), choiceArea); + button.type = "button"; + button.dataset.skill = skill; + button.addEventListener("mouseenter", () => renderPreview(skill)); + button.addEventListener("focus", () => renderPreview(skill)); + button.addEventListener("click", event => { + event.stopPropagation(); + selectedSkill = skill; + renderPreview(skill); + }); + }); + const confirm = createNode("button", "shuYing-skill-reward-confirm", "确定", controls); + confirm.type = "button"; + confirm.addEventListener("click", event => { + event.stopPropagation(); + finish(selectedSkill); + }); + if (canRefresh) { + const handCount = player?.countCards?.("h") || 0; + const discardCount = Math.ceil(handCount / 2); + const refresh = createNode("button", "shuYing-skill-reward-refresh", `刷新(弃${discardCount}张)`, controls); + refresh.type = "button"; + refresh.title = "随机弃置一半手牌(向上取整),重新生成技能选项;本次只能使用一次"; + refresh.addEventListener("click", event => { + event.stopPropagation(); + finish({ refresh: true }); + }); + } + mask.addEventListener("click", event => event.stopPropagation()); + dialog.addEventListener("click", event => event.stopPropagation()); + renderPreview(previewSkill); + choiceArea.querySelector(".shuYing-skill-reward-choice")?.focus({ preventScroll: true }); + }); + }; } diff --git a/menu.js b/menu.js index 41dd449..13a3fd4 100644 --- a/menu.js +++ b/menu.js @@ -1,28 +1,198 @@ +import tianshuConfig from "./tianshu/config.js"; + export default function initShuYingMenu({ lib, game, ui, shuYing, updater }) { const menu = lib.extensionMenu.extension_术樱包; - const createCollapseMenu = (title, endId) => ({ - name: `
▼ ${title}
`, - clear: true, - onclick() { - if (!this.shuyingCollapseNodes) { - const nodes = []; - let node = this.nextSibling; - - while (node && !node.querySelector?.(`#${endId}`)) { - nodes.push(node); - node = node.nextSibling; - } - this.shuyingCollapseNodes = nodes; + // 创建可指定默认状态的折叠菜单,并在菜单节点延迟生成后应用初始状态。 + const createCollapseMenu = (title, endId, defaultCollapsed = false) => { + const markerId = `${endId}_collapse`; + const renderTitle = collapsed => `
${collapsed ? "▶" : "▼"} ${title}
`; + const getCollapseNodes = node => { + if (node.shuyingCollapseNodes) return node.shuyingCollapseNodes; + const nodes = []; + let current = node.nextSibling; + while (current && !current.querySelector?.(`#${endId}`)) { + nodes.push(current); + current = current.nextSibling; } - - const collapsed = !this.shuyingCollapsed; - this.shuyingCollapsed = collapsed; - this.shuyingCollapseNodes.forEach(node => { - node.style.display = collapsed ? "none" : ""; + node.shuyingCollapseNodes = nodes; + return nodes; + }; + const setCollapsed = (node, collapsed) => { + if (!node) return false; + node.shuyingCollapsed = Boolean(collapsed); + getCollapseNodes(node).forEach(current => { + current.style.display = node.shuyingCollapsed ? "none" : ""; }); - this.innerHTML = `
${collapsed ? "▶" : "▼"} ${title}
`; - }, - }); + node.innerHTML = renderTitle(node.shuyingCollapsed); + return true; + }; + const config = { + name: `
${defaultCollapsed ? "▶" : "▼"} ${title}
`, + clear: true, + onclick() { + setCollapsed(this, !this.shuyingCollapsed); + }, + setCollapsed(collapsed) { + const node = document.getElementById(markerId)?.closest?.(".config"); + return setCollapsed(node, collapsed); + }, + }; + + if (defaultCollapsed) { + const observer = new MutationObserver(() => { + if (!config.setCollapsed(true)) return; + observer.disconnect(); + }); + observer.observe(document.body, { childList: true, subtree: true }); + queueMicrotask(() => { + if (!config.setCollapsed(true)) return; + observer.disconnect(); + }); + } + return config; + }; + + const getBondLevelCondition = (bond, level) => { + const source = level?.condition || bond?.condition; + if (source) { + const condition = { ...source }; + if (condition.count == null && level?.count != null) condition.count = level.count; + return condition; + } + return bond?.keyword ? { type: "keyword", keyword: bond.keyword, count: level?.count } : null; + }; + // 汇总羁绊涉及的技能名称;候选技能只在卡片顶部展示一次。 + const getBondSkillLabels = condition => { + if (!condition || typeof condition != "object") return []; + if (!condition.type) { + return Array.from(new Set([ + ...(condition.all || []).flatMap(getBondSkillLabels), + ...(condition.any || []).flatMap(getBondSkillLabels), + ...getBondSkillLabels(condition.not), + ].filter(Boolean))); + } + if (condition.type == "keyword") return condition.keyword ? [`含【${condition.keyword}】的技能`] : []; + if (condition.type == "skill") return condition.skill ? [get.translation(condition.skill)] : []; + if (condition.type == "skillName") return condition.name ? [condition.name] : []; + if (condition.type == "skills") { + return Array.from(new Set([...(condition.all || []), ...(condition.any || [])].map(skill => get.translation(skill)).filter(Boolean))); + } + if (condition.type == "skillNames") { + return Array.from(new Set([...(condition.all || []), ...(condition.any || [])].filter(Boolean))); + } + if (condition.type == "characterSkillNames") { + return Array.from(new Set([...(condition.all || []), ...(condition.any || [])].filter(Boolean))); + } + return []; + }; + const getBondRuleHint = condition => { + if (!condition || typeof condition != "object") return ""; + if (condition.type == "skillNames") return "按不同译名统计;同译名的不同技能 ID 只计 1 种过关技能"; + if (condition.type == "characterSkillNames") { + const characters = Array.isArray(condition.characters) ? condition.characters : [condition.character]; + return `武将译名包含【${characters.filter(Boolean).join("】或【")}】且取得上述过关技能后触发`; + } + if (condition.type == "keyword") return `按描述中包含【${condition.keyword}】的不同技能译名统计`; + if (!condition.type && [...(condition.all || []), ...(condition.any || [])].some(item => item?.type == "skillNames")) { + return "按不同译名统计;同译名的不同技能 ID 只计 1 种过关技能"; + } + return ""; + }; + const getBondLevelRequirement = (bond, level) => { + const condition = getBondLevelCondition(bond, level); + const count = Math.max(0, Math.floor(Number(condition?.count ?? level?.count) || 0)); + if (count) return condition?.type == "skillNames" ? `需 ${count} 种` : `需 ${count} 个`; + if (condition?.type == "skills" && condition.all?.length) return `需 ${new Set(condition.all).size} 个`; + if (condition?.type == "skillNames" && condition.all?.length) return `需 ${new Set(condition.all).size} 种`; + return ""; + }; + const getBondRewardText = level => { + if (level?.text) return level.text; + const skills = Array.isArray(level?.skills) ? level.skills : (level?.skill ? [level.skill] : []); + return skills.length ? `获得技能${skills.map(skill => `【${get.translation(skill)}】`).join("、")}` : "未配置奖励效果"; + }; + let closeTianshuBondDialog = null; + // 创建独立羁绊谱册;每次打开都直接读取当前 tianshuConfig.bonds。 + const openTianshuBondDialog = () => { + closeTianshuBondDialog?.(); + const previousFocus = document.activeElement; + const createNode = (tag, className, text, parent) => { + const node = document.createElement(tag); + if (className) node.className = className; + if (text !== undefined && text !== null) node.textContent = text; + if (parent) parent.appendChild(node); + return node; + }; + const bonds = Array.isArray(tianshuConfig.bonds) ? tianshuConfig.bonds : []; + const mask = createNode("div", "shuYing-bond-book-mask", null, document.body); + const dialog = createNode("section", "shuYing-bond-book", null, mask); + dialog.setAttribute("role", "dialog"); + dialog.setAttribute("aria-modal", "true"); + dialog.setAttribute("aria-label", "天书羁绊谱册"); + + const header = createNode("header", "shuYing-bond-book-header", null, dialog); + const heading = createNode("div", "shuYing-bond-book-heading", null, header); + createNode("div", "shuYing-bond-book-eyebrow", "天书乱斗 · 羁绊谱册", heading); + createNode("h2", "shuYing-bond-book-title", "羁绊系统", heading); + createNode("div", "shuYing-bond-book-count", `${bonds.length} 条羁绊`, header); + createNode("p", "shuYing-bond-book-intro", "羁绊只统计玩家过关时选择且当前仍持有的技能;达到更高等级时,高等级效果会覆盖低等级。", dialog); + + const content = createNode("div", "shuYing-bond-book-content", null, dialog); + if (!bonds.length) { + createNode("div", "shuYing-bond-book-empty", "config.js 中暂未配置可展示的羁绊。", content); + } + bonds.forEach((bond, bondIndex) => { + const card = createNode("article", "shuYing-bond-book-card", null, content); + const cardHead = createNode("div", "shuYing-bond-book-card-head", null, card); + createNode("span", "shuYing-bond-book-seal", String(bondIndex + 1).padStart(2, "0"), cardHead); + const nameWrap = createNode("div", "shuYing-bond-book-name-wrap", null, cardHead); + createNode("h3", "shuYing-bond-book-name", bond.name || "未命名羁绊", nameWrap); + + const levels = (bond.levels || []).map((level, index) => ({ + ...level, + rank: Number(level.level ?? level.count ?? index + 1) || index + 1, + })).sort((a, b) => a.rank - b.rank); + const summaryCondition = bond.condition || getBondLevelCondition(bond, levels[0]); + const skillLabels = getBondSkillLabels(summaryCondition); + if (skillLabels.length) { + const summary = createNode("div", "shuYing-bond-book-summary", null, card); + const tags = createNode("div", "shuYing-bond-book-tags", null, summary); + skillLabels.forEach(name => createNode("span", "shuYing-bond-book-tag", name, tags)); + const hint = getBondRuleHint(summaryCondition); + if (hint) createNode("div", "shuYing-bond-book-rule", hint, summary); + } + const levelList = createNode("div", "shuYing-bond-book-levels", null, card); + if (!levels.length) createNode("div", "shuYing-bond-book-level-empty", "尚未配置等级", levelList); + levels.forEach(level => { + const row = createNode("div", "shuYing-bond-book-level", null, levelList); + createNode("span", "shuYing-bond-book-level-dot", "", row); + const detail = createNode("div", "shuYing-bond-book-level-detail", null, row); + const requirement = getBondLevelRequirement(bond, level); + createNode("div", "shuYing-bond-book-level-name", `第 ${level.rank} 级${requirement ? ` · ${requirement}` : ""}`, detail); + createNode("div", "shuYing-bond-book-reward", getBondRewardText(level), detail); + }); + }); + + const controls = createNode("footer", "shuYing-bond-book-controls", null, dialog); + const closeButton = createNode("button", "shuYing-bond-book-close", "关闭谱册", controls); + closeButton.type = "button"; + const close = () => { + document.removeEventListener("keydown", onKeydown); + mask.remove(); + closeTianshuBondDialog = null; + previousFocus?.focus?.({ preventScroll: true }); + }; + const onKeydown = event => { + if (event.key == "Escape") close(); + }; + closeTianshuBondDialog = close; + closeButton.addEventListener("click", close); + mask.addEventListener("click", event => { + if (event.target == mask) close(); + }); + document.addEventListener("keydown", onKeydown); + closeButton.focus({ preventScroll: true }); + }; menu.local_version = { name: `扩展版本:${lib.config.shuYing_local_version}`, @@ -48,37 +218,40 @@ export default function initShuYingMenu({ lib, game, ui, shuYing, updater }) { } const logs = [ - "-----< 2.0.0.9 改动 >-----", - "新增可以自定义虚拟偶像随机助战池功能", - "现在过关奖励提供的技能池会过滤武将牌上的技能", - "新增BOSS:子鼠、午马、日夜游神、董卓、旱魃", - "适配部分技能需要依赖BOSS的起始手牌", - "适配部分技能需要选择已经死亡的BOSS为目标时,提供一个按钮来列出已死亡的BOSS列表", - "-----< 2.0.0.9 修复 >-----", - "修复BOSS死亡尸体不会消失的BUG", - "修正曹操AI会更加正确判断何时发动【疑神】", - "修正过关后BOSS的初始手牌不再是摸牌事件", - "-----< 2.0.0.8 改动 >-----", - "新增BOSS:玄女!", - "不用担心困难,虚拟偶像前来援助!", - "新增BOSS选项开启,现在可以在扩展选项中开启新增1位BOSS来提高难度!", - "-----< 2.0.0.8 修复 >-----", - "修复当过关奖励执行完毕轮数和下轮角色异常的BUG", - "修复了一个BUG,该BUG会导致进入下关时BOSS的初始牌会被技能检索", - "修复黄蜂技能【冥虫】无法正常发动的BUG", - "修正司马懿AI向其友方发动【反馈】【狼顾】的问题", + "-----< 2.0.1.0 改动 >-----", + "重构PVE武将包目录,按照不同活动BOSS进行独立分包和统一加载", + "新增独立PVP武将包结构,并加入术樱左慈及其技能、图片和配音资源", + "天书乱斗新增动态难度BOSS,不同难度将使用准确的体力上限和追加技能", + "天书乱斗新增羁绊系统,根据玩家过关选择的技能激活并替换不同等级效果", + "羁绊条件支持技能ID、技能译名、描述关键词以及武将名称关键词组合", + "新增羁绊谱册和局内已激活羁绊查看功能", + "重铸过关技能选择界面,新增六个技能选项、确认按钮和单次刷新功能", + "新增可配置的额外技能奖励池,过关时与武将技能池同步检索", + "新增天书过关技能选择记录,羁绊仅统计玩家通过过关奖励取得且当前仍持有的技能", + "统一活动BOSS武将包入口,并补充十二生肖、青青子衿和捉鬼驱邪相关内容及配音资源", + "自定义界面现已兼容十周年UI、原生UI以及移动端显示", + "-----< 2.0.1.0 修复 >-----", + "修复天书动态BOSS体力、技能、武将复制和玩家变身识别异常的问题", + "修复天书武将包被普通武将列表识别或无法被挑战模式加载的问题", + "修复PVE分包后技能台词无法正确识别的问题", + "修复羁绊中多个同译名技能会被重复计算的问题", + "修复羁绊谱册和局内羁绊列表在部分分辨率下重叠或标题越界的问题", + "修复过关后行动顺序异常,当前角色回合结束后将行动权交给其下家", + "调整天书开局保护的伤害结算顺序,优先结算其他免伤和减伤效果", + "修复生成更新清单时会覆盖原有remove和removeDirectories内容的问题", ]; const keywordColors = { BOSS: "#ff6b6b", - 武将牌: "#ff6b6b", - BUG: "#ff9800", - 虚拟偶像: "#66ccff", - 玄女: "#d77cff", - "【冥虫】": "#7ed957", - "【反馈】": "#7ed957", - "【狼顾】": "#7ed957", - 黄蜂: "#d77cff", - 司马懿: "#d77cff", + PVE: "#ff6b6b", + PVP: "#ff6b6b", + 天书乱斗: "#66ccff", + 羁绊: "#d77cff", + 动态难度: "#d77cff", + 过关技能: "#7ed957", + 十周年UI: "#ffb74d", + 移动端: "#ffb74d", + removeDirectories: "#ff9800", + remove: "#ff9800", }; const highlightKeywords = text => { for (const [keyword, color] of Object.entries(keywordColors)) { @@ -157,12 +330,29 @@ export default function initShuYingMenu({ lib, game, ui, shuYing, updater }) { name: "--------------------", }; - menu.tianShuGroup = createCollapseMenu("天书乱斗选项", "shuying_tianshu_menu_end"); + menu.tianShuGroup = createCollapseMenu( + "天书乱斗选项", + "shuying_tianshu_menu_end", + lib.config.extension_术樱包_tianShu_Off === false + ); - menu.tianShuOff = { + menu.tianShu_Off = { name: "天书乱斗开关", init: true, intro: "关闭后,关闭天书乱斗模式(在非挑战模式下自动关闭)", + onclick(enabled) { + game.saveConfig("extension_术樱包_tianShu_Off", enabled); + if (!enabled) menu.tianShuGroup.setCollapsed(true); + }, + }; + + menu.tianShu_bonds = { + name: "查看羁绊谱册", + clear: true, + intro: "同步读取天书配置,展示当前可激活的羁绊、等级条件和奖励效果。", + onclick() { + openTianshuBondDialog(); + }, }; menu.giveAiSkill = { diff --git a/pve/audio/dead/天书乱斗/kuafu_boss_shuying.mp3 b/pve/audio/dead/天书乱斗/kuafu_boss_shuying.mp3 new file mode 100644 index 0000000..ec3f11d Binary files /dev/null and b/pve/audio/dead/天书乱斗/kuafu_boss_shuying.mp3 differ diff --git a/pve/audio/dead/青青子衿/yuanshu_boss_shuying.mp3 b/pve/audio/dead/青青子衿/yuanshu_boss_shuying.mp3 new file mode 100644 index 0000000..6f0ea60 Binary files /dev/null and b/pve/audio/dead/青青子衿/yuanshu_boss_shuying.mp3 differ diff --git a/pve/audio/dead/青青子衿/zhangjiao_boss_shuying.mp3 b/pve/audio/dead/青青子衿/zhangjiao_boss_shuying.mp3 new file mode 100644 index 0000000..0cb2899 Binary files /dev/null and b/pve/audio/dead/青青子衿/zhangjiao_boss_shuying.mp3 differ diff --git a/pve/audio/skill/天书乱斗/lieben_shuying1.mp3 b/pve/audio/skill/天书乱斗/lieben_shuying1.mp3 new file mode 100644 index 0000000..4ec622a Binary files /dev/null and b/pve/audio/skill/天书乱斗/lieben_shuying1.mp3 differ diff --git a/pve/audio/skill/天书乱斗/yinjiang_shuying1.mp3 b/pve/audio/skill/天书乱斗/yinjiang_shuying1.mp3 new file mode 100644 index 0000000..2c2427e Binary files /dev/null and b/pve/audio/skill/天书乱斗/yinjiang_shuying1.mp3 differ diff --git a/pve/audio/skill/天书乱斗/zhuri_shuying1.mp3 b/pve/audio/skill/天书乱斗/zhuri_shuying1.mp3 new file mode 100644 index 0000000..65e9518 Binary files /dev/null and b/pve/audio/skill/天书乱斗/zhuri_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/duoxi_shuying1.mp3 b/pve/audio/skill/青青子衿/duoxi_shuying1.mp3 new file mode 100644 index 0000000..894584d Binary files /dev/null and b/pve/audio/skill/青青子衿/duoxi_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/guidao_shuying1.mp3 b/pve/audio/skill/青青子衿/guidao_shuying1.mp3 new file mode 100644 index 0000000..1fe01da Binary files /dev/null and b/pve/audio/skill/青青子衿/guidao_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/leiji_shuying1.mp3 b/pve/audio/skill/青青子衿/leiji_shuying1.mp3 new file mode 100644 index 0000000..ba730a9 Binary files /dev/null and b/pve/audio/skill/青青子衿/leiji_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/wangzun_shuying1.mp3 b/pve/audio/skill/青青子衿/wangzun_shuying1.mp3 new file mode 100644 index 0000000..3dd51cc Binary files /dev/null and b/pve/audio/skill/青青子衿/wangzun_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/yinlei_shuying1.mp3 b/pve/audio/skill/青青子衿/yinlei_shuying1.mp3 new file mode 100644 index 0000000..93e457f Binary files /dev/null and b/pve/audio/skill/青青子衿/yinlei_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/yongsi_shuying1.mp3 b/pve/audio/skill/青青子衿/yongsi_shuying1.mp3 new file mode 100644 index 0000000..6a3f1ee Binary files /dev/null and b/pve/audio/skill/青青子衿/yongsi_shuying1.mp3 differ diff --git a/pve/audio/skill/青青子衿/zhuzheng_shuying1.mp3 b/pve/audio/skill/青青子衿/zhuzheng_shuying1.mp3 new file mode 100644 index 0000000..dd9afbb Binary files /dev/null and b/pve/audio/skill/青青子衿/zhuzheng_shuying1.mp3 differ diff --git a/pve/boss/sets.js b/pve/boss/sets.js index 8a36d06..8bd7fb0 100644 --- a/pve/boss/sets.js +++ b/pve/boss/sets.js @@ -6,7 +6,7 @@ import tianshu from "./sets/tianshu/index.js"; // 活动 BOSS 主题清单;新增主题时只需在此接入一次。 const bossSets = [ ["十二生肖", shiershengxiao], - ["捉鬼驱邪", zhuoguiquxie], + ["驱鬼逐邪", zhuoguiquxie], ["青青子衿", qingqingzijin], ["天书乱斗", tianshu], ]; diff --git a/pve/boss/sets/qingqingzijin/character.js b/pve/boss/sets/qingqingzijin/character.js index c831aa9..efdd06c 100644 --- a/pve/boss/sets/qingqingzijin/character.js +++ b/pve/boss/sets/qingqingzijin/character.js @@ -9,6 +9,7 @@ const characters = { img: "extension/术樱包/pve/images/青青子衿/caocao_boss_shuying.jpg", dieAudios: ["ext:术樱包/pve/audio/dead/青青子衿/caocao_boss_shuying.mp3"] }, + simayi_boss_shuying: { sex: "male", group: "wei", @@ -19,6 +20,7 @@ const characters = { img: "extension/术樱包/pve/images/青青子衿/simayi_boss_shuying.jpg", dieAudios: ["ext:术樱包/pve/audio/dead/青青子衿/simayi_boss_shuying.mp3"] }, + lvbu_boss_shuying: { sex: "male", group: "qun", @@ -29,6 +31,7 @@ const characters = { img: "extension/术樱包/pve/images/青青子衿/lvbu_boss_shuying.jpg", dieAudios: ["ext:术樱包/pve/audio/dead/青青子衿/lvbu_boss_shuying.mp3"] }, + dongzhuo_boss_shuying: { sex: "male", group: "qun", @@ -39,6 +42,28 @@ const characters = { img: "extension/术樱包/pve/images/青青子衿/dongzhuo_boss_shuying.jpg", dieAudios: ["ext:术樱包/pve/audio/dead/青青子衿/dongzhuo_boss_shuying.mp3"] }, + + yuanshu_boss_shuying: { + sex: "male", + group: "qun", + hp: 4, + skills: ["yongsi_shuying", "wangzun_shuying"], + isHiddenBoss: true, + isBossAllowed: true, + img: "extension/术樱包/pve/images/青青子衿/yuanshu_boss_shuying.jpg", + dieAudios: ["ext:术樱包/pve/audio/dead/青青子衿/yuanshu_boss_shuying.mp3"] + }, + + zhangjiao_boss_shuying: { + sex: "male", + group: "qun", + hp: 4, + skills: ["guidao_shuying", "leiji_shuying", "zhuzheng_shuying"], + isHiddenBoss: true, + isBossAllowed: true, + img: "extension/术樱包/pve/images/青青子衿/zhangjiao_boss_shuying.jpg", + dieAudios: ["ext:术樱包/pve/audio/dead/青青子衿/zhangjiao_boss_shuying.mp3"] + }, }; export default characters; diff --git a/pve/boss/sets/qingqingzijin/dynamicTranslate.js b/pve/boss/sets/qingqingzijin/dynamicTranslate.js index b2c3677..0f48165 100644 --- a/pve/boss/sets/qingqingzijin/dynamicTranslate.js +++ b/pve/boss/sets/qingqingzijin/dynamicTranslate.js @@ -66,6 +66,28 @@ const dynamicTranslates = { return `锁定技,回合开始时,你摸X张牌并对至多X名角色造成1点伤害,然后你失去1点体力。X为你已损失体力且最大为${num}。` }, + //袁术 + wangzun_shuying(player, skill) { + const num = + getTianshuDifficulty() == "nightmare" ? 2 : 1; + + return `锁定技,其他敌方角色的结束阶段,若其本回合:1.没有对你造成伤害,则其弃置${num}张牌;2.对你造成的伤害数超过1点,则你对其造成1点伤害。`; + }, + duoxi_shuying(player, skill) { + const num = + getTianshuDifficulty() == "nightmare" ? 2 : 1; + + return `其他角色的摸牌阶段,你可以失去1点体力,改为你与其各摸${num}张牌。`; + }, + + //张角 + zhuzheng_shuying(player, skill) { + if (getTianshuDifficulty() == "nightmare") { + return "当一名其他角色使用【杀】指定目标时,若你在其攻击范围内且你不是目标,则你可以将一张手牌置于牌堆顶,取消所有目标,然后你成为目标。"; + } + + return "其他角色使用【杀】指定除你外的角色时,若你在其攻击范围内,你可以将一张手牌置于牌堆顶,取消所有目标,然后若此【杀】不为黑色,你成为目标。"; + }, }; export default dynamicTranslates; diff --git a/pve/boss/sets/qingqingzijin/skill.js b/pve/boss/sets/qingqingzijin/skill.js index f3a505f..35b10a5 100644 --- a/pve/boss/sets/qingqingzijin/skill.js +++ b/pve/boss/sets/qingqingzijin/skill.js @@ -670,6 +670,516 @@ const skills = { }, }, + //袁术 + yongsi_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + forced: true, + locked: true, + group: [ + "yongsi_shuying_draw", + "yongsi_shuying_discard", + ], + mod: { + maxHandcard(player, num) { + if (_status.currentPhase != player) return; + + const damageNum = player + .getHistory("sourceDamage") + .reduce((sum, evt) => sum + (evt.num || 0), 0); + + if (damageNum > 1) { + return player.getDamagedHp(); + } + }, + }, + subSkill: { + draw: { + trigger: { player: "phaseDrawBegin2" }, + forced: true, + locked: true, + filter(event, player) { + return !event.numFixed; + }, + async content(event, trigger, player) { + trigger.num = game.countGroup(); + }, + }, + discard: { + trigger: { player: "phaseDiscardBegin" }, + forced: true, + locked: true, + filter(event, player) { + const damageNum = player + .getHistory("sourceDamage") + .reduce((sum, evt) => sum + (evt.num || 0), 0); + + return ( + damageNum == 0 && + player.countCards("h") < player.hp + ); + }, + async content(event, trigger, player) { + await player.drawTo(player.hp); + }, + }, + }, + ai: { + threaten: 1.8, + }, + }, + wangzun_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + trigger: { global: "phaseJieshuBegin" }, + forced: true, + locked: true, + logTarget: "player", + filter(event, player) { + const target = event.player; + if ( + !target?.isIn() || + !player.getEnemies(null, false).includes(target) + ) { + return false; + } + + const damageNum = player + .getHistory("damage") + .reduce((sum, evt) => { + if (evt.source == target) { + return sum + (evt.num || 0); + } + return sum; + }, 0); + + if (damageNum > 1) return true; + + return ( + damageNum == 0 && + target.countDiscardableCards(target, "he") > 0 + ); + }, + async content(event, trigger, player) { + const target = trigger.player; + const damageNum = player + .getHistory("damage") + .reduce((sum, evt) => { + if (evt.source == target) { + return sum + (evt.num || 0); + } + return sum; + }, 0); + + player.line(target); + + if (damageNum == 0) { + const discardNum = + getTianshuDifficulty() == "nightmare" ? 2 : 1; + const num = Math.min( + discardNum, + target.countDiscardableCards(target, "he") + ); + + if (num > 0) { + await target.chooseToDiscard(num, "he", true); + } + } else if (damageNum > 1 && target.isIn()) { + await target.damage(1, player); + } + }, + ai: { + threaten: 1.6, + }, + }, + duoxi_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + trigger: { global: "phaseDrawBegin1" }, + filter(event, player) { + return ( + getTianshuDifficulty() != "normal" && + !event.numFixed && + event.player?.isIn() && + event.player != player + ); + }, + async cost(event, trigger, player) { + const num = + getTianshuDifficulty() == "nightmare" ? 2 : 1; + + event.result = await player + .chooseBool( + get.prompt(event.skill, trigger.player), + `失去1点体力,将${get.translation(trigger.player)}的摸牌阶段改为你与其各摸${get.cnNumber(num)}张牌` + ) + .set("ai", () => { + const player = get.player(); + const trigger = get.event().getTrigger(); + const target = trigger.player; + const num = + getTianshuDifficulty() == "nightmare" + ? 2 + : 1; + + if (player.hp <= 1) return false; + + const isEnemy = player + .getEnemies(null, false) + .includes(target); + + // 避免额外增加敌方摸牌,或削减友方原本的摸牌数 + if (isEnemy && trigger.num < num) return false; + if (!isEnemy && trigger.num > num) return false; + + return player.hp > 2; + }) + .forResult(); + }, + async content(event, trigger, player) { + const target = trigger.player; + const num = + getTianshuDifficulty() == "nightmare" ? 2 : 1; + + player.line(target); + trigger.changeToZero(); + + await player.loseHp(); + + const targets = [player, target].filter( + current => current.isIn() + ); + if (targets.length) { + await game.asyncDraw(targets, num); + } + }, + ai: { + threaten: 1.3, + }, + }, + + //张角 + guidao_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + trigger: { global: "judge" }, + filter(event, player) { + return player.countCards("hes", { + color: "black", + }) > 0; + }, + async cost(event, trigger, player) { + event.result = await player + .chooseCard({ + prompt: + `${get.translation(trigger.player)}的` + + `${trigger.judgestr || ""}判定为` + + `${get.translation(trigger.player.judging[0])},` + + `${get.prompt(event.skill)}`, + position: "hes", + filterCard(card, player) { + if (get.color(card, player) != "black") { + return false; + } + + const enabled = game.checkMod( + card, + player, + "unchanged", + "cardEnabled2", + player + ); + if (enabled != "unchanged") { + return !!enabled; + } + + const respondable = game.checkMod( + card, + player, + "unchanged", + "cardRespondable", + player + ); + if (respondable != "unchanged") { + return !!respondable; + } + + return true; + }, + ai(card) { + const trigger = get.event().getTrigger(); + const player = get.player(); + const judging = get.event().judging; + const result = + trigger.judge(card) - + trigger.judge(judging); + const attitude = get.attitude( + player, + trigger.player + ); + + if (attitude == 0 || result == 0) { + return 0; + } + + let value = get.value(card); + if (get.subtype(card) == "equip2") { + value /= 2; + } else { + value /= 6; + } + + return attitude > 0 + ? result - value + : -result - value; + }, + }) + .set("judging", trigger.player.judging[0]) + .forResult(); + }, + popup: false, + async content(event, trigger, player) { + const next = player.respond({ + cards: event.cards, + skill: event.name, + highlight: true, + noOrdering: true, + }); + await next; + + const cards = next.cards; + if (!cards?.length) return; + + const judgingCard = trigger.player.judging[0]; + player.$gain2(judgingCard); + await player.gain(judgingCard); + + trigger.player.judging[0] = cards[0]; + trigger.orderingCards.addArray(cards); + + game.log(trigger.player, "的判定牌改为", cards); + await game.delay(2); + }, + ai: { + rejudge: true, + tag: { + rejudge: 1, + }, + }, + }, + leiji_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + trigger: { player: ["useCard", "respond"] }, + filter(event, player) { + return ( + event.card.name == "shan" && + player + .getEnemies(null, false) + .some(target => target.isIn()) + ); + }, + line: "thunder", + async cost(event, trigger, player) { + event.result = await player + .chooseTarget( + get.prompt2(event.skill), + (card, player, target) => { + return ( + target != player && + player + .getEnemies(null, false) + .includes(target) + ); + } + ) + .set("ai", target => { + const player = get.player(); + if (target.hasSkill("hongyan")) return 0; + + return get.damageEffect( + target, + player, + player, + "thunder" + ); + }) + .forResult(); + }, + async content(event, trigger, player) { + const target = event.targets[0]; + const judge = target.judge(card => { + const suit = get.suit(card); + if (suit == "spade") return -4; + if (suit == "club") return -2; + return 0; + }); + judge.judge2 = result => result.bool == false; + + const result = await judge.forResult(); + + if (result.suit == "spade") { + await target.damage(2, "thunder", player); + } else if (result.suit == "club") { + if (player.isDamaged()) { + await player.recover(); + } + if (target.isIn()) { + await target.damage(1, "thunder", player); + } + } + }, + ai: { + useShan: true, + threaten: 1.8, + }, + }, + zhuzheng_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + trigger: { global: "useCard2" }, + filter(event, player) { + const source = event.player; + if ( + source == player || + event.card.name != "sha" || + !event.targets?.length || + event.targets.includes(player) || + !source.inRange(player) || + player.countCards("h") == 0 || + !player.getEnemies(null, false).includes(source) + ) { + return false; + } + + const enemies = player.getEnemies(null, false); + return event.targets.some(target => { + return target.isIn() && !enemies.includes(target); + }); + }, + async cost(event, trigger, player) { + event.result = await player + .chooseCard( + "h", + get.prompt(event.skill, trigger.player), + "将一张手牌置于牌堆顶,取消此【杀】的所有目标" + ) + .set("ai", card => { + const player = get.player(); + const trigger = get.event().getTrigger(); + const enemies = player.getEnemies(null, false); + + const protectValue = trigger.targets + .filter(target => !enemies.includes(target)) + .reduce((sum, target) => { + return ( + sum - + get.effect( + target, + trigger.card, + trigger.player, + player + ) + ); + }, 0); + + const becomeTarget = + getTianshuDifficulty() == "nightmare" || + get.color(trigger.card) != "black"; + + const selfValue = becomeTarget + ? get.effect( + player, + trigger.card, + trigger.player, + player + ) + : 0; + + if (protectValue + selfValue <= 0) { + return 0; + } + + return 7 - get.value(card); + }) + .forResult(); + }, + async content(event, trigger, player) { + await player.lose(event.cards, ui.cardPile, "insert"); + + trigger.targets.length = 0; + + const becomeTarget = + getTianshuDifficulty() == "nightmare" || + get.color(trigger.card) != "black"; + + if (becomeTarget && player.isIn()) { + trigger.all_excluded = false; + trigger.targets.add(player); + game.log(player, "成为了", trigger.card, "的目标"); + } else { + trigger.all_excluded = true; + game.log(trigger.card, "失去了所有目标"); + } + }, + ai: { + threaten: 1.5, + }, + }, + yinlei_shuying: { + mode: ["boss"], + audio: "ext:术樱包/pve/audio/skill/青青子衿:1", + trigger: { + player: "loseAfter", + global: [ + "equipAfter", + "addJudgeAfter", + "gainAfter", + "loseAsyncAfter", + "addToExpansionAfter", + ], + }, + forced: true, + locked: true, + filter(event, player) { + if ( + getTianshuDifficulty() == "normal" || + _status.currentPhase == player + ) { + return false; + } + + const loseEvent = event.getl?.(player); + return ( + loseEvent?.cards2?.length > 0 && + game.hasPlayer(target => { + return target.isIn() && !target.isLinked(); + }) + ); + }, + logTarget(event, player) { + return game + .filterPlayer(target => { + return target.isIn() && !target.isLinked(); + }) + .randomGet(); + }, + async content(event, trigger, player) { + const targets = game.filterPlayer(target => { + return target.isIn() && !target.isLinked(); + }); + if (!targets.length) return; + + const target = targets.randomGet(); + if (target != player) { + player.line(target); + } + await target.link(true); + }, + ai: { + threaten: 1.3, + }, + }, }; diff --git a/pve/boss/sets/qingqingzijin/translate.js b/pve/boss/sets/qingqingzijin/translate.js index cdbe35e..55b1b08 100644 --- a/pve/boss/sets/qingqingzijin/translate.js +++ b/pve/boss/sets/qingqingzijin/translate.js @@ -35,7 +35,23 @@ const translates = { qubu_shuying: "驭布", qubu_shuying_info: "锁定技,当友方角色使用【杀】指定目标时,进行一次判定:若结果为黑桃,你对此【杀】的所有目标造成1点伤害。", + yuanshu_boss_shuying: "袁术", + yongsi_shuying: "庸肆", + yongsi_shuying_info: "锁定技,摸牌阶段,你改为摸X张牌(X为存活势力数);弃牌阶段,若你本回合:1.没有造成伤害,将手牌摸至当前体力值;2.造成伤害数超过1点,本回合手牌上限改为已损失体力值。", + wangzun_shuying: "妄尊", + wangzun_shuying_info: "锁定技,其他角色其他敌方角色的结束阶段,若其本回合:1.没有对你造成伤害,则其弃置1张牌;2.对你造成伤害数超过1点,则你对其造成1点伤害。", + duoxi_shuying: "夺玺", + duoxi_shuying_info: "其他角色的摸牌阶段,你可以失去1点体力改为你与其各摸一张牌。", + zhangjiao_boss_shuying: "张角", + guidao_shuying: "鬼道", + guidao_shuying_info: "当一名角色的判定牌生效前,你可以打出一张黑色牌替换之。", + leiji_shuying: "雷击", + leiji_shuying_info: "每当你使用或打出【闪】时,你可以令一名其他角色进行判定,若结果为:黑桃,你对该角色造成2点雷电伤害;梅花,你回复1点体力,然后对该角色造成1点雷电伤害。", + zhuzheng_shuying: "谏征", + zhuzheng_shuying_info: "其他角色使用【杀】指定除你外的角色时,若你在其攻击范围内,你可以将一张手牌置于牌堆顶,取消所有目标,然后若此【杀】不为黑色,你成为目标。", + yinlei_shuying: "引雷", + yinlei_shuying_info: "锁定技,当你失去牌时,随机横置一名角色。", }; export default translates; diff --git a/pve/boss/sets/tianshu/character.js b/pve/boss/sets/tianshu/character.js index a72ea6b..514fc0a 100644 --- a/pve/boss/sets/tianshu/character.js +++ b/pve/boss/sets/tianshu/character.js @@ -9,27 +9,41 @@ const characters = { isBossAllowed: true, img: "extension/术樱包/pve/images/天书乱斗/shuishengonggong_boss_shuying.png" }, - // huoshenzhurong_boss_shuying: {}, + + huoshenzhurong_boss_shuying: + { + sex: "male", + group: "shen", + hp: 4, + skills: ["xingxia_shuying", "baoyan_shuying"], + isHiddenBoss: true, + isBossAllowed: true, + img: "extension/术樱包/pve/images/天书乱斗/huoshenzhurong_boss_shuying.png" + }, + baiqi_boss_shuying: { sex: "male", group: "shen", hp: 4, - skills: ["changsheng_shuying", "shashen_shuying", "wuan_shuying"], + skills: ["wuan_shuying"], isHiddenBoss: true, isBossAllowed: true, img: "extension/术樱包/pve/images/天书乱斗/baiqi_boss_shuying.png" }, + kuafu_boss_shuying: { sex: "male", group: "shen", hp: 4, - skills: ["shenqu_shuying", "lieben_shuying", "yinjiang_shuying", "zhuri_shuying"], + skills: ["zhuri_shuying", "yinjiang_shuying", "lieben_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/天书乱斗/kuafu_boss_shuying.png" + img: "extension/术樱包/pve/images/天书乱斗/kuafu_boss_shuying.png", + dieAudios: ["ext:术樱包/pve/audio/dead/天书乱斗/kuafu_boss_shuying.mp3"] }, + shaohao_boss_shuying: { sex: "male", @@ -40,6 +54,7 @@ const characters = { isBossAllowed: true, img: "extension/术樱包/pve/images/天书乱斗/shaohao_boss_shuying.png" }, + xuannv_boss_shuying: { sex: "female", group: "shen", @@ -50,6 +65,7 @@ const characters = { img: "extension/术樱包/pve/images/天书乱斗/xuannv_boss_shuying.png", dieAudios: ["ext:术樱包/pve/audio/dead/天书乱斗/xuannv_boss_shuying.mp3"] }, + hanba_boss_shuying: { sex: "female", group: "shen", diff --git a/pve/boss/sets/tianshu/dynamicTranslate.js b/pve/boss/sets/tianshu/dynamicTranslate.js index 83be793..b1f333a 100644 --- a/pve/boss/sets/tianshu/dynamicTranslate.js +++ b/pve/boss/sets/tianshu/dynamicTranslate.js @@ -14,6 +14,29 @@ const dynamicTranslates = { return `锁定技,结束阶段,若本回合进入弃牌堆的卡牌数量:大于4,你回复${hp}点体力;大于5,你摸${card}张牌;大于9,你对所有敌方角色造成${damage}点伤害。` }, + //火神祝融 + xingxia_shuying(player, skill) { + const difficulty = getTianshuDifficulty(); + let discardNum = 1; + let damageNum = 1; + + if (difficulty == "hard") { + discardNum = 2; + } else if (difficulty == "nightmare") { + discardNum = 3; + damageNum = 2; + } + + return `锁定技,出牌阶段开始时,你对随机一名友方角色造成1点火焰伤害,然后令所有敌方角色选择一项:1.弃置${discardNum}张红色牌;2.受到你造成的${damageNum}点火焰伤害。`; + }, + baoyan_shuying(player, skill) { + if (getTianshuDifficulty() == "nightmare") { + return "锁定技,每当有角色造成火焰伤害后,你获得1个“炎”标记。你的回合结束时,弃置所有“炎”标记,随机对一名敌方角色造成X点火焰伤害。(X为弃置的“炎”标记数)"; + } + + return "锁定技,每当有角色造成火焰伤害后,你获得1个“炎”标记。你的回合结束时,弃置所有“炎”标记,随机对X名敌方角色各造成1点火焰伤害。(X为弃置的“炎”标记数)"; + }, + //少昊 baiyi_shuying(player, skill) { let num = 1; @@ -27,6 +50,43 @@ const dynamicTranslates = { return `锁定技,每名敌方角色的回合开始时,若当前轮数小于3,你随机获得其${num}张牌;若当前轮数小于5,对其造成${num}点雷电伤害;若当前轮数小于7,其随机弃置${num}张牌。`; }, + //白起 + wuan_shuying(player, skill) { + const difficulty = getTianshuDifficulty(); + let num = 1; + + if (difficulty == "hard") { + num = 2; + } else if (difficulty == "nightmare") { + num = 3; + } + + return `锁定技,你可使用的【杀】的次数+${num},【杀】造成的伤害+1。`; + }, + shashen_shuying(player, skill) { + if (getTianshuDifficulty() == "nightmare") { + return "你可以将手牌中的任意牌当【杀】使用或打出。你使用的【杀】造成伤害后,摸3张牌。"; + } + + return "你可以将手牌中的任意牌当【杀】使用或打出。每回合你使用的第一张【杀】造成伤害后,摸2张牌。"; + }, + + //夸父 + yinjiang_shuying(player, skill) { + if (getTianshuDifficulty() == "nightmare") { + return "锁定技,当你在出牌阶段摸牌后,获得牌堆底的牌。若该牌为红色,则对所有敌方角色造成1点伤害。当你在同一阶段内以此法造成过两次或更多的伤害后,该技能失效直到回合结束。"; + } + + return "锁定技,当你在出牌阶段摸牌后,获得牌堆底的牌。若该牌为红色,则随机对一名敌方角色造成1点伤害。当你在同一阶段内以此法造成过两次或更多的伤害后,该技能失效直到回合结束。"; + }, + lieben_shuying(player, skill) { + if (getTianshuDifficulty() == "nightmare") { + return "锁定技,当你使用【杀】指定目标后,使用牌堆底的牌进行一次判定:若判定结果为红色,则此【杀】不计入出牌阶段使用次数且伤害+1。"; + } + + return "锁定技,当你使用【杀】指定目标后,使用牌堆底的牌进行一次判定:若判定结果为红色,则此【杀】不计入出牌阶段使用次数。"; + }, + //玄女 xuanlie_shuying(player, skill) { const difficulty = getTianshuDifficulty(); diff --git a/pve/boss/sets/tianshu/skill.js b/pve/boss/sets/tianshu/skill.js index 678c70d..fee27b1 100644 --- a/pve/boss/sets/tianshu/skill.js +++ b/pve/boss/sets/tianshu/skill.js @@ -89,26 +89,229 @@ const skills = { }, }, - //白起 + //火神祝融 over + xingxia_shuying: { + mode: ["boss"], + audio: false, + trigger: { + player: "phaseUseBegin", + }, + forced: true, + locked: true, + filter(event, player) { + const enemies = player.getEnemies(null, false); + return ( + game.hasPlayer(target => { + return target.isIn() && !enemies.includes(target); + }) && + enemies.some(target => target.isIn()) + ); + }, + async content(event, trigger, player) { + const difficulty = getTianshuDifficulty(); + const enemies = player + .getEnemies(null, false) + .filter(target => target.isIn()); + const friends = game.filterPlayer(target => { + return target.isIn() && !enemies.includes(target); + }); + if (!friends.length || !enemies.length) return; + + const friend = friends.randomGet(); + player.line(friend, "fire"); + await friend.damage(1, player, "fire"); + + let discardNum = 1; + let damageNum = 1; + + if (difficulty == "hard") { + discardNum = 2; + } else if (difficulty == "nightmare") { + discardNum = 3; + damageNum = 2; + } + + for (const target of enemies) { + if (!target.isIn()) continue; + + const canDiscard = + target.countCards("he", card => { + return ( + get.color(card, target) == "red" && + lib.filter.cardDiscardable(card, target) + ); + }) >= discardNum; + + let discarded = false; + if (canDiscard) { + const result = await target + .chooseToDiscard( + "he", + discardNum, + `行夏:弃置${get.cnNumber(discardNum)}张红色牌,或受到${get.cnNumber(damageNum)}点火焰伤害` + ) + .set("filterCard", (card, target) => { + return ( + get.color(card, target) == "red" && + lib.filter.cardDiscardable(card, target) + ); + }) + .set("source", player) + .set("damageNum", damageNum) + .set("ai", card => { + const target = get.player(); + const damageNum = get.event().damageNum; + + if (target.hp <= damageNum) { + return 12 - get.value(card); + } + return 7 - get.value(card); + }) + .forResult(); + + discarded = result.bool; + } + + if (!discarded && target.isIn()) { + player.line(target, "fire"); + await target.damage(damageNum, player, "fire"); + } + } + }, + ai: { + threaten: 1.8, + }, + }, + baoyan_shuying: { + mode: ["boss"], + audio: false, + trigger: { + global: "damageSource", + }, + forced: true, + locked: true, + filter(event, player) { + return event.num > 0 && event.hasNature("fire"); + }, + async content(event, trigger, player) { + player.addMark("baoyan_shuying", 1, false); + }, + marktext: "炎", + intro: { + name: "炎", + content: "mark", + }, + group: "baoyan_shuying_burst", + subSkill: { + burst: { + audio: false, + trigger: { + player: "phaseEnd", + }, + forced: true, + locked: true, + filter(event, player) { + return ( + player.countMark("baoyan_shuying") > 0 && + player + .getEnemies(null, false) + .some(target => target.isIn()) + ); + }, + async content(event, trigger, player) { + const num = player.countMark("baoyan_shuying"); + player.removeMark("baoyan_shuying", num, false); + + const enemies = player + .getEnemies(null, false) + .filter(target => target.isIn()); + if (!enemies.length) return; + + if (getTianshuDifficulty() == "nightmare") { + const target = enemies.randomGet(); + player.line(target, "fire"); + await target.damage(num, player, "fire"); + return; + } + + const targets = enemies.randomGets( + Math.min(num, enemies.length) + ); + for (const target of targets) { + if (!target.isIn()) continue; + + player.line(target, "fire"); + await target.damage(1, player, "fire"); + } + }, + }, + }, + ai: { + threaten: 1.7, + }, + }, + huoshen_shuying: { + mode: ["boss"], + audio: false, + trigger: { + global: "damageSource", + }, + forced: true, + locked: true, + filter(event, player) { + return ( + getTianshuDifficulty() == "nightmare" && + event.num > 0 && + event.hasNature("fire") + ); + }, + async content(event, trigger, player) { + if (player.isDamaged()) { + await player.recover(); + await player.draw(); + } else { + await player.draw(3); + } + }, + ai: { + threaten: 2, + }, + }, + + //白起 over changsheng_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: false, forced: true, + locked: true, mod: { targetInRange(card, player, target) { - if (card.name == "sha") return true; + const difficulty = getTianshuDifficulty(); + if ( + difficulty != "hard" && + card.name == "sha" + ) { + return true; + } }, }, + ai: { + unequip: true, + threaten: 1.2, + }, }, shashen_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: false, enable: ["chooseToUse", "chooseToRespond"], filterCard: true, position: "h", viewAs: { name: "sha" }, viewAsFilter(player) { - return player.countCards("h") > 0; + return ( + getTianshuDifficulty() != "normal" && + player.countCards("h") > 0 + ); }, prompt: "将一张手牌当【杀】使用或打出", check(card) { @@ -118,29 +321,77 @@ const skills = { subSkill: { draw: { trigger: { source: "damageEnd" }, + forced: true, + locked: true, + usable(skill, player) { + return getTianshuDifficulty() == "hard" + ? 1 + : Infinity; + }, filter(event, player) { - return event.card?.name == "sha"; + const difficulty = getTianshuDifficulty(); + if ( + difficulty == "normal" || + event.card?.name != "sha" + ) { + return false; + } + + if (difficulty == "nightmare") { + return true; + } + + // 困难难度只检查本回合使用的第一张【杀】 + const useEvent = event.getParent("useCard"); + if (!useEvent) return false; + + const firstSha = player.getHistory( + "useCard", + evt => evt.card.name == "sha" + )[0]; + + return useEvent == firstSha; }, async content(event, trigger, player) { - await player.draw(3); + const num = + getTianshuDifficulty() == "nightmare" + ? 3 + : 2; + + await player.draw(num); }, }, }, ai: { respondSha: true, skillTagFilter(player) { - return player.countCards("h") > 0; + return ( + getTianshuDifficulty() != "normal" && + player.countCards("h") > 0 + ); + }, + order(item, player) { + return get.order({ name: "sha" }, player) - 0.1; }, - order: 4, }, }, wuan_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: false, forced: true, + locked: true, mod: { cardUsable(card, player, num) { - if (card.name == "sha") return num + 3; + if (card.name != "sha") return; + + const difficulty = getTianshuDifficulty(); + if (difficulty == "nightmare") { + return num + 3; + } + if (difficulty == "hard") { + return num + 2; + } + return num + 1; }, }, trigger: { source: "damageBegin1" }, @@ -150,62 +401,129 @@ const skills = { async content(event, trigger, player) { trigger.num++; }, + ai: { + damageBonus: true, + threaten: 2, + }, }, - //盘古 + //夸父 over shenqu_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: false, trigger: { player: "damageEnd" }, forced: true, + locked: true, filter(event, player) { - return player.countCards("h", card => get.color(card) == "red") > 0; + return ( + getTianshuDifficulty() == "nightmare" && + player.countCards("h", card => get.color(card) == "red") > 0 + ); }, async content(event, trigger, player) { const cards = player.getCards("h", card => get.color(card) == "red"); - await player.lose(cards, ui.cardPile, "insert"); + await player.lose(cards, ui.cardPile); await player.draw(cards.length); }, + ai: { + threaten: 1.5, + }, }, lieben_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: "ext:术樱包/pve/audio/skill/天书乱斗:1", trigger: { player: "useCardToPlayered" }, forced: true, + locked: true, filter(event, player) { - return event.card.name == "sha" && ui.cardPile.lastChild; + return ( + event.card.name == "sha" && + event.isFirstTarget && + ui.cardPile.lastChild + ); }, async content(event, trigger, player) { - const judge = player.judge(card => get.color(card) == "red" ? 2 : -1); + const judge = player.judge(card => { + return get.color(card) == "red" ? 2 : -1; + }); judge.directresult = ui.cardPile.lastChild; judge.judge2 = result => result.bool; + const result = await judge.forResult(); - if (result.bool) { - trigger.getParent().addCount = false; - trigger.getParent().baseDamage++; + if (!result.bool) return; + + const useEvent = trigger.getParent(); + if (useEvent.addCount !== false) { + useEvent.addCount = false; + + const stat = player.getStat().card; + if (typeof stat.sha == "number") { + stat.sha--; + } } + + if (getTianshuDifficulty() == "nightmare") { + useEvent.baseDamage = (useEvent.baseDamage || 1) + 1; + } + }, + ai: { + threaten: 1.4, }, }, yinjiang_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: "ext:术樱包/pve/audio/skill/天书乱斗:1", trigger: { player: "drawEnd" }, forced: true, + locked: true, filter(event, player) { - return player.isPhaseUsing() && !player.hasSkill("yinjiang_shuying_disabled") && ui.cardPile.lastChild; + return ( + player.isPhaseUsing() && + !player.hasSkill("yinjiang_shuying_disabled") && + ui.cardPile.lastChild + ); }, async content(event, trigger, player) { const card = ui.cardPile.lastChild; await player.gain(card, "gain2"); - if (get.color(card) == "red") { - let count = 0; - for (const target of player.getEnemies(null, false).filter(target => target.isIn())) { - player.line(target); - await target.damage(player); + + if (get.color(card) != "red") return; + + const enemies = player + .getEnemies(null, false) + .filter(target => target.isIn()); + + if (!enemies.length) return; + + const targets = + getTianshuDifficulty() == "nightmare" + ? enemies + : [enemies.randomGet()]; + + let count = 0; + + for (const target of targets) { + if (!target?.isIn()) continue; + + player.line(target); + const damageEvent = target.damage(1, player); + await damageEvent; + + // 只统计实际成立的伤害事件 + if (player.getHistory("sourceDamage").includes(damageEvent)) { count++; } - player.storage.yinjiang_shuying_count = (player.storage.yinjiang_shuying_count || 0) + count; - if (player.storage.yinjiang_shuying_count >= 2) player.addTempSkill("yinjiang_shuying_disabled", { player: "phaseUseEnd" }); + } + + if (!count) return; + + player.storage.yinjiang_shuying_count = + (player.storage.yinjiang_shuying_count || 0) + count; + + if (player.storage.yinjiang_shuying_count >= 2) { + player.addTempSkill("yinjiang_shuying_disabled", { + player: "phaseAfter", + }); } }, group: "yinjiang_shuying_clear", @@ -213,22 +531,30 @@ const skills = { clear: { trigger: { player: "phaseUseEnd" }, silent: true, + charlotte: true, async content(event, trigger, player) { delete player.storage.yinjiang_shuying_count; }, }, - disabled: { charlotte: true }, + disabled: { + charlotte: true, + }, + }, + ai: { + threaten: 2, }, }, zhuri_shuying: { mode: ["boss"], - audio: "ext:术樱包/pve/audio/skill:1", + audio: "ext:术樱包/pve/audio/skill/天书乱斗:1", forced: true, + locked: true, group: ["zhuri_shuying_draw", "zhuri_shuying_bottom"], subSkill: { draw: { trigger: { player: "useCard" }, forced: true, + locked: true, filter(event, player) { return get.color(event.card) == "red"; }, @@ -239,16 +565,27 @@ const skills = { bottom: { trigger: { global: "useCardAfter" }, forced: true, + locked: true, filter(event, player) { - return event.targets?.includes(player) && (event.card.name == "sha" || get.type(event.card) == "trick") && event.cards?.filterInD("d").length; + return ( + event.targets?.includes(player) && + (event.card.name == "sha" || + get.type(event.card) == "trick") && + event.cards?.someInD("d") + ); }, async content(event, trigger, player) { const cards = trigger.cards.filterInD("d"); + if (!cards.length) return; + game.log(cards, "被置于牌堆底"); - for (const card of cards) ui.cardPile.appendChild(card); + await game.cardsGotoPile(cards); }, }, }, + ai: { + threaten: 1.8, + }, }, //少昊 over @@ -482,7 +819,7 @@ const skills = { }, }, - //旱魃 + //旱魃 over xinji_shuying: { mode: ["boss"], audio: "ext:术樱包/pve/audio/skill/天书乱斗:2", diff --git a/pve/boss/sets/tianshu/translate.js b/pve/boss/sets/tianshu/translate.js index fa28cbf..526aa87 100644 --- a/pve/boss/sets/tianshu/translate.js +++ b/pve/boss/sets/tianshu/translate.js @@ -7,23 +7,31 @@ const translates = { juehong_shuying: "决洪", juehong_shuying_info: "锁定技,准备阶段,你令所有敌方角色自己弃置自己的装备区内的所有牌,若其装备区内没有牌,则改为随机弃置2张手牌", + huoshenzhurong_boss_shuying: "火神祝融", + xingxia_shuying: "行夏", + xingxia_shuying_info: "锁定技,出牌阶段开始时,你对随机1名友方角色造成1点火焰伤害,然后令所有敌方角色选择一项:1.弃置1张红色牌;2.受到你造成的1点火焰伤害", + baoyan_shuying: "爆炎", + baoyan_shuying_info: "锁定技,每当有角色造成火焰伤害后,你获得1个”炎‘标记。你的回合结束时,弃置所有“炎”标记,随机对X名敌人各造成1点火焰伤害。(X为弃置的炎标记数量)", + huoshen_shuying: "火神", + huoshen_shuying_info: "锁定技,每当有角色造成火焰伤害后,你回复1点体力并摸1张牌,若你的体力值为满,改为摸3张牌", + baiqi_boss_shuying: "白起", changsheng_shuying: "常胜", changsheng_shuying_info: "锁定技,你使用【杀】无距离限制。", shashen_shuying: "杀神", - shashen_shuying_info: "你可以将手牌中的任意牌当【杀】使用或打出。你使用的【杀】造成伤害后,摸三张牌。", + shashen_shuying_info: "你可以将手牌中的任意牌当【杀】使用或打出。每回合你使用的第一张【杀】造成伤害后,摸2张牌。", wuan_shuying: "武安", - wuan_shuying_info: "锁定技,你可使用的【杀】的次数+3,【杀】造成的伤害+1。", + wuan_shuying_info: "锁定技,你可使用的【杀】的次数+1,【杀】造成的伤害+1。", - kuafu_boss_shuying: "盘古", + kuafu_boss_shuying: "夸父", shenqu_shuying: "神躯", shenqu_shuying_info: "锁定技,当你受到伤害后,将所有红色手牌置于牌堆底,并摸等量的牌。", lieben_shuying: "烈奔", - lieben_shuying_info: "锁定技,当你使用【杀】指定目标后,使用牌堆底的牌进行一次判定:若判定结果为红色,则此杀不计入出牌阶段使用次数且伤害+1。", + lieben_shuying_info: "锁定技,当你使用【杀】指定目标后,使用牌堆底的牌进行一次判定:若判定结果为红色,则此杀不计入出牌阶段使用次数。", yinjiang_shuying: "饮江", - yinjiang_shuying_info: "锁定技,当你在出牌阶段摸牌后,获得牌堆底的1张牌。若该牌为红色,则对所有敌方角色造成1点伤害。当你在同一个阶段内以此法造成过两次活更多的伤害后,该技能失效直到回合结束。", + yinjiang_shuying_info: "锁定技,当你在出牌阶段摸牌后,获得牌堆底的牌。若该牌为红色,则随机对一名敌方角色造成1点伤害。当你在同一阶段内以此法造成过两次或更多的伤害后,该技能失效直到回合结束。", zhuri_shuying: "逐日", - zhuri_shuying_info: "锁定技,你使用红色牌时摸1张牌。当你成为【杀】或普通锦囊牌的目标后,结算完毕后将该牌放置在牌堆底。", + zhuri_shuying_info: "锁定技,你使用红色牌时摸一张牌。当你成为【杀】或普通锦囊牌的目标后,结算完毕后将该牌放置在牌堆底。", shaohao_boss_shuying: "少昊", baiyi_shuying: "白仪", @@ -31,7 +39,6 @@ const translates = { shenen_shuying: "神恩", shenen_shuying_info: "锁定技,所有己方角色使用牌锁定技,所有己方角色使用牌没有距离限制。", - xuannv_boss_shuying: "玄女", xuanlie_shuying: "玄烈", xuanlie_shuying_info: "锁定技,回合结束时,对所有本回合你获得过其牌的敌方角色依次造成1点伤害。", @@ -47,7 +54,6 @@ const translates = { zhiri_shuying_info: "锁定技,当敌方角色使用红色锦囊牌指定目标后,你摸1张牌。", fenshi_shuying: "焚世", fenshi_shuying_info: "锁定技,准备阶段,若你的手牌数小于体力值,则将手牌摸至于体力值相等;若你的手牌数大于体力值,则你对敌方角色造成共计X点伤害,点数随机分配(X为手牌数减体力值)。", - }; export default translates; diff --git a/pve/boss/sets/tianshu/voices.js b/pve/boss/sets/tianshu/voices.js index 97412c7..f84d31d 100644 --- a/pve/boss/sets/tianshu/voices.js +++ b/pve/boss/sets/tianshu/voices.js @@ -1,3 +1,12 @@ -const voices = {}; +const voices = { + "#zhuri_shuying1": "狂飙八万里,逐日九重天!", + "#yinjiang_shuying1": "大江三千顷,豪饮一息间!", + "#lieben_shuying1": "奔雷袭紫电,驰羽断青锋!", + "#kuafu_boss_shuying:die": "大泽将涸,金乌难触。", + "#dishi_shuying1": "慈航化众生,司南引轩辕。", + "#jiutian_shuying1": "天上九宫十二城,仙云袅袅授长生。", + "#xuanlie_shuying1": "碧霄一鹤引霞至,玄女箜篌九天来。", + "#xuannv_boss_shuying:die": "世间何来两全法,不负仙旅不负卿。", +}; export default voices; diff --git a/pve/boss/sets/zhuoguiquxie/character.js b/pve/boss/sets/zhuoguiquxie/character.js index 0254c7b..3badd4a 100644 --- a/pve/boss/sets/zhuoguiquxie/character.js +++ b/pve/boss/sets/zhuoguiquxie/character.js @@ -6,7 +6,7 @@ const characters = { skills: ["aotang_shuying", "yunju_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/mengpo_boss_shuying.png" + img: "extension/术樱包/pve/images/驱鬼逐邪/mengpo_boss_shuying.png" }, baowei_boss_shuying: @@ -17,7 +17,7 @@ const characters = { skills: ["eli_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/baowei_boss_shuying.png" + img: "extension/术樱包/pve/images/驱鬼逐邪/baowei_boss_shuying.png" }, niaozui_boss_shuying: @@ -28,7 +28,7 @@ const characters = { skills: ["suoxue_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/niaozui_boss_shuying.png" + img: "extension/术樱包/pve/images/驱鬼逐邪/niaozui_boss_shuying.png" }, heibaiwuchang_boss_shuying: @@ -39,8 +39,8 @@ const characters = { skills: ["mizui_shuying", "qiangzheng_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/heibaiwuchang_boss_shuying.png", - dieAudios: ["ext:术樱包/pve/audio/dead/捉鬼驱邪/heibaiwuchang.mp3"] + img: "extension/术樱包/pve/images/驱鬼逐邪/heibaiwuchang_boss_shuying.png", + dieAudios: ["ext:术樱包/pve/audio/dead/驱鬼逐邪/heibaiwuchang.mp3"] }, niutoumamian_boss_shuying: { @@ -50,8 +50,8 @@ const characters = { skills: ["manji_shuying", "shiyv_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/niutoumamian_boss_shuying.png", - dieAudios: ["ext:术樱包/pve/audio/dead/捉鬼驱邪/niutoumamian.mp3"] + img: "extension/术樱包/pve/images/驱鬼逐邪/niutoumamian_boss_shuying.png", + dieAudios: ["ext:术樱包/pve/audio/dead/驱鬼逐邪/niutoumamian.mp3"] }, yvsai_boss_shuying: { @@ -61,7 +61,7 @@ const characters = { skills: ["anchao_shuying", "guixi_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/yvsai_boss_shuying.png" + img: "extension/术樱包/pve/images/驱鬼逐邪/yvsai_boss_shuying.png" }, huangfeng_boss_shuying: { @@ -71,7 +71,7 @@ const characters = { skills: ["mingchong_shuying", "duzhen_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/huangfeng_boss_shuying.png" + img: "extension/术樱包/pve/images/驱鬼逐邪/huangfeng_boss_shuying.png" }, riyeyoushen_boss_shuying: { @@ -81,8 +81,8 @@ const characters = { skills: ["huiyun_shuying", "yezhong_shuying", "zhoucha_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/riyeyoushen_boss_shuying.png", - dieAudios: ["ext:术樱包/pve/audio/dead/捉鬼驱邪/riyeyoushen.mp3"] + img: "extension/术樱包/pve/images/驱鬼逐邪/riyeyoushen_boss_shuying.png", + dieAudios: ["ext:术樱包/pve/audio/dead/驱鬼逐邪/riyeyoushen.mp3"] }, guiwang_boss_shuying: { @@ -92,18 +92,18 @@ const characters = { skills: ["jizhou_shuying", "danshi_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/guiwang_boss_shuying.png", - dieAudios: ["ext:术樱包/pve/audio/dead/捉鬼驱邪/guiwang.mp3"] + img: "extension/术樱包/pve/images/驱鬼逐邪/guiwang_boss_shuying.png", + dieAudios: ["ext:术樱包/pve/audio/dead/驱鬼逐邪/guiwang.mp3"] }, yanluowang_boss_shuying: { sex: "male", group: "qun", hp: 4, - skills: ["jizhou_shuying", "danshi_shuying"], + skills: ["dianwei_shuying", "xingpan_shuying"], isHiddenBoss: true, isBossAllowed: true, - img: "extension/术樱包/pve/images/捉鬼驱邪/yanluowang_boss_shuying.png" + img: "extension/术樱包/pve/images/驱鬼逐邪/yanluowang_boss_shuying.png" }, }; diff --git a/pve/boss/sets/zhuoguiquxie/index.js b/pve/boss/sets/zhuoguiquxie/index.js index bbee735..a382cfc 100644 --- a/pve/boss/sets/zhuoguiquxie/index.js +++ b/pve/boss/sets/zhuoguiquxie/index.js @@ -11,7 +11,7 @@ import perfectPairs from "./perfectPairs.js"; import voices from "./voices.js"; import { characterSort, characterSortTranslate } from "./sort.js"; -// 捉鬼驱邪主题数据片段,由活动 BOSS 根入口统一注册。 +// 驱鬼逐邪主题数据片段,由活动 BOSS 根入口统一注册。 export default { character: characters, card: cards, diff --git a/pve/boss/sets/zhuoguiquxie/skill.js b/pve/boss/sets/zhuoguiquxie/skill.js index 3a916c3..1369447 100644 --- a/pve/boss/sets/zhuoguiquxie/skill.js +++ b/pve/boss/sets/zhuoguiquxie/skill.js @@ -511,6 +511,7 @@ const skills = { return player.getEnemies(null, false).some(target => target.isIn()); }, async content(event, trigger, player) { + const difficulty = getTianshuDifficulty(); const enemies = player.getEnemies(null, false).filter(target => target.isIn()); if (difficulty == "nightmare") { @@ -667,7 +668,7 @@ const skills = { }, }, }, - shiyu_shuying: { + shiyv_shuying: { mode: ["boss"], audio: "ext:术樱包/pve/audio/skill/驱鬼逐邪:1", trigger: { @@ -1457,22 +1458,107 @@ const skills = { }, forced: true, locked: true, + silent: true, + popup: false, mark: true, filter(event, player) { return ( getTianshuDifficulty() != "normal" && !player.storage.zhennu_shuying_used && event.changedHp < 0 && - player.hp <= player.maxHp / 2 && - player.hp - event.changedHp > player.maxHp / 2 + event.originalHp > event.originalMaxHp / 2 && + event.originalHp + event.changedHp <= event.originalMaxHp / 2 ); }, async content(event, trigger, player) { player.storage.zhennu_shuying_used = true; + player.storage.zhennu_shuying_pending = true; + player.storage.zhennu_shuying_pending_type = trigger.getParent()?.name; + trigger.zhennu_shuying_pending = true; player.markSkill("zhennu_shuying"); + }, + group: "zhennu_shuying_takeover", + subSkill: { + takeover: { + charlotte: true, + forced: true, + silent: true, + popup: false, + forceDie: true, + trigger: { + player: [ + "changeHpAfter", + "damageAfter", + "loseHpAfter", + "dyingAfter", + ], + }, + filter(event, player, name) { + if ( + !player.storage.zhennu_shuying_pending || + !player.isIn() || + player.hp <= 0 + ) { + return false; + } - await player.draw(4); - player.insertPhase(); + if (name == "dyingAfter") return true; + if (name == "changeHpAfter") { + return ( + event.zhennu_shuying_pending === true && + !["damage", "loseHp"].includes( + player.storage.zhennu_shuying_pending_type + ) + ); + } + + return ( + (name == "damageAfter" && + player.storage.zhennu_shuying_pending_type == + "damage") || + (name == "loseHpAfter" && + player.storage.zhennu_shuying_pending_type == + "loseHp") + ); + }, + async content(event, trigger, player) { + delete player.storage.zhennu_shuying_pending; + delete player.storage.zhennu_shuying_pending_type; + player.logSkill("zhennu_shuying"); + + const phase = event.getParent("phase"); + const phaseLoop = event.getParent("phaseLoop"); + if (phase && phaseLoop) { + player.insertPhase("zhennu_shuying"); + phaseLoop.player = player; + + let activeChild = event; + let current = event.getParent(); + while (current && current != phaseLoop) { + const pendingEvents = [ + ...(current.next || []), + ...(current.after || []), + ]; + for (const pendingEvent of pendingEvents) { + if (pendingEvent == activeChild) continue; + pendingEvent.finish(); + pendingEvent.untrigger(true); + } + + current.finish(); + current.untrigger(true); + if (current == phase) break; + activeChild = current; + current = current.getParent(); + } + } + + await player.draw(4); + if (!phase || !phaseLoop) { + player.insertPhase("zhennu_shuying", true); + } + }, + }, }, intro: { content(storage, player) { diff --git a/pve/boss/sets/zhuoguiquxie/sort.js b/pve/boss/sets/zhuoguiquxie/sort.js index c25a2a6..0dbac4f 100644 --- a/pve/boss/sets/zhuoguiquxie/sort.js +++ b/pve/boss/sets/zhuoguiquxie/sort.js @@ -9,7 +9,7 @@ const characterSort = { }; const characterSortTranslate = { - shuYing_pve_zhuoguiquxie: "捉鬼驱邪", + shuYing_pve_zhuoguiquxie: "驱鬼逐邪", }; export { characterSort, characterSortTranslate }; diff --git a/pve/boss/sets/zhuoguiquxie/voices.js b/pve/boss/sets/zhuoguiquxie/voices.js index 97412c7..f153e6c 100644 --- a/pve/boss/sets/zhuoguiquxie/voices.js +++ b/pve/boss/sets/zhuoguiquxie/voices.js @@ -1,3 +1,36 @@ -const voices = {}; +const voices = { + "#aotang_shuying1": "品汤消愁,情怨断念。", + "#yunju_shuying1": "云雾缭绕,飓风意动。", + "#guimei_shuying1": "鬼魅生惑,迷乱心神。", + "#eli_shuying1": "豹贲之象,先锋之将。", + "#bingyi_shuying1": "疑难杂病,入天则安。", + "#suoxue_shuying1": "鸟穴虽小,亦有探索之地。", + "#guixi_shuying1": "吸灵唤魂,游鱼而走。", + "#anchao_shuying1": "暗潮涌动,感水知行。", + "#duzhen_shuying1": "毒针入骨,百药难医。", + "#mingchong_shuying1": "虫身虽小,威力无限。", + "#xingpan_shuying1": "你的罪过,只能用刑偿还。", + "#dianwei_shuying1": "阎罗立矩,斧钺杀威!", + "#xuanpan_shuying1": "阎罗殿上杀威棒,判惩凶宵降猢狲!", + "#xuanpan_shuying2": "本王要尔三更死,安能留汝到五更!", + "#xixing_shuying1": "勾魂夺命,震骨吸星!", + "#taiping_shuying1": "一见发财,天下太平!", + "#qiangzheng_shuying1": "敲骨吸髓,征财索命!", + "#mizui_shuying1": "凡间人世百般苦,唯有西方最极乐!", + "#heibaiwuchang_boss_shuying:die": "索命鬼,终被捉!", + "#xiaoshou_shuying1": "冥府鬼域,岂容尔等放肆!", + "#manji_shuying1": "阴兵蛮霸,力大欺理!", + "#shiyu_shuying1": "生财自有道,香烛狱中取!", + "#guizhao_shuying1": "凡夫俗子,安识诡域之计!", + "#niutoumamian_boss_shuying:die": "当牛做马数百载,只求为人一朝夕!", + "#zhoucha_shuying1": "红煞蔽日,凶兵择噬!", + "#yezhong_shuying1": "黑煞出冢,百鬼夜行!", + "#huiyun_shuying1": "附骨之厄,追魂夺魄!", + "#duane_shuying1": "幽冥之馈,尔等安敢弃之!", + "#riyeyoushen_boss_shuying:die": "山河倒悬,阴阳相逆。", + "#jizhou_shuying1": "鬼王凝咒,言出法随!", + "#danshi_shuying1": "猛鬼食人,择魂而噬!", + "#guiwang_boss_shuying:die": "阎罗殿里说枉死,忘川桥头叹奈何!", +}; export default voices; diff --git a/pve/boss/voices.js b/pve/boss/voices.js index d4498ee..847bee7 100644 --- a/pve/boss/voices.js +++ b/pve/boss/voices.js @@ -1,6 +1,18 @@ import bossSets from "./sets.js"; -import { mergeBossSection } from "./merge.js"; -const voices = mergeBossSection("语音台词", bossSets, "voices"); +// 技能语音按实际 ext 音频目录生成台词键;阵亡语音仍使用“#角色ID:die”。 +const voices = {}; +for (const [setName, set] of bossSets) { + for (const [key, text] of Object.entries(set.voices || {})) { + const voiceKey = key.endsWith(":die") + ? key + : `#ext:术樱包/pve/audio/skill/${setName}/${key.replace(/^#/, "")}`; + if (Object.prototype.hasOwnProperty.call(voices, voiceKey)) { + console.warn(`活动BOSS:跳过${setName}中重复的语音台词 ID“${voiceKey}”`); + continue; + } + voices[voiceKey] = text; + } +} export default voices; diff --git a/pve/images/捉鬼驱邪/baiwuchang_boss_shuying.png b/pve/images/驱鬼逐邪/baiwuchang_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/baiwuchang_boss_shuying.png rename to pve/images/驱鬼逐邪/baiwuchang_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/baowei_boss_shuying.png b/pve/images/驱鬼逐邪/baowei_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/baowei_boss_shuying.png rename to pve/images/驱鬼逐邪/baowei_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/guiwang_boss_shuying.png b/pve/images/驱鬼逐邪/guiwang_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/guiwang_boss_shuying.png rename to pve/images/驱鬼逐邪/guiwang_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/heibaiwuchang_boss_shuying.png b/pve/images/驱鬼逐邪/heibaiwuchang_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/heibaiwuchang_boss_shuying.png rename to pve/images/驱鬼逐邪/heibaiwuchang_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/heiwuchang_boss_shuying.png b/pve/images/驱鬼逐邪/heiwuchang_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/heiwuchang_boss_shuying.png rename to pve/images/驱鬼逐邪/heiwuchang_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/huangfeng_boss_shuying.png b/pve/images/驱鬼逐邪/huangfeng_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/huangfeng_boss_shuying.png rename to pve/images/驱鬼逐邪/huangfeng_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/mamian_boss_shuying.png b/pve/images/驱鬼逐邪/mamian_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/mamian_boss_shuying.png rename to pve/images/驱鬼逐邪/mamian_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/mengpo_boss_shuying.png b/pve/images/驱鬼逐邪/mengpo_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/mengpo_boss_shuying.png rename to pve/images/驱鬼逐邪/mengpo_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/niaozui_boss_shuying.png b/pve/images/驱鬼逐邪/niaozui_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/niaozui_boss_shuying.png rename to pve/images/驱鬼逐邪/niaozui_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/niutou_boss_shuying.png b/pve/images/驱鬼逐邪/niutou_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/niutou_boss_shuying.png rename to pve/images/驱鬼逐邪/niutou_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/niutoumamian_boss_shuying.png b/pve/images/驱鬼逐邪/niutoumamian_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/niutoumamian_boss_shuying.png rename to pve/images/驱鬼逐邪/niutoumamian_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/riyeyoushen_boss_shuying.png b/pve/images/驱鬼逐邪/riyeyoushen_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/riyeyoushen_boss_shuying.png rename to pve/images/驱鬼逐邪/riyeyoushen_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/yanluowang_boss_shuying.png b/pve/images/驱鬼逐邪/yanluowang_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/yanluowang_boss_shuying.png rename to pve/images/驱鬼逐邪/yanluowang_boss_shuying.png diff --git a/pve/images/捉鬼驱邪/yvsai_boss_shuying.png b/pve/images/驱鬼逐邪/yvsai_boss_shuying.png similarity index 100% rename from pve/images/捉鬼驱邪/yvsai_boss_shuying.png rename to pve/images/驱鬼逐邪/yvsai_boss_shuying.png diff --git a/tianshu/bondSkills.js b/tianshu/bondSkills.js new file mode 100644 index 0000000..016dab7 --- /dev/null +++ b/tianshu/bondSkills.js @@ -0,0 +1,1273 @@ +// 天书羁绊只通过技能表达具体效果;羁绊管理器负责决定当前应持有哪一级技能。 +const skill = { + shuYing_Tianshu_BondSha1: { + charlotte: true, + popup: false, + nopop: true, + mod: { + cardUsable(card, player, num) { + if (card.name == "sha") return num + 1; + }, + }, + }, + shuYing_Tianshu_BondSha2: { + charlotte: true, + popup: false, + nopop: true, + mod: { + cardUsable(card, player, num) { + if (card.name == "sha") return num + 2; + }, + }, + }, + + //蜀中无大将 + shuYing_Tianshu_Skill_01: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_01_defend", + "shuYing_Tianshu_Skill_01_damage", + ], + subSkill: { + defend: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "damageBegin4" }, + filter(event, player) { + return event.num > 0 && !event.hasNature(); + }, + async content(event, trigger, player) { + trigger.cancel(); + }, + }, + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return event.num > 0 && player.hp > 0; + }, + async content(event, trigger, player) { + trigger.num += player.hp; + }, + }, + }, + ai: { + threaten: 4, + effect: { + target(card, player, target) { + if ( + get.tag(card, "damage") && + !get.tag(card, "natureDamage") + ) { + return "zeroplayertarget"; + } + }, + }, + }, + }, + + //江东基业 + shuYing_Tianshu_Skill_02_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { player: "phaseDrawBegin2" }, + filter(event, player) { + return !event.numFixed && player.getDamagedHp() > 0; + }, + async content(event, trigger, player) { + trigger.num += player.getDamagedHp(); + }, + ai: { + threaten: 1.4, + }, + }, + shuYing_Tianshu_Skill_02_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_02_Count2_draw", + "shuYing_Tianshu_Skill_02_Count2_discard", + ], + subSkill: { + draw: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "phaseDrawBegin2" }, + filter(event, player) { + return !event.numFixed && player.getDamagedHp() > 0; + }, + async content(event, trigger, player) { + trigger.num += player.getDamagedHp(); + }, + }, + discard: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { + global: ["loseAfter", "loseAsyncAfter"], + }, + getIndex(event, player) { + if ( + event.type != "discard" || + (event.discarder || + event.getParent(2)?.player) != player + ) { + return []; + } + + const enemies = player.getEnemies(null, false); + return game.filterPlayer(target => { + return ( + target.isIn() && + enemies.includes(target) && + event.getl?.(target)?.cards2?.length > 0 + ); + }); + }, + logTarget(event, player, name, target) { + return target; + }, + filter(event, player, name, target) { + return target?.isIn(); + }, + async content(event, trigger, player) { + const target = event.indexedData; + if (!target?.isIn()) return; + + player.line(target); + await target.damage(1, player); + }, + }, + }, + ai: { + threaten: 1.8, + }, + }, + shuYing_Tianshu_Skill_02_Skill3: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_02_Count3_draw", + "shuYing_Tianshu_Skill_02_Count3_discard", + "shuYing_Tianshu_Skill_02_Count3_gain", + ], + subSkill: { + draw: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "phaseDrawBegin2" }, + filter(event, player) { + return !event.numFixed && player.getDamagedHp() > 0; + }, + async content(event, trigger, player) { + trigger.num += player.getDamagedHp(); + }, + }, + discard: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { + global: ["loseAfter", "loseAsyncAfter"], + }, + getIndex(event, player) { + if ( + event.type != "discard" || + (event.discarder || + event.getParent(2)?.player) != player + ) { + return []; + } + + const enemies = player.getEnemies(null, false); + return game.filterPlayer(target => { + return ( + target.isIn() && + enemies.includes(target) && + event.getl?.(target)?.cards2?.length > 0 + ); + }); + }, + logTarget(event, player, name, target) { + return target; + }, + filter(event, player, name, target) { + return ( + target?.isIn() && + event.getl?.(target)?.cards2?.length > 0 + ); + }, + async content(event, trigger, player) { + const target = event.indexedData; + if (!target?.isIn()) return; + + const num = + trigger.getl?.(target)?.cards2?.length || 0; + if (num <= 0) return; + + player.line(target); + await target.damage(num, player); + }, + }, + gain: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { + global: ["gainAfter", "loseAsyncAfter"], + }, + getIndex(event, player) { + if ( + !event.getl || + !event.getg || + !event.getl(player)?.cards2?.length + ) { + return []; + } + + const lostCards = event.getl(player).cards2; + const enemies = player.getEnemies(null, false); + + return game.filterPlayer(target => { + return ( + target.isIn() && + enemies.includes(target) && + event + .getg(target) + .some(card => lostCards.includes(card)) + ); + }); + }, + logTarget(event, player, name, target) { + return target; + }, + filter(event, player, name, target) { + if (!target?.isIn()) return false; + + const lostCards = + event.getl?.(player)?.cards2 || []; + return event + .getg?.(target) + ?.some(card => lostCards.includes(card)); + }, + async content(event, trigger, player) { + const target = event.indexedData; + if (!target?.isIn()) return; + + const lostCards = + trigger.getl?.(player)?.cards2 || []; + const num = trigger + .getg(target) + .filter(card => lostCards.includes(card)) + .length; + + if (num <= 0) return; + + player.line(target); + await target.damage(num, player); + }, + }, + }, + ai: { + threaten: 2.5, + }, + }, + + // 舌战群儒 + shuYing_Tianshu_Skill_03_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + const target = event.target; + return ( + target?.isIn() && + player.getEnemies(null, false).includes(target) && + target.countDiscardableCards(player, "he") > 0 + ); + }, + logTarget: "target", + async content(event, trigger, player) { + const target = trigger.target; + const cards = target + .getCards("he", card => { + return lib.filter.cardDiscardable( + card, + target, + event.name + ); + }) + .randomGets(1); + + if (!cards.length) return; + + player.line(target); + const discardEvent = target.discard(cards); + discardEvent.discarder = player; + await discardEvent; + }, + }, + shuYing_Tianshu_Skill_03_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + const target = event.target; + if (!target?.isIn()) return false; + + const isEnemy = player + .getEnemies(null, false) + .includes(target); + + return ( + !isEnemy || + target.countDiscardableCards(player, "he") > 0 + ); + }, + logTarget: "target", + async content(event, trigger, player) { + const target = trigger.target; + const isEnemy = player + .getEnemies(null, false) + .includes(target); + + player.line(target); + + if (!isEnemy) { + await target.draw(); + return; + } + + const cards = target + .getCards("he", card => { + return lib.filter.cardDiscardable( + card, + target, + event.name + ); + }) + .randomGets(2); + + if (!cards.length) return; + + const discardEvent = target.discard(cards); + discardEvent.discarder = player; + await discardEvent; + }, + }, + + // 天下无双 + shuYing_Tianshu_Skill_04_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + player.hp > 0 && + event.card?.name == "juedou" + ); + }, + async content(event, trigger, player) { + trigger.num += player.hp; + }, + ai: { + damageBonus: true, + threaten: 1.8, + }, + }, + shuYing_Tianshu_Skill_04_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + player.hp > 0 && + ["sha", "juedou"].includes(event.card?.name) + ); + }, + async content(event, trigger, player) { + trigger.num += player.hp; + }, + ai: { + damageBonus: true, + threaten: 2.5, + }, + }, + + // 五虎上将 + shuYing_Tianshu_Skill_05_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return event.num > 0 && event.card?.name == "sha"; + }, + async content(event, trigger, player) { + trigger.num++; + }, + }, + shuYing_Tianshu_Skill_05_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return event.num > 0 && event.card?.name == "sha"; + }, + async content(event, trigger, player) { + trigger.num++; + }, + mod: { + cardUsable(card, player, num) { + if (card.name == "sha") return Infinity; + }, + targetInRange(card, player, target) { + if (card.name == "sha") return true; + }, + }, + }, + shuYing_Tianshu_Skill_05_Skill3: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return event.num > 0 && event.card?.name == "sha"; + }, + async content(event, trigger, player) { + trigger.num++; + }, + mod: { + cardname(card, player) { + if (get.position(card) == "h") return "sha"; + }, + cardnature(card, player) { + if (get.position(card) == "h") return false; + }, + cardUsable(card, player, num) { + if (card.name == "sha") return Infinity; + }, + targetInRange(card, player, target) { + if (card.name == "sha") return true; + }, + }, + ai: { + respondSha: true, + skillTagFilter(player) { + return player.countCards("h") > 0; + }, + }, + }, + + // 南蛮入侵 + shuYing_Tianshu_Skill_06_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_06_Skill1_damage", + "shuYing_Tianshu_Skill_06_Skill1_exclude", + ], + subSkill: { + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + event.card?.name == "nanman" && + player.getDamagedHp() > 0 && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + trigger.num += player.getDamagedHp(); + }, + }, + exclude: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + return ( + event.card.name == "nanman" && + !player.getEnemies(null, false).includes(event.target) + ); + }, + async content(event, trigger, player) { + trigger.excluded.add(trigger.target); + }, + }, + }, + }, + shuYing_Tianshu_Skill_06_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_06_Skill2_damage", + "shuYing_Tianshu_Skill_06_Skill2_exclude", + ], + mod: { + cardname(card, player) { + if (get.type2(card, false) == "trick") { + return "nanman"; + } + }, + }, + subSkill: { + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + event.card?.name == "nanman" && + player.getDamagedHp() > 0 && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + trigger.num += player.getDamagedHp(); + }, + }, + exclude: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + return ( + event.card.name == "nanman" && + !player.getEnemies(null, false).includes(event.target) + ); + }, + async content(event, trigger, player) { + trigger.excluded.add(trigger.target); + }, + }, + }, + }, + shuYing_Tianshu_Skill_06_Skill3: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_06_Skill3_damage", + "shuYing_Tianshu_Skill_06_Skill3_exclude", + ], + mod: { + cardname(card, player) { + if (get.position(card) == "h") return "nanman"; + }, + }, + subSkill: { + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + event.card?.name == "nanman" && + player.getDamagedHp() > 0 && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + trigger.num += player.getDamagedHp(); + }, + }, + exclude: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + return ( + event.card.name == "nanman" && + !player.getEnemies(null, false).includes(event.target) + ); + }, + async content(event, trigger, player) { + trigger.excluded.add(trigger.target); + }, + }, + }, + }, + + // 奇策智囊 + shuYing_Tianshu_Skill_07_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { player: "useCard1" }, + filter(event, player) { + return get.type2(event.card) == "trick"; + }, + async content(event, trigger, player) { + trigger.directHit.addArray(game.players); + }, + ai: { + directHit_ai: true, + }, + }, + shuYing_Tianshu_Skill_07_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_07_Skill2_directHit", + "shuYing_Tianshu_Skill_07_Skill2_damage", + ], + subSkill: { + directHit: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCard1" }, + filter(event, player) { + return get.type2(event.card) == "trick"; + }, + async content(event, trigger, player) { + trigger.directHit.addArray(game.players); + }, + }, + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + get.type2(event.card) == "trick" + ); + }, + async content(event, trigger, player) { + trigger.num++; + }, + }, + }, + ai: { + directHit_ai: true, + }, + }, + shuYing_Tianshu_Skill_07_Skill3: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_07_Skill3_directHit", + "shuYing_Tianshu_Skill_07_Skill3_damage", + "shuYing_Tianshu_Skill_07_Skill3_draw", + ], + subSkill: { + directHit: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCard1" }, + filter(event, player) { + return get.type2(event.card) == "trick"; + }, + async content(event, trigger, player) { + trigger.directHit.addArray(game.players); + }, + }, + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + get.type2(event.card) == "trick" + ); + }, + async content(event, trigger, player) { + trigger.num++; + }, + }, + draw: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageSource" }, + filter(event, player) { + return ( + event.num > 0 && + get.type2(event.card) == "trick" + ); + }, + async content(event, trigger, player) { + await player.draw(); + }, + }, + }, + ai: { + directHit_ai: true, + }, + }, + + // 天下归心 + shuYing_Tianshu_Skill_08_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { player: "damageEnd" }, + filter(event, player) { + return ( + event.num > 0 && + event.source?.isIn() && + player.getEnemies(null, false).includes(event.source) + ); + }, + async content(event, trigger, player) { + const enemies = player + .getEnemies(null, false) + .filter(target => target.isIn()); + + for (const target of enemies) { + const cards = target + .getGainableCards(player, "h") + .randomGets(1); + + if (cards.length) { + player.line(target); + await player.gain(cards, target, "giveAuto"); + } + } + + if (player.isTurnedOver()) { + await player.turnOver(); + } + if (player.isLinked()) { + await player.link(); + } + }, + }, + shuYing_Tianshu_Skill_08_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { player: "damageEnd" }, + filter(event, player) { + return ( + event.num > 0 && + event.source?.isIn() && + player.getEnemies(null, false).includes(event.source) + ); + }, + async content(event, trigger, player) { + const enemies = player + .getEnemies(null, false) + .filter(target => target.isIn()); + + for (const target of enemies) { + const cards = target + .getGainableCards(player, "h") + .randomGets(trigger.num); + + if (cards.length) { + player.line(target); + await player.gain(cards, target, "giveAuto"); + } + } + + if (trigger.source?.isIn()) { + player.line(trigger.source); + await trigger.source.damage(2, player); + } + + if (player.isTurnedOver()) { + await player.turnOver(); + } + if (player.isLinked()) { + await player.link(); + } + }, + }, + + // 神武再世 + shuYing_Tianshu_Skill_09_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageSource" }, + filter(event, player) { + return ( + event.num > 0 && + event.player?.isIn() && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + await trigger.player.loseHp(); + }, + }, + shuYing_Tianshu_Skill_09_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageSource" }, + filter(event, player) { + return ( + event.num > 0 && + event.player?.isIn() && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + await trigger.player.loseHp(trigger.num); + }, + }, + shuYing_Tianshu_Skill_09_Skill3: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + trigger: { source: "damageSource" }, + filter(event, player) { + return ( + event.num > 0 && + event.player?.isIn() && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + const target = trigger.player; + const loseEvent = target.loseHp(trigger.num); + loseEvent.shuYing_Tianshu_Skill_09_Skill3 = true; + loseEvent.shuYing_source = player; + await loseEvent; + + if (!target.isIn()) return; + + const loseHpNum = target + .getHistory("loseHp", evt => { + return ( + evt.shuYing_Tianshu_Skill_09_Skill3 && + evt.shuYing_source == player + ); + }) + .reduce((sum, evt) => { + return sum + Math.max(0, -evt.num); + }, 0); + + if (loseHpNum > player.hp && target.hp > 0) { + await target.loseHp(target.hp); + } + }, + }, + + // 群雄逐鹿 + shuYing_Tianshu_Skill_10_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: "shuYing_Tianshu_Skill_10_Skill1_exclude", + mod: { + cardname(card, player) { + if (get.type2(card, false) == "trick") { + return "wanjian"; + } + }, + }, + subSkill: { + exclude: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + return ( + event.card.name == "wanjian" && + !player.getEnemies(null, false).includes(event.target) + ); + }, + async content(event, trigger, player) { + trigger.excluded.add(trigger.target); + }, + }, + }, + }, + shuYing_Tianshu_Skill_10_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_10_Skill2_exclude", + "shuYing_Tianshu_Skill_10_Skill2_gain", + ], + mod: { + cardname(card, player) { + if (get.type2(card, false) == "trick") { + return "wanjian"; + } + }, + }, + subSkill: { + exclude: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCardToPlayered" }, + filter(event, player) { + return ( + event.card.name == "wanjian" && + !player.getEnemies(null, false).includes(event.target) + ); + }, + async content(event, trigger, player) { + trigger.excluded.add(trigger.target); + }, + }, + gain: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCard2" }, + filter(event, player) { + if (event.card.name != "wanjian") return false; + + const enemies = player.getEnemies(null, false); + return event.targets?.some(target => { + return ( + target.isIn() && + enemies.includes(target) && + target.countGainableCards(player, "h") > 0 + ); + }); + }, + async content(event, trigger, player) { + const enemies = player.getEnemies(null, false); + const targets = trigger.targets + .filter(target => { + return ( + target.isIn() && + enemies.includes(target) && + target.countGainableCards(player, "h") > 0 + ); + }) + .sortBySeat(); + + for (const target of targets) { + const cards = target + .getGainableCards(player, "h") + .randomGets(1); + + if (cards.length) { + player.line(target); + await player.gain(cards, target, "giveAuto"); + } + } + }, + }, + }, + }, + + // 乱世佳人 + shuYing_Tianshu_Skill_11_Skill1: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_11_Skill1_directHit", + "shuYing_Tianshu_Skill_11_Skill1_damage", + ], + subSkill: { + directHit: { + audio: false, + charlotte: true, + forced: true, + popup: false, + usable: 1, + trigger: { player: "useCard2" }, + filter(event, player) { + const enemies = player.getEnemies(null, false); + return event.targets?.some(target => { + return ( + target.isIn() && + enemies.includes(target) && + target.sex != player.sex + ); + }); + }, + async content(event, trigger, player) { + const enemies = player.getEnemies(null, false); + const targets = trigger.targets.filter(target => { + return ( + target.isIn() && + enemies.includes(target) && + target.sex != player.sex + ); + }); + + trigger.directHit.addArray(targets); + }, + }, + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + usable: 1, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + event.player?.isIn() && + event.player.sex != player.sex && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + trigger.num++; + }, + }, + }, + }, + shuYing_Tianshu_Skill_11_Skill2: { + mode: ["boss"], + audio: false, + charlotte: true, + superCharlotte: true, + fixed: true, + forced: true, + locked: true, + popup: false, + group: [ + "shuYing_Tianshu_Skill_11_Skill2_directHit", + "shuYing_Tianshu_Skill_11_Skill2_damage", + ], + subSkill: { + directHit: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { player: "useCard2" }, + filter(event, player) { + const enemies = player.getEnemies(null, false); + return event.targets?.some(target => { + return ( + target.isIn() && + enemies.includes(target) && + target.sex != player.sex + ); + }); + }, + async content(event, trigger, player) { + const enemies = player.getEnemies(null, false); + const targets = trigger.targets.filter(target => { + return ( + target.isIn() && + enemies.includes(target) && + target.sex != player.sex + ); + }); + + trigger.directHit.addArray(targets); + }, + }, + damage: { + audio: false, + charlotte: true, + forced: true, + popup: false, + trigger: { source: "damageBegin1" }, + filter(event, player) { + return ( + event.num > 0 && + event.player?.isIn() && + event.player.sex != player.sex && + player.getEnemies(null, false).includes(event.player) + ); + }, + async content(event, trigger, player) { + trigger.num++; + }, + }, + }, + }, +}; + +const translate = { + shuYing_Tianshu_BondSha1: "杀伐·壹", + shuYing_Tianshu_BondSha1_info: "锁定技。你于出牌阶段内使用【杀】的次数上限+1。", + shuYing_Tianshu_BondSha2: "杀伐·贰", + shuYing_Tianshu_BondSha2_info: "锁定技。你于出牌阶段内使用【杀】的次数上限+2。", +}; + +export default { skill, translate }; diff --git a/tianshu/config.js b/tianshu/config.js index 30d3e34..859aa5e 100644 --- a/tianshu/config.js +++ b/tianshu/config.js @@ -1,41 +1,41 @@ -const difficultyOrder = [normal, hard, nightmare]; +const difficultyOrder = ["normal", "hard", "nightmare"]; const stages = [ { - id: stage1, - name: 第一关, - // bosses: [caocao_boss_shuying, dongzhuo_boss_shuying], - bosses: [zishu_boss_shuying, chouniu_boss_shuying, yinhu_boss_shuying, maotu_boss_shuying, chenlong_boss_shuying, sishe_boss_shuying, wuma_boss_shuying, weiyang_boss_shuying, shenhou_boss_shuying, youji_boss_shuying, xvgou_boss_shuying, haizhu_boss_shuying], + id: "stage1", + name: "第一关", + // bosses: ["zishu_boss_shuying", "yanluowang_boss_shuying"], + bosses: ["zishu_boss_shuying", "chouniu_boss_shuying", "yinhu_boss_shuying", "maotu_boss_shuying", "chenlong_boss_shuying", "sishe_boss_shuying", "wuma_boss_shuying", "weiyang_boss_shuying", "shenhou_boss_shuying", "youji_boss_shuying", "xvgou_boss_shuying", "haizhu_boss_shuying"], }, { - id: stage2, - name: 第二关, - bosses: [mengpo_boss_shuying, baowei_boss_shuying, niaozui_boss_shuying, heibaiwuchang_boss_shuying, niutoumamian_boss_shuying, yvsai_boss_shuying, huangfeng_boss_shuying, riyeyoushen_boss_shuying, guiwang_boss_shuying, yanluowang_boss_shuying], + id: "stage2", + name: "第二关", + bosses: ["mengpo_boss_shuying", "baowei_boss_shuying", "niaozui_boss_shuying", "heibaiwuchang_boss_shuying", "niutoumamian_boss_shuying", "yvsai_boss_shuying", "huangfeng_boss_shuying", "riyeyoushen_boss_shuying", "guiwang_boss_shuying", "yanluowang_boss_shuying"], }, { - id: stage3, - name: 第三关, - bosses: [caocao_boss_shuying, simayi_boss_shuying, lvbu_boss_shuying, dongzhuo_boss_shuying], + id: "stage3", + name: "第三关", + bosses: ["caocao_boss_shuying", "simayi_boss_shuying", "lvbu_boss_shuying", "dongzhuo_boss_shuying", "zhangjiao_boss_shuying", "yuanshu_boss_shuying"], }, { - id: stage4, - name: 第四关, - bosses: [shuishengonggong_boss_shuying, shaohao_boss_shuying, xuannv_boss_shuying, hanba_boss_shuying], + id: "stage4", + name: "第四关", + bosses: ["shuishengonggong_boss_shuying", "huoshenzhurong_boss_shuying", "baiqi_boss_shuying", "kuafu_boss_shuying", "shaohao_boss_shuying", "xuannv_boss_shuying", "hanba_boss_shuying"], }, ]; const bossList = Object.fromEntries(stages.map(stage => [stage.id, stage.bosses])); const virtualIdols = { - Xiaotao: vtb_xiaotao, - Xiaosha: vtb_xiaosha, - Xiaoshan: vtb_xiaoshan, - Xiaole: vtb_xiaole, - Xiaojiu: vtb_xiaojiu, + Xiaotao: "vtb_xiaotao", + Xiaosha: "vtb_xiaosha", + Xiaoshan: "vtb_xiaoshan", + Xiaole: "vtb_xiaole", + Xiaojiu: "vtb_xiaojiu", }; const virtualIdolList = Object.values(virtualIdols); -// Boss 的体力与体力上限始终使用相同加成,只需在配置中填写一次。 +// Boss 的体力与体力上限始终使用相同加成 const createDifficultyConfig = (startCards, hpBonus = 0) => ({ startCards, hpBonus, @@ -88,56 +88,75 @@ const bossDifficulty = { bosses: { ...createBossGroup(stages[0].bosses, bossDifficultyTemplates.shiershengxiao), - ...createBossGroup([yvsai_boss_shuying, huangfeng_boss_shuying], bossDifficultyTemplates.zhuoguiquxie), + ...createBossGroup(["yvsai_boss_shuying", "huangfeng_boss_shuying"], bossDifficultyTemplates.zhuoguiquxie), mengpo_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, { - nightmare: [guimei_shuying], + nightmare: ["guimei_shuying"], }), - baowei_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, addSkillFromHard(yinsha_shuying)), - niaozui_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, addSkillFromHard(bingyi_shuying)), + baowei_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, addSkillFromHard("yinsha_shuying")), + niaozui_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, addSkillFromHard("bingyi_shuying")), heibaiwuchang_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, { - hard: [xixing_shuying], - nightmare: [xixing_shuying, taiping_shuying], + hard: ["xixing_shuying"], + nightmare: ["xixing_shuying", "taiping_shuying"], }), riyeyoushen_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, { - nightmare: [duane_shuying], + nightmare: ["duane_shuying"], }), niutoumamian_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, { - hard: [xiaoshou_shuying], - nightmare: [xiaoshou_shuying, guizhao_shuying], + hard: ["xiaoshou_shuying"], + nightmare: ["xiaoshou_shuying", "guizhao_shuying"], }), guiwang_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, { - nightmare: [chihu_shuying], + nightmare: ["chihu_shuying"], }), yanluowang_boss_shuying: createBossConfig(bossDifficultyTemplates.zhuoguiquxie, { - hard: [zhennu_shuying], - nightmare: [zhennu_shuying, xuanpan_shuying], + hard: ["zhennu_shuying"], + nightmare: ["zhennu_shuying", "xuanpan_shuying"], }), - caocao_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard(yishen_shuying)), - simayi_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard(yuanlv_shuying)), - lvbu_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard(zhanjia_shuying)), - dongzhuo_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard(qubu_shuying)), + caocao_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard("yishen_shuying")), + simayi_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard("yuanlv_shuying")), + lvbu_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard("zhanjia_shuying")), + dongzhuo_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard("qubu_shuying")), + yuanshu_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard("duoxi_shuying")), + zhangjiao_boss_shuying: createBossConfig(bossDifficultyTemplates.qingqingzijin, addSkillFromHard("yinlei_shuying")), - ...createBossGroup([shaohao_boss_shuying, xuannv_boss_shuying, hanba_boss_shuying], bossDifficultyTemplates.tianshuluandou), - shuishengonggong_boss_shuying: createBossConfig(bossDifficultyTemplates.tianshuluandou, addSkillFromHard(shuishen_shuying)), - - baiqi_boss_shuying: {}, - pangu_boss_shuying: {}, + ...createBossGroup(["shaohao_boss_shuying", "xuannv_boss_shuying", "hanba_boss_shuying"], bossDifficultyTemplates.tianshuluandou), + shuishengonggong_boss_shuying: createBossConfig(bossDifficultyTemplates.tianshuluandou, { + nightmare: ["shuishen_shuying"], + }), + huoshenzhurong_boss_shuying: createBossConfig(bossDifficultyTemplates.tianshuluandou, { + nightmare: ["huoshen_shuying"], + }), + baiqi_boss_shuying: createBossConfig(bossDifficultyTemplates.tianshuluandou, { + normal: ["changsheng_shuying"], + hard: ["shashen_shuying"], + nightmare: ["changsheng_shuying", "shashen_shuying"], + }), + kuafu_boss_shuying: createBossConfig(bossDifficultyTemplates.tianshuluandou, { + nightmare: ["shenqu_shuying"], + }), }, }; + const tianshuConfig = { bossList, stages, difficulties: { normal: { - name: 普通, + name: "普通", + tag: "初入天书", + description: "较低的起始手牌与体力加成,适合熟悉四关流程与奖励机制。", }, hard: { - name: 困难, + name: "困难", + tag: "渐入险境", + description: "Boss拥有更多起始手牌、额外体力,部分Boss会取得追加技能。", }, nightmare: { - name: 阴间, + name: "阴间", + tag: "九死一生", + description: "Boss获得最高体力和手牌强化,并启用当前配置中的完整追加技能。", }, }, difficultyOrder, @@ -152,40 +171,486 @@ const tianshuConfig = { killDrawIfFullHp: 2, stageRecover: 1, stageDraw: 2, - skillChoiceCount: 5, + skillChoiceCount: 6, }, settings: { - virtualIdolConfigKey: extension_术樱包_tianShu_Xvni, - virtualIdolRandomPoolConfigKey: extension_术樱包_tianShu_XvniRandomPool, - virtualIdolReviveConfigKey: extension_术樱包_tianShu_dead, - addBossConfigKey: extension_术樱包_tianShu_addBoss, - revivePlayersConfigKey: extension_术樱包_tianShu_revivePlayers, - difficultyStatusKey: shuYing_tianshuDifficulty, + virtualIdolConfigKey: "extension_术樱包_tianShu_Xvni", + virtualIdolRandomPoolConfigKey: "extension_术樱包_tianShu_XvniRandomPool", + virtualIdolReviveConfigKey: "extension_术樱包_tianShu_dead", + addBossConfigKey: "extension_术樱包_tianShu_addBoss", + revivePlayersConfigKey: "extension_术樱包_tianShu_revivePlayers", + difficultyStatusKey: "shuYing_tianshuDifficulty", }, skillPool: { - banned: [huoxin, jueqing, qinqing, beige, huashen, drlt_zhiti, olzhiti, xinfu_pdgyingshi, rebeige], + additional: [ + "reguanxing", "rehuoji", "kongcheng", //蜀中无大将 + "rezhiheng", "sbjiang", "sbyingzi", "kurou", "repojun", //江东基业 + "xinshenxing", "rezhijian", "pothaoshi", "xinzhiyan", //舌战群儒 + "sbwushuang", "sbliyu", //天下无双 + "ollongdan", "xinliegong", "new_rewusheng", "new_repaoxiao", "new_yajiao", "sbtieji", //五虎上将 + "relieren", "decadezhennan", "gzjili", "spjiedao", "rezhiman", "mansi", "spxizhan", //南蛮入侵 + "olchengxiang", "sbjizhi", "sbyiji", "zhiyu", //奇策智囊 + "rejieming", "kaikang", "new_rejianxiong", "repindi", "xinwangxi", //天下归心 + "shencai", "wuling", "reshuishi", "mbtiantao", "mbxinghun", "qiexie", "yuli", "tingwei", //神武再世 + "nzry_shicai", "remingce", "mizhao", "xinfu_tushe", "rejigong", //群雄逐鹿 + "xiaoji", "liangzhu", "mozhi", "olzhenlie", "zhiren", //乱世佳人 + + ], + banned: ["huoxin", "jueqing", "qinqing", "beige", "huashen", "drlt_zhiti", "olzhiti", "xinfu_pdgyingshi", "rebeige"], }, - keywordBuffs: [ + bonds: [ { - keyword: 杀, + id: "shafa", + name: "杀伐", + keyword: "杀", levels: [ - { count: 2, damageBonus: 1 }, - { count: 3, damageBonus: 2 }, + { + level: 1, + count: 2, + condition: { type: "keyword", keyword: "杀", count: 2 }, + skills: ["shuYing_Tianshu_BondSha1"], + text: "使用【杀】的次数上限+1", + }, + { + level: 2, + count: 3, + condition: { type: "keyword", keyword: "杀", count: 3 }, + skills: ["shuYing_Tianshu_BondSha2"], + text: "使用【杀】的次数上限+2", + }, ], }, { - keyword: 闪, + id: "skill_01", + name: "蜀中无大将", + condition: { + type: "skillNames", + any: ["观星", "火计", "空城"], + }, levels: [ - { count: 2, drawAfterShan: 1 }, + { + level: 1, + count: 1, + skills: ["dcjincui", "dcqingshi"], + text: "你获得“尽瘁”和“情势”", + }, + { + level: 2, + count: 3, + skills: ["dcjincui", "dcqingshi", "dczhizhe", "shuYing_Tianshu_Skill_01"], + text: "你获得“尽瘁”、“情势”和“智哲”,防止你受到的所有无属性伤害,你造成的伤害增加你体力值点", + }, ], }, { - keyword: 桃, + id: "skill_02", + name: "江东基业", + condition: { + type: "skillNames", + any: ["制衡", "激昂", "英姿", "锐军", "英魂", "反间", "诈降", "弓骑", "苦肉", "旋风", "破军", "奇袭"], + }, levels: [ - { count: 2, recoverBonus: 1 }, + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_02_Skill1"], + text: "你的摸牌阶段额外已损失体力值张牌", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_02_Skill2"], + text: "你的摸牌阶段额外已损失体力值张牌,你弃置敌方牌时对其造成1点伤害", + }, + { + level: 3, + count: 3, + skills: ["shuYing_Tianshu_Skill_02_Skill3"], + text: "你的摸牌阶段额外已损失体力值张牌,你弃置敌方牌时对其造成等量点伤害,敌方获得你的牌时对其造成等量点伤害", + }, + ], + }, + { + id: "skill_03", + name: "舌战群儒", + condition: { + type: "skillNames", + any: ["慎行", "直谏", "好施", "直言"], + }, + levels: [ + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_03_Skill1"], + text: "你使用牌指定敌方时,随机弃置其1张牌", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_03_Skill2"], + text: "你使用牌指定敌方时,随机弃置其2张牌;你使用牌指定友方时其摸1张牌", + } + ], + }, + { + id: "skill_04", + name: "天下无双", + condition: { + type: "skillNames", + any: ["无双", "利驭"], + }, + levels: [ + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_04_Skill1"], + text: "你使用的【决斗】伤害增加你体力值点", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_04_Skill2"], + text: "你使用的【杀】和【决斗】伤害增加你体力值点", + } + ], + }, + { + id: "skill_05", + name: "五虎上将", + condition: { + type: "skillNames", + any: ["龙胆", "烈弓", "武圣", "咆哮", "涯角", "铁骑"], + }, + levels: [ + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_05_Skill1"], + text: "你使用【杀】伤害+1", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_05_Skill2"], + text: "你使用【杀】伤害+1且不限距离和次数", + }, + { + level: 3, + count: 3, + skills: ["shuYing_Tianshu_Skill_05_Skill3"], + text: "你使用【杀】伤害+1且不限距离和次数,你的手牌均视为【杀】", + }, + ], + }, + { + id: "skill_06", + name: "南蛮入侵", + condition: { + type: "skillNames", + any: ["烈刃", "镇南", "蒺藜", "截刀", "制蛮", "蛮嗣", "嬉战"], + }, + levels: [ + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_06_Skill1"], + text: "你使用【南蛮入侵】伤害增加你已损失的体力值点且对友方无效", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_06_Skill2"], + text: "你使用【南蛮入侵】伤害增加你已损失的体力值点且对友方无效,你的锦囊牌均视为【南蛮入侵】", + }, + { + level: 3, + count: 3, + skills: ["shuYing_Tianshu_Skill_06_Skill3"], + text: "你使用【南蛮入侵】伤害增加你已损失的体力值点且对友方无效,你的手牌牌均视为【南蛮入侵】", + }, + ], + }, + { + id: "skill_07", + name: "奇策智囊", + condition: { + type: "skillNames", + any: ["驱虎", "连环", "奇策", "称象", "集智", "鬼才", "遗计", "智愚"], + }, + levels: [ + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_07_Skill1"], + text: "你的锦囊牌无法被响应", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_07_Skill2"], + text: "你的锦囊牌无法被响应,且伤害值+1", + }, + { + level: 3, + count: 3, + skills: ["shuYing_Tianshu_Skill_07_Skill3"], + text: "你的锦囊牌无法被响应,且伤害值+1,你使用的锦囊牌造成伤害后你摸1张牌。", + }, + ], + }, + { + id: "skill_08", + name: "天下归心", + condition: { + type: "skillNames", + any: ["节命", "慷忾", "贲育", "归心", "据守", "解围", "奸雄", "刚烈", "品第", "忘隙"], + }, + levels: [ + { + level: 1, + count: 2, + skills: ["shuYing_Tianshu_Skill_08_Skill1"], + text: "你受到敌方造成伤害后,随机获得所有敌方1张手牌,然后重置你的武将牌", + }, + { + level: 2, + count: 3, + skills: ["shuYing_Tianshu_Skill_08_Skill2"], + text: "你受到敌方造成的伤害后,随机获得所有敌方伤害值张手牌并对伤害来源造成2点伤害,然后重置你的武将牌", + }, + ], + }, + { + id: "skill_09", + name: "神武再世", + condition: { + type: "skillNames", + any: ["魄袭", "涉猎", "攻心", "龙魂", "连破", "横骛", "神裁", "三首", "斩决", "凤燎", "武神", "五灵", "慧识", "天涛", "星魂", "挈挟", "驭雳", "霆威"], + }, + levels: [ + { + level: 1, + count: 1, + skills: ["shuYing_Tianshu_Skill_09_Skill1"], + text: "你对敌方造成伤害后其流失1点体力", + }, + { + level: 2, + count: 2, + skills: ["shuYing_Tianshu_Skill_09_Skill2"], + text: "你对敌方造成伤害后其流失等量点体力", + }, + { + level: 3, + count: 3, + skills: ["shuYing_Tianshu_Skill_09_Skill3"], + text: "你对敌方造成伤害后其流失等量点体力,若有敌方一回合内流失的体力值大于你的体力值,其失去所有体力", + }, + ], + }, + { + id: "skill_10", + name: "群雄逐鹿", + condition: { + type: "skillNames", + any: ["乱击", "酒池", "恃才", "从谏", "庸肆", "明策", "天命", "密诏", "饰非", "绝策", "图射", "狼袭", "自守", "宗室", "急攻", "矢北"], + }, + levels: [ + { + level: 1, + count: 2, + skills: ["shuYing_Tianshu_Skill_10_Skill1"], + text: "你的锦囊牌均视为【万箭齐发】且对友方无效", + }, + { + level: 2, + count: 3, + skills: ["shuYing_Tianshu_Skill_10_Skill2"], + text: "你的锦囊牌均视为【万箭齐发】且对友方无效,你使用【万箭齐发】时随机获得每名敌方目标的各1张手牌", + }, + ], + }, + { + id: "skill_11", + name: "乱世佳人", + condition: { + type: "skillNames", + any: ["枭姬", "倾国", "流离", "离间", "悲歌", "良助", "陈情", "默识", "贞烈", "秘计", "结姻", "闭月", "怠宴", "织纴", "己诫"], + }, + levels: [ + { + level: 1, + count: 2, + skills: ["shuYing_Tianshu_Skill_11_Skill1"], + text: "你每回合首次使用牌指定异性敌方时,其不能响应此牌;你每回合首对异性敌方造成的伤害+1", + }, + { + level: 2, + count: 3, + skills: ["shuYing_Tianshu_Skill_11_Skill2"], + text: "你使用牌指定异性敌方时,其不能响应此牌;你对异性敌方造成的伤害+1", + }, ], }, ], }; +// // 羁绊配置模板,仅供复制参考,不会被系统加载。 +// // 所有 condition 都只检查玩家过关选择且当前仍持有的技能。 +// const bondTemplates = { +// // 技能描述关键词计数,并以最高等级覆盖低等级。 +// keywordLevels: { +// id: "keyword_levels_example", +// name: "关键词多等级模板", +// keyword: "杀", +// levels: [ +// { +// level: 1, +// count: 2, +// condition: { type: "keyword", keyword: "杀", count: 2 }, +// skills: ["reward_skill_level1"], +// text: "两个包含【杀】的过关技能时获得一级效果", +// }, +// { +// level: 2, +// count: 3, +// condition: { type: "keyword", keyword: "杀", count: 3 }, +// skills: ["reward_skill_level2"], +// text: "三个包含【杀】的过关技能时以二级效果替换一级效果", +// }, +// ], +// }, +// // 选择一个指定技能后,发放一个羁绊奖励技能。 +// singleSkill: { +// id: "single_skill_example", +// name: "单技能模板", +// levels: [{ +// level: 1, +// condition: { type: "skill", skill: "guanxing" }, +// skill: "reward_skill", +// text: "选择【观星】后获得一个奖励技能", +// }], +// }, +// // 按技能译名匹配:guanxing、reguanxing、sbguanxing 等译名均为“观星”时都会满足。 +// translatedSkillName: { +// id: "translated_skill_name_example", +// name: "同名技能模板", +// levels: [{ +// level: 1, +// condition: { type: "skillName", name: "观星" }, +// skill: "reward_skill", +// text: "选择任意版本的【观星】后获得奖励技能", +// }], +// }, +// // 多个译名组合:各名称只需命中任意一个同名技能 ID。 +// translatedSkillNames: { +// id: "translated_skill_names_example", +// name: "同名技能组合模板", +// levels: [{ +// level: 1, +// condition: { type: "skillNames", all: ["观星", "空城"] }, +// skills: ["reward_skill_a", "reward_skill_b"], +// text: "选择任意版本的【观星】和【空城】后获得奖励", +// }], +// }, +// // 按不同译名计数:观星、界观星等同译名版本合计只算一种,不能重复推进等级。 +// translatedSkillNameLevels: { +// id: "translated_skill_name_levels_example", +// name: "蜀中无大将", +// condition: { type: "skillNames", any: ["观星", "火计", "空城"] }, +// levels: [ +// { level: 1, count: 1, skill: "reward_skill_level1", text: "具有其中一种不同译名时获得一级效果" }, +// { level: 2, count: 3, skill: "reward_skill_level2", text: "集齐观星、火计、空城时以二级效果覆盖一级效果" }, +// ], +// }, +// // 按武将译名关键词检索:配置“甘宁”可匹配☆甘宁、界甘宁、谋甘宁、极·甘宁等名称。 +// translatedCharacterSingleSkill: { +// id: "translated_character_single_skill_example", +// name: "武将名称检索单技能模板", +// levels: [{ +// level: 1, +// condition: { type: "characterSkillNames", character: "甘宁", all: ["奇袭"] }, +// skill: "reward_skill", +// text: "武将译名包含“甘宁”且取得任意版本的【奇袭】后获得奖励技能", +// }], +// }, +// // 名称匹配武将取得多个指定译名技能;双将时主将、副将任一名称命中即可。 +// translatedCharacterMultipleSkills: { +// id: "translated_character_multiple_skills_example", +// name: "武将名称检索多技能模板", +// levels: [{ +// level: 1, +// condition: { type: "characterSkillNames", character: "甘宁", all: ["奇袭", "奋威"] }, +// skills: ["reward_skill_a", "reward_skill_b"], +// text: "任意名称包含“甘宁”的武将取得【奇袭】和【奋威】后获得两个奖励技能", +// }], +// }, +// // characters 可填写多个名称关键词;any 表示取得列出的任意一个技能即可触发。 +// translatedCharacterAnySkill: { +// id: "translated_character_any_skill_example", +// name: "多武将关键词任选技能模板", +// levels: [{ +// level: 1, +// condition: { type: "characterSkillNames", characters: ["甘宁", "吕蒙"], any: ["奇袭", "克己"] }, +// skill: "reward_skill", +// text: "武将名称包含“甘宁”或“吕蒙”,并取得【奇袭】或【克己】后获得奖励技能", +// }], +// }, +// // 必须同时选择全部指定技能;可一次发放多个羁绊奖励技能。 +// allSkills: { +// id: "all_skills_example", +// name: "诸葛亮羁绊模板", +// levels: [{ +// level: 1, +// condition: { type: "skills", all: ["guanxing", "kongcheng"] }, +// skills: ["reward_skill_a", "reward_skill_b"], +// text: "同时拥有过关选择的【观星】和【空城】时获得两个奖励技能", +// }], +// }, +// // 任意选择一个指定技能即可满足,适合原版/界限突破等同类技能。 +// anySkill: { +// id: "any_skill_example", +// name: "任一技能模板", +// levels: [{ +// level: 1, +// condition: { type: "skills", any: ["guanxing", "reguanxing"] }, +// skills: ["reward_skill"], +// text: "选择【观星】或【界观星】中的任意一个时获得奖励技能", +// }], +// }, +// // all/any 可以嵌套,适合多个技能组共同组成羁绊。 +// nestedCombination: { +// id: "nested_combination_example", +// name: "嵌套组合模板", +// levels: [{ +// level: 1, +// condition: { +// all: [ +// { any: [{ type: "skill", skill: "guanxing" }, { type: "skill", skill: "reguanxing" }] }, +// { type: "skill", skill: "kongcheng" }, +// { type: "keyword", keyword: "锦囊", count: 2 }, +// ], +// }, +// skills: ["reward_skill"], +// text: "满足任一观星、空城和两个【锦囊】关键词技能时获得奖励", +// }], +// }, +// // not 用于排除指定技能;需要与其他条件组合时将其放进 all 数组。 +// excludedSkill: { +// id: "excluded_skill_example", +// name: "排除条件模板", +// levels: [{ +// level: 1, +// condition: { +// all: [ +// { type: "keyword", keyword: "桃", count: 2 }, +// { not: { type: "skill", skill: "forbidden_skill" } }, +// ], +// }, +// skills: ["reward_skill"], +// text: "有两个【桃】关键词技能且未选择排除技能时获得奖励", +// }], +// }, +// }; + export default tianshuConfig; diff --git a/tianshu/extension.js b/tianshu/extension.js index 8707320..d489498 100644 --- a/tianshu/extension.js +++ b/tianshu/extension.js @@ -1,15 +1,15 @@ import tianshuConfig from "./config.js"; +import bondSkillPack from "./bondSkills.js"; import { lib, game, ui, get, ai, _status } from "../../../noname.js"; export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { - if (!lib.config.extension_术樱包_tianShuOff) return; + if (!lib.config.extension_术樱包_tianShu_Off) return; let tianshu = new Object(); const state = { difficulty: "normal", stageIndex: 0, - selectedSkills: {}, selectedSkillSet: {}, difficultyBossMap: {}, originalBossMap: {}, @@ -20,6 +20,7 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { roundFilterInstalled: false, originalGameCheck: null, checkHookInstalled: false, + bondHooksInstalled: false, corpseChooseCleanup: null, corpseChooseEvent: null, initialBoss: null, @@ -27,6 +28,41 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { running: false, pendingSpawn: false, clearingStage: false, + bondOverviewButton: null, + bondOverviewDialog: null, + }; + + const rewardSkillSource = "shuYing_tianshu_reward"; + const selectedSkillStorage = "shuYing_tianshu_selectedSkills"; + const bondSkillSourcePrefix = "shuYing_tianshu_bond_"; + const bondSyncingPlayers = new WeakSet(); + const bondQueuedPlayers = new WeakSet(); + + // 读取玩家当前仍持有的天书过关选择技能;羁绊只能使用此列表判定。 + const getTianshuRewardSkills = player => { + const skills = player?.additionalSkills?.[rewardSkillSource]; + if (Array.isArray(skills)) return skills.filter(skill => typeof skill == "string" && skill); + return typeof skills == "string" && skills ? [skills] : []; + }; + // 读取天书过关选择历史;技能永久失去后仍保留,用于识别是否需要刷新羁绊。 + const getTianshuRewardSkillHistory = player => { + const skills = player?.storage?.[selectedSkillStorage]; + return Array.isArray(skills) ? skills.filter(skill => typeof skill == "string" && skill) : []; + }; + // 捕获一次过关技能选择,同时登记实际技能来源和不可见的选择历史。 + const captureTianshuRewardSkill = async (player, skill) => { + if (!player || typeof skill != "string" || !skill || !lib.skill[skill]) return false; + if (!getTianshuRewardSkills(player).includes(skill)) { + await player.addAdditionalSkills(rewardSkillSource, skill, true); + } + const history = getTianshuRewardSkillHistory(player); + if (!history.includes(skill)) { + history.push(skill); + player.storage[selectedSkillStorage] = history; + game.broadcast((current, key, value) => current.storage[key] = value, player, selectedSkillStorage, history); + player.syncStorage?.(selectedSkillStorage); + } + return true; }; // 生成玩家的稳定标识,用于跨死亡/复活状态追踪玩家方成员。 @@ -223,9 +259,20 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { // 开局弹出难度选择,并把难度写入运行状态与全局状态。 const chooseDifficulty = async (player = game.me) => { const keys = Object.keys(tianshuConfig.difficulties); - const controls = keys.map(key => tianshuConfig.difficulties[key].name); - const result = await player.chooseControl(controls).set("prompt", "请选择天书乱斗难度").set("ai", () => 0).forResult(); - state.difficulty = keys[Math.max(0, controls.indexOf(result.control))] || "normal"; + const canChoose = player == game.me || player?.isUnderControl?.(); + if (canChoose && typeof shuYing.chooseSingleOptionDialog == "function") { + state.difficulty = await shuYing.chooseSingleOptionDialog({ + title: "请选择天书乱斗难度", + intro: "难度将改变Boss的起始手牌、体力上限与追加技能,本局确定后不可更改。", + defaultKey: "normal", + options: keys.map(key => ({ key, tone: key, ...tianshuConfig.difficulties[key] })), + }) || "normal"; + } + else { + const controls = keys.map(key => tianshuConfig.difficulties[key].name); + const result = await player.chooseControl(controls).set("prompt", "请选择天书乱斗难度").set("ai", () => 0).forResult(); + state.difficulty = keys[Math.max(0, controls.indexOf(result.control))] || "normal"; + } _status[tianshuConfig.settings.difficultyStatusKey] = state.difficulty; }; // 在指定座位创建当前难度的动态 Boss;初始主 Boss 已静默死亡,所以关卡 Boss 全部使用忠臣身份。 @@ -528,11 +575,23 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { } return skills; }; - // 从全武将技能中构建可供指定玩家过关选择的技能池。 + // 检查技能能否进入指定玩家的过关奖励池,并统一处理去重与规则过滤。 + const canAddRewardSkill = (skill, skills, ownCharacterSkills) => { + if (typeof skill != "string" || !skill || skills.includes(skill)) return false; + const banned = tianshuConfig.skillPool.banned || []; + if (banned.includes(skill) || state.selectedSkillSet[skill] || ownCharacterSkills.includes(skill)) return false; + const info = get.info(skill); + if (!info || info.charlotte || info.equipSkill || info.cardSkill || info.ruleSkill || info.temp || info.sub || info.silent) return false; + if (info.unique || info.juexingji || info.limited || info.zhuSkill || info.hiddenSkill || info.dutySkill || info.boss || info.superCharlotte) return false; + return !skill.includes("_boss") && !skill.startsWith("boss_") && !skill.startsWith("_") && !skill.includes("_sub"); + }; + // 每次过关同步合并 config 额外奖励池和当前已加载的全武将技能池。 const getAllSkillPool = player => { const skills = []; - const banned = tianshuConfig.skillPool.banned || []; const ownCharacterSkills = getCharacterCardSkills(player); + for (const skill of tianshuConfig.skillPool.additional || []) { + if (canAddRewardSkill(skill, skills, ownCharacterSkills)) skills.push(skill); + } for (const name in lib.character) { const character = lib.character[name]; if (!character || lib.filter.characterDisabled(name) || name.indexOf("boss_") == 0) continue; @@ -546,12 +605,7 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { else if (Array.isArray(info.derivation)) list.addArray(info.derivation); } for (const skill of list) { - if (skills.includes(skill) || banned.includes(skill) || state.selectedSkillSet[skill] || ownCharacterSkills.includes(skill)) continue; - const info = get.info(skill); - if (!info || info.charlotte || info.equipSkill || info.cardSkill || info.ruleSkill || info.temp || info.sub || info.silent) continue; - if (info.unique || info.juexingji || info.limited || info.zhuSkill || info.hiddenSkill || info.dutySkill || info.boss || info.superCharlotte) continue; - if (skill.includes("_boss") || skill.startsWith("boss_") || skill.startsWith("_") || skill.includes("_sub")) continue; - skills.push(skill); + if (canAddRewardSkill(skill, skills, ownCharacterSkills)) skills.push(skill); } } return skills; @@ -565,47 +619,303 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { if (lib.config.extension_术樱包_giveAiSkill && main && player != main && (underControl || tianshuSingleControl)) chooser = main; return chooser; }; - // 让指定玩家从 UI 中选择一个奖励技能。 - const chooseRewardSkill = async (player, choices) => { + // 读取指定 additionalSkills 来源当前持有的技能。 + const getAdditionalSourceSkills = (player, source) => { + const skills = player?.additionalSkills?.[source]; + if (Array.isArray(skills)) return skills.filter(skill => typeof skill == "string" && skill); + return typeof skills == "string" && skills ? [skills] : []; + }; + // 羁绊只读取玩家当前仍持有的过关选择技能,不读取武将牌或其他来源技能。 + const getBondConditionSkills = player => getTianshuRewardSkills(player); + // 将过关技能按译名归一化;同译名的不同技能 ID 只贡献一次羁绊进度。 + const getUniqueBondSkillNames = skills => Array.from(new Set( + skills.map(skill => lib.translate[skill]).filter(name => typeof name == "string" && name) + )); + // 获取玩家主副将译名,供武将名称关键词条件检索不同前后缀版本。 + const getBondCharacterNames = player => Array.from(new Set( + [player?.name, player?.name1, player?.name2] + .filter(name => typeof name == "string" && name) + .map(name => lib.translate[name] || get.translation(name)) + .filter(name => typeof name == "string" && name) + )); + // 通用羁绊条件解释器,支持关键词、指定技能以及 all/any/not 组合。 + const matchesBondCondition = (player, condition) => { + if (!condition || typeof condition != "object") return false; + if (!condition.type && Array.isArray(condition.all)) return condition.all.every(item => matchesBondCondition(player, item)); + if (!condition.type && Array.isArray(condition.any)) return condition.any.some(item => matchesBondCondition(player, item)); + if (!condition.type && condition.not) return !matchesBondCondition(player, condition.not); + + const owned = getBondConditionSkills(player); + if (condition.type == "keyword") { + if (!condition.keyword) return false; + const marker = `【${condition.keyword}】`; + const matchedNames = new Set(); + owned.forEach(skill => { + const info = typeof get.skillInfoTranslation == "function" ? get.skillInfoTranslation(skill, player) : lib.translate[`${skill}_info`]; + if (String(info || "").includes(marker)) matchedNames.add(lib.translate[skill] || skill); + }); + return matchedNames.size >= Math.max(1, Number(condition.count) || 1); + } + if (condition.type == "skill") return typeof condition.skill == "string" && owned.includes(condition.skill); + if (condition.type == "skillName") { + return typeof condition.name == "string" && owned.some(skill => lib.translate[skill] == condition.name); + } + if (condition.type == "skills") { + const all = Array.isArray(condition.all) ? condition.all : []; + const any = Array.isArray(condition.any) ? condition.any : []; + if (all.length && !all.every(skill => owned.includes(skill))) return false; + if (any.length && !any.some(skill => owned.includes(skill))) return false; + return Boolean(all.length || any.length); + } + if (condition.type == "skillNames") { + const names = new Set(getUniqueBondSkillNames(owned)); + const all = Array.from(new Set(Array.isArray(condition.all) ? condition.all.filter(Boolean) : [])); + const any = Array.from(new Set(Array.isArray(condition.any) ? condition.any.filter(Boolean) : [])); + if (all.length && !all.every(name => names.has(name))) return false; + const matchedAny = any.filter(name => names.has(name)); + const need = Number(condition.count); + if (Number.isFinite(need) && need > 0) { + const matched = new Set(all.filter(name => names.has(name)).concat(matchedAny)); + return matched.size >= Math.max(1, Math.floor(need)); + } + if (any.length && !matchedAny.length) return false; + return Boolean(all.length || any.length); + } + if (condition.type == "characterSkillNames") { + const characters = Array.from(new Set( + (Array.isArray(condition.characters) ? condition.characters : [condition.character]).filter(Boolean) + )); + if (!characters.length || !characters.some(keyword => getBondCharacterNames(player).some(name => name.includes(keyword)))) return false; + const names = new Set(getUniqueBondSkillNames(owned)); + const all = Array.from(new Set(Array.isArray(condition.all) ? condition.all.filter(Boolean) : [])); + const any = Array.from(new Set(Array.isArray(condition.any) ? condition.any.filter(Boolean) : [])); + if (all.length && !all.every(name => names.has(name))) return false; + if (any.length && !any.some(name => names.has(name))) return false; + return Boolean(all.length || any.length); + } + return false; + }; + // 兼容当前关键词配置,同时允许以后直接为等级填写任意 condition。 + const getBondLevelCondition = (bond, level) => { + const source = level?.condition || bond?.condition; + if (source) { + const condition = { ...source }; + if (condition.count == null && level?.count != null) condition.count = level.count; + return condition; + } + if (bond?.keyword) { + return { + type: "keyword", + keyword: bond.keyword, + count: level?.count, + }; + } + return null; + }; + // 只选取条件成立且等级最高的一档,低等级效果不会与高等级叠加。 + const getActiveBondLevel = (player, bond) => { + let active = null; + (bond.levels || []).forEach((level, index) => { + if (!matchesBondCondition(player, getBondLevelCondition(bond, level))) return; + const rank = Number(level.level ?? level.count ?? index + 1) || index + 1; + if (!active || rank > active.rank) active = { config: level, rank }; + }); + return active; + }; + const getBondLevelSkills = level => { + if (Array.isArray(level?.skills)) return level.skills.filter(Boolean); + return level?.skill ? [level.skill] : []; + }; + // 打开当前玩家方羁绊概览;只展示名称、等级和该等级的实际效果。 + const openBondOverview = () => { + state.bondOverviewDialog?.remove(); + const createNode = (tag, className, text, parent) => { + const node = document.createElement(tag); + if (className) node.className = className; + if (text !== undefined && text !== null) node.textContent = text; + parent?.appendChild(node); + return node; + }; + const mask = createNode("div", "shuYing-bond-overview-mask", null, document.body); + const dialog = createNode("section", "shuYing-bond-overview", null, mask); + state.bondOverviewDialog = mask; + dialog.setAttribute("role", "dialog"); + dialog.setAttribute("aria-modal", "true"); + createNode("h2", "shuYing-bond-overview-title", "已激活羁绊", dialog); + const content = createNode("div", "shuYing-bond-overview-content", null, dialog); + let total = 0; + for (const current of getPlayerSidePlayers({ aliveOnly: false, includeVirtual: false })) { + const levels = current.storage?.shuYing_tianshu_bondLevels || {}; + const activeBonds = (tianshuConfig.bonds || []).map(bond => { + const rank = Number(levels[bond.id]) || 0; + const level = (bond.levels || []).find((item, index) => (Number(item.level ?? item.count ?? index + 1) || index + 1) == rank); + return rank && level ? { bond, level, rank } : null; + }).filter(Boolean); + if (!activeBonds.length) continue; + total += activeBonds.length; + const group = createNode("article", "shuYing-bond-overview-player", null, content); + createNode("h3", "shuYing-bond-overview-player-name", get.translation(current), group); + activeBonds.forEach(({ bond, level, rank }) => { + const row = createNode("div", "shuYing-bond-overview-item", null, group); + const head = createNode("div", "shuYing-bond-overview-item-head", null, row); + createNode("span", "shuYing-bond-overview-name", bond.name || "未命名羁绊", head); + createNode("span", "shuYing-bond-overview-level", `第 ${rank} 级`, head); + createNode("div", "shuYing-bond-overview-effect", level.text || "该等级暂未配置效果说明", row); + }); + } + if (!total) createNode("div", "shuYing-bond-overview-empty", "当前玩家方尚未激活羁绊", content); + const close = createNode("button", "shuYing-bond-overview-close", "关闭", dialog); + close.type = "button"; + const finish = () => { + mask.remove(); + if (state.bondOverviewDialog == mask) state.bondOverviewDialog = null; + }; + close.addEventListener("click", finish); + mask.addEventListener("click", event => { + if (event.target == mask) finish(); + }); + close.focus({ preventScroll: true }); + }; + // 创建独立于具体 UI 扩展的羁绊入口按钮。 + const installBondOverviewButton = () => { + state.bondOverviewButton?.remove(); + const button = document.createElement("button"); + button.className = "shuYing-bond-overview-button"; + button.type = "button"; + button.textContent = "羁绊"; + button.title = "查看玩家方当前激活的羁绊效果"; + button.addEventListener("click", openBondOverview); + document.body.appendChild(button); + state.bondOverviewButton = button; + lib.onover.push(() => { + button.remove(); + state.bondOverviewDialog?.remove(); + if (state.bondOverviewButton == button) state.bondOverviewButton = null; + state.bondOverviewDialog = null; + }); + }; + const sameSkillList = (first, second) => first.length == second.length && first.every(skill => second.includes(skill)); + // 将一个羁绊来源精确同步为目标技能,保留武将牌或其他来源持有的同名技能。 + const syncAdditionalSkillSource = (player, source, desiredSkills) => { + const desired = Array.from(new Set(desiredSkills)).filter(skill => { + if (lib.skill[skill]) return true; + console.warn(`[天书羁绊] 未找到奖励技能:${skill}`); + return false; + }); + const current = getAdditionalSourceSkills(player, source); + if (sameSkillList(current, desired)) return false; + + const removable = new Set(player.getRemovableAdditionalSkills(source)); + for (const skill of current.filter(skill => !desired.includes(skill))) { + if (removable.has(skill)) player.removeSkill(skill); + else player.$removeAdditionalSkills(source, skill); + } + for (const skill of desired.filter(skill => !current.includes(skill))) { + if (!player.hasSkill(skill, true, false, false)) player.addSkill(skill, null, true, true); + } + if (desired.length) player.additionalSkills[source] = desired.slice(); + else delete player.additionalSkills[source]; + game.broadcast((current, map) => current.additionalSkills = map, player, player.additionalSkills); + player.checkConflict(); + _status.event?.clearStepCache?.(); + return true; + }; + // 依据当前真实技能所有权重算一名玩家的全部羁绊来源和隐藏等级缓存。 + const refreshTianshuBonds = player => { + if (!state.running || !player || !isCapturedPlayerSide(player) || isVirtualIdol(player) || bondSyncingPlayers.has(player)) return; + bondSyncingPlayers.add(player); + try { + delete player.storage.shuYing_tianshu_keywordBondLevels; + const levelCache = {}; + const activeSources = new Set(); + for (const bond of tianshuConfig.bonds || []) { + if (!bond?.id) continue; + const source = `${bondSkillSourcePrefix}${bond.id}`; + const active = getActiveBondLevel(player, bond); + const skills = active ? getBondLevelSkills(active.config) : []; + activeSources.add(source); + syncAdditionalSkillSource(player, source, skills); + if (active) levelCache[bond.id] = active.rank; + } + for (const source of Object.keys(player.additionalSkills || {})) { + if (source.startsWith(bondSkillSourcePrefix) && !activeSources.has(source)) syncAdditionalSkillSource(player, source, []); + } + if (Object.keys(levelCache).length) player.storage.shuYing_tianshu_bondLevels = levelCache; + else delete player.storage.shuYing_tianshu_bondLevels; + } + finally { + bondSyncingPlayers.delete(player); + } + }; + // 合并同一调用栈内的技能变化,确保 additionalSkills 映射更新完成后再重算。 + const queueTianshuBondRefresh = player => { + if (!state.running || !player || bondSyncingPlayers.has(player) || bondQueuedPlayers.has(player)) return; + bondQueuedPlayers.add(player); + Promise.resolve().then(() => { + bondQueuedPlayers.delete(player); + refreshTianshuBonds(player); + }); + }; + // 兜底监听直接 removeSkill,但只响应曾被捕获的天书过关选择技能。 + const installTianshuBondHooks = () => { + if (state.bondHooksInstalled) return; + state.bondHooksInstalled = true; + const hook = (skill, player) => { + if (getTianshuRewardSkillHistory(player).includes(skill)) queueTianshuBondRefresh(player); + }; + (lib.hooks.removeSkillCheck ||= []).push(hook); + }; + // 从当前奖励池随机生成候选;刷新时优先排除上一组技能。 + const createRewardSkillChoices = (player, excluded = []) => { + const excludedSet = new Set(excluded); + const pool = getAllSkillPool(player).filter(skill => !excludedSet.has(skill)); + const choices = []; + while (choices.length < tianshuConfig.reward.skillChoiceCount && pool.length) { + const choice = pool.randomRemove(); + if (choice) choices.push(choice); + } + return choices; + }; + // 让指定玩家从 UI 中选择一个奖励技能,并返回刷新请求或最终技能。 + const chooseRewardSkill = async (player, choices, canRefresh) => { const chooser = getRewardSkillChooser(player); - const controls = choices.map(skill => get.translation(skill)); - const result = await chooser.chooseControl(controls) - .set("prompt", `${get.translation(player)} 请选择获得一个技能`) - .set("choiceList", choices.map(skill => `
【${get.translation(skill)}】
`)) - .set("displayIndex", false) - .set("ai", () => controls[0]) - .forResult(); - const index = controls.indexOf(result.control); - return choices[index] || null; + const canChoose = chooser == game.me || chooser?.isUnderControl?.(); + if (!canChoose || typeof shuYing.chooseSkillRewardDialog != "function") return choices[0] || null; + const playerName = get.translation(player); + return shuYing.chooseSkillRewardDialog({ + title: `第${state.stageIndex + 1}关 ${playerName}选择技能`, + highlightText: playerName, + choices, + selectedSkills: getBondConditionSkills(player), + bonds: tianshuConfig.bonds || [], + player, + canRefresh, + }); }; // 过关后让每个存活玩家方角色依次选择奖励技能。 const chooseSkillsForStageClear = async () => { for (const player of getPlayerSidePlayers({ aliveOnly: true, includeVirtual: false })) { - const pool = getAllSkillPool(player); - const choices = []; - while (choices.length < tianshuConfig.reward.skillChoiceCount && pool.length) { - const choice = pool.randomRemove(); - if (choice) choices.push(choice); - } + let choices = createRewardSkillChoices(player); if (!choices.length) continue; - const skill = await chooseRewardSkill(player, choices); + let refreshed = false; + let skill = await chooseRewardSkill(player, choices, true); + if (skill?.refresh) { + refreshed = true; + const oldChoices = choices; + const handCards = player.getCards("h"); + const discardCount = Math.ceil(handCards.length / 2); + if (discardCount) await player.discard(handCards.randomGets(discardCount)); + choices = createRewardSkillChoices(player, oldChoices); + if (!choices.length) choices = createRewardSkillChoices(player); + if (!choices.length) continue; + skill = await chooseRewardSkill(player, choices, !refreshed); + } if (!skill || !choices.includes(skill)) continue; - await player.addSkill(skill); - const id = getPlayerKey(player); - state.selectedSkills[id] ??= []; - state.selectedSkills[id].push(skill); + if (!await captureTianshuRewardSkill(player, skill)) continue; state.selectedSkillSet[skill] = true; - player.storage.shuYing_tianshu_selectedSkills = state.selectedSkills[id].slice(); - game.log(player, "获得了技能", `#g【${get.translation(skill)}】`); + refreshTianshuBonds(player); } }; - // 获取 1 号位上家的最终 Boss,用于让 Boss 回合结束后立刻回到 1 号位玩家。 - const getFinalBossBeforeSeatOne = () => { - const firstPlayer = getPlayerSeatOne(); - if (!firstPlayer) return game.boss || null; - const target = firstPlayer.previous || game.boss || null; - return target; - }; // 完成关卡清算:发奖励、选技能、进入下一关或结束游戏。 const clearStage = async () => { if (state.clearingStage) return; @@ -641,17 +951,8 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { const currentTurnPlayer = getParentEvent("phase")?.player || _status.currentPhase; state.stageIndex++; await spawnStage(state.stageIndex); - let nextTurnTarget = null; - if (currentTurnPlayer && isCapturedPlayerSide(currentTurnPlayer)) { - if (isVirtualIdol(currentTurnPlayer)) { - nextTurnTarget = getFinalBossBeforeSeatOne(); - } - else { - const next = currentTurnPlayer.next; - nextTurnTarget = next && !next.isDead() && isCapturedPlayerSide(next) && !isVirtualIdol(next) ? next : getFinalBossBeforeSeatOne(); - } - } - if (nextTurnTarget) finishCurrentPhaseTo(nextTurnTarget); + // 过关后立即结束当前回合,并将新关的首个行动权交给当前角色的实际下家。 + if (currentTurnPlayer?.next) finishCurrentPhaseTo(currentTurnPlayer.next); }; // 处理 Boss 死亡事件:击杀奖励、隐藏尸体、判断是否清关。 const handleBossDie = async event => { @@ -676,6 +977,8 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { installHiddenBossCorpseCheckHook(); spawnVirtualIdol(); capturePlayerSide(); + installTianshuBondHooks(); + installBondOverviewButton(); state.pendingSpawn = true; await chooseDifficulty(player); prepareDifficultyBossCharacters(); @@ -716,6 +1019,8 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { checkPlayerDefeat() { if (this.isPlayerSideDefeated()) game.over(game.me === game.boss); }, + refreshBonds: refreshTianshuBonds, + queueBondRefresh: queueTianshuBondRefresh, getPlayerSeatOne, getVirtualIdolSeat, }; @@ -753,6 +1058,7 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { }, }; tianshu.skill = { + ...bondSkillPack.skill, shuYing_Skill_Tianshu_Go: { mode: ["boss"], @@ -768,6 +1074,25 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { game.addGlobalSkill("shuYing_Tianshu_NewSpawnStage"); game.addGlobalSkill("shuYing_Tianshu_NewBossDie"); game.addGlobalSkill("shuYing_Tianshu_NewPlayerDie"); + game.addGlobalSkill("shuYing_Tianshu_BondManager"); + }, + }, + shuYing_Tianshu_BondManager: { + mode: ["boss"], + trigger: { global: "changeSkillsAfter" }, + forced: true, + silent: true, + popup: false, + charlotte: true, + firstDo: true, + filter(event) { + if (!state.running || !event.player || !isCapturedPlayerSide(event.player) || isVirtualIdol(event.player)) return false; + const removed = Array.isArray(event.removeSkill) ? event.removeSkill : []; + const history = getTianshuRewardSkillHistory(event.player); + return removed.some(skill => history.includes(skill)); + }, + content(event, trigger) { + refreshTianshuBonds(trigger.player); }, }, shuYing_Tianshu_NewNoStartCards: { @@ -831,16 +1156,14 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { }, shuYing_Tianshu_Protection: { mode: ["boss"], - trigger: { player: "damageBefore" }, + trigger: { player: "damageBegin4" }, forced: true, - priority: 100, + priority: -1000, charlotte: true, popup: false, - // 仅玩家方/虚拟偶像可触发一次性保护。 filter(event, player) { - return Boolean(player && player.isIn() && !isCurrentStageBoss(player) && (isCapturedPlayerSide(player) || isVirtualIdol(player))); + return Boolean(event.num > 0 && player && player.isIn() && !isCurrentStageBoss(player) && (isCapturedPlayerSide(player) || isVirtualIdol(player))); }, - // 防止本次伤害并移除保护技能。 async content(event, trigger, player) { trigger.cancel(); player.removeSkill("shuYing_Tianshu_Protection"); @@ -867,6 +1190,7 @@ export default function initTianshu(lib, game, ui, get, ai, _status, shuYing) { shuYing_Skill_Tianshu_intro5_info: "共四关。击杀Boss获得奖励;过关后玩家方回复、摸牌并选择技能。", shuYing_Tianshu_Protection: "保护", shuYing_Tianshu_Protection_info: "锁定技。防止你受到的一次伤害,然后移除此技能。", + shuYing_Tianshu_BondManager: "天书羁绊", }; tianshu.perfectPair = {}; tianshu.characterTitle = {}; diff --git a/tools/generate_manifest.py b/tools/generate_manifest.py new file mode 100644 index 0000000..32cc669 --- /dev/null +++ b/tools/generate_manifest.py @@ -0,0 +1,204 @@ +from __future__ import annotations + +import argparse +import hashlib +import json +from datetime import datetime, timezone +from pathlib import Path + + +EXCLUDE_DIRS = {".git", ".update_tmp", "dist", "tools", "__pycache__"} +EXCLUDE_FILES = {".gitignore", "log.txt"} + + +def sha256_file(path: Path) -> str: + digest = hashlib.sha256() + with path.open("rb") as file: + for chunk in iter(lambda: file.read(1024 * 1024), b""): + digest.update(chunk) + return digest.hexdigest() + + +def should_include(path: Path, root: Path) -> bool: + relative = path.relative_to(root) + return ( + path.is_file() + and relative.name not in EXCLUDE_FILES + and not any(part in EXCLUDE_DIRS for part in relative.parts) + ) + + +def scan_files(root: Path) -> list[Path]: + return sorted( + (path for path in root.rglob("*") if should_include(path, root)), + key=lambda path: str(path.relative_to(root)).replace("\\", "/"), + ) + + +def normalize_path(path: str) -> str: + return path.replace("\\", "/").strip("/") + + +def validate_relative_paths(paths: list[str], label: str) -> None: + unsafe = [ + path for path in paths + if not path + or any(part in {"", ".", ".."} for part in path.split("/")) + or any(":" in part for part in path.split("/")) + ] + if unsafe: + raise ValueError(f"{label} contains unsafe paths: {', '.join(unsafe)}") + + +def load_config(root: Path, config_path: str) -> dict: + path = Path(config_path) + if not path.is_absolute(): + path = root / path + + if not path.exists(): + return { + "core": [], + "remove": [], + "removeDirectories": [], + } + + with path.open("r", encoding="utf-8") as file: + config = json.load(file) + + return { + "core": [normalize_path(item) for item in config.get("core", [])], + "remove": [normalize_path(item) for item in config.get("remove", [])], + "removeDirectories": [normalize_path(item) for item in config.get("removeDirectories", [])], + } + + +def preserve_removals(config: dict, output: Path) -> dict: + """合并现有清单中的删除项,避免重新生成时覆盖人工维护的内容。""" + if not output.is_file(): + return config + + with output.open("r", encoding="utf-8") as file: + previous = json.load(file) + + for key in ("remove", "removeDirectories"): + existing = [normalize_path(item) for item in previous.get(key, [])] + config[key] = list(dict.fromkeys([*existing, *config[key]])) + + return config + + +def validate_config_files(root: Path, files: list[str], label: str) -> None: + missing = [file for file in files if not (root / file).is_file()] + if missing: + raise FileNotFoundError(f"{label} contains missing files: {', '.join(missing)}") + + +def set_nested_file(tree: dict, relative_path: str, info: dict) -> None: + parts = relative_path.split("/") + node = tree + + for folder in parts[:-1]: + node = node.setdefault(folder, { + "type": "directory", + "children": {}, + })["children"] + + node[parts[-1]] = { + "type": "file", + **info, + } + + +def build_manifest(root: Path, version: str, config: dict) -> dict: + flat_files = {} + tree = { + "type": "directory", + "name": root.name, + "children": {}, + } + core_files = config["core"] + core_file_set = set(core_files) + remove_files = config["remove"] + remove_directories = config["removeDirectories"] + validate_config_files(root, core_files, "core") + validate_relative_paths(remove_files, "remove") + validate_relative_paths(remove_directories, "removeDirectories") + + for path in scan_files(root): + relative_path = str(path.relative_to(root)).replace("\\", "/") + info = { + "size": path.stat().st_size, + "sha256": sha256_file(path), + } + + flat_files[relative_path] = info + set_nested_file(tree["children"], relative_path, info) + + remove_file_conflicts = [file for file in remove_files if file in flat_files] + if remove_file_conflicts: + raise ValueError(f"remove still contains current files: {', '.join(remove_file_conflicts)}") + + remove_directory_conflicts = [ + directory for directory in remove_directories + if any(file == directory or file.startswith(f"{directory}/") for file in flat_files) + ] + if remove_directory_conflicts: + raise ValueError( + "removeDirectories still contain current files: " + + ", ".join(remove_directory_conflicts) + ) + + folder_digest = hashlib.sha256() + for relative_path in sorted(flat_files): + info = flat_files[relative_path] + folder_digest.update(relative_path.encode("utf-8")) + folder_digest.update(str(info["size"]).encode("ascii")) + folder_digest.update(info["sha256"].encode("ascii")) + + return { + "version": version, + "generated_at": datetime.now(timezone.utc).isoformat(), + "algorithm": "sha256", + "file_count": len(flat_files), + "folder_sha256": folder_digest.hexdigest(), + "core": core_files, + "assets": [file for file in sorted(flat_files) if file not in core_file_set], + "remove": remove_files, + "removeDirectories": remove_directories, + "files": flat_files, + "tree": tree, + } + + +def main() -> None: + parser = argparse.ArgumentParser(description="Generate shuying manifest.json") + parser.add_argument("--root", default=".", help="extension root") + parser.add_argument("--version", help="version, for example 2.0.0.4") + parser.add_argument("--out", default="dist/manifest.json", help="output json path") + parser.add_argument("--config", default="tools/manifest_config.json", help="manifest config path") + args = parser.parse_args() + + root = Path(args.root).resolve() + version = args.version or input("Input version, for example 2.0.0.4: ").strip() + + if not version: + raise ValueError("Version cannot be empty") + + output = (root / args.out).resolve() + config = preserve_removals(load_config(root, args.config), output) + manifest = build_manifest(root, version, config) + output.parent.mkdir(parents=True, exist_ok=True) + output.write_text(json.dumps(manifest, ensure_ascii=False, indent=2), encoding="utf-8") + + print(f"version: {version}") + print(f"file_count: {manifest['file_count']}") + print(f"core_count: {len(manifest['core'])}") + print(f"asset_count: {len(manifest['assets'])}") + print(f"remove_count: {len(manifest['remove'])}") + print(f"remove_directory_count: {len(manifest['removeDirectories'])}") + print(f"folder_sha256: {manifest['folder_sha256']}") + print(f"generated: {output}") + + +if __name__ == "__main__": + main() diff --git a/tools/manifest_config.json b/tools/manifest_config.json new file mode 100644 index 0000000..02fac48 --- /dev/null +++ b/tools/manifest_config.json @@ -0,0 +1,21 @@ +{ + "core": [ + "extension.js", + "menu.js", + "function.js", + "update.js", + "mengsan/mode.js", + "mengsan/config.js", + "mengsan/state.js", + "mengsan/style.css", + "tianshu/extension.js", + "tianshu/config.js", + "pve/boss/index.js", + "pve/boss/character.js", + "pve/boss/skill.js", + "pve/boss/dynamicTranslate.js", + "pve/boss/translate.js" + ], + "remove": [], + "removeDirectories": [] +} diff --git a/update.txt b/update.txt index f3130b1..5539d75 100644 --- a/update.txt +++ b/update.txt @@ -1,3 +1,24 @@ +"-----< 2.0.1.0 改动 >-----", +"重构PVE武将包目录,按照不同活动BOSS进行独立分包和统一加载", +"新增独立PVP武将包结构,并加入术樱左慈及其技能、图片和配音资源", +"天书乱斗新增动态难度BOSS,不同难度将使用准确的体力上限和追加技能", +"天书乱斗新增羁绊系统,根据玩家过关选择的技能激活并替换不同等级效果", +"羁绊条件支持技能ID、技能译名、描述关键词以及武将名称关键词组合", +"新增羁绊谱册和局内已激活羁绊查看功能", +"重铸过关技能选择界面,新增六个技能选项、确认按钮和单次刷新功能", +"新增可配置的额外技能奖励池,过关时与武将技能池同步检索", +"新增天书过关技能选择记录,羁绊仅统计玩家通过过关奖励取得且当前仍持有的技能", +"统一活动BOSS武将包入口,并补充十二生肖、青青子衿和捉鬼驱邪相关内容及配音资源", +"自定义界面现已兼容十周年UI、原生UI以及移动端显示", +"-----< 2.0.1.0 修复 >-----", +"修复天书动态BOSS体力、技能、武将复制和玩家变身识别异常的问题", +"修复天书武将包被普通武将列表识别或无法被挑战模式加载的问题", +"修复PVE分包后技能台词无法正确识别的问题", +"修复羁绊中多个同译名技能会被重复计算的问题", +"修复羁绊谱册和局内羁绊列表在部分分辨率下重叠或标题越界的问题", +"修复过关后行动顺序异常,当前角色回合结束后将行动权交给其下家", +"调整天书开局保护的伤害结算顺序,优先结算其他免伤和减伤效果", +"修复生成更新清单时会覆盖原有remove和removeDirectories内容的问题", "-----< 2.0.0.9 改动 >-----", "新增可以自定义虚拟偶像随机助战池功能", "现在过关奖励提供的技能池会过滤武将牌上的技能", @@ -16,4 +37,4 @@ "修复当过关奖励执行完毕轮数和下轮角色异常的BUG", "修复了一个BUG,该BUG会导致进入下关时BOSS的初始牌会被技能检索", "修复黄蜂技能【冥虫】无法正常发动的BUG", -"修正司马懿AI向其友方发动【反馈】【狼顾】的问题", \ No newline at end of file +"修正司马懿AI向其友方发动【反馈】【狼顾】的问题",