Commit Graph

3131 Commits

Author SHA1 Message Date
shijian 2c5593c901 修正类型提示 2023-12-13 09:00:34 +08:00
shijian f08becf03a event全面修改为promise,包括event.next和event.after的元素。 2023-12-13 08:59:31 +08:00
shijian fa04881b21 game.createEvent的返回值改为promise形式的事件,但_status.event或其next,after的值未变。且对event.next.remove进行兼容 2023-12-13 01:16:15 +08:00
shijian 45bf4aa20f 去除编辑或引用技能代码时出现的_priority属性 2023-12-09 20:54:28 +08:00
shijian f23532bcef 增加get#stringify对多种函数写法的解析支持 2023-12-09 20:09:49 +08:00
shijian 244c541aa6 针对game.delay添加game.asyncDelay和game.asyncDelayx函数 2023-12-09 13:39:52 +08:00
mengxinzxz 3ae6612119 添加新杀谋prefix 2023-12-08 23:39:13 +08:00
lieren2023 5584979234
Merge branch 'libccy:master' into lieren2023-patch-4 2023-12-08 14:28:00 +08:00
mengxinzxz 74d6f26807 OL谋prefix前缀添加 2023-12-07 23:43:44 +08:00
mengxinzxz 197a19c9e7 OL谋姜维,添加OL专属武将分包,解禁OL界凌统界简雍界曹彰 2023-12-07 23:39:39 +08:00
Spmario233 909d62982e
Merge pull request #714 from nonameShijian/PR-Branch
增加异步content以及GameEvent#toPromise,郭嘉和二张作为测试
2023-12-07 23:03:06 +08:00
shijian 8a13261400 修复一处bug 2023-12-07 14:43:19 +08:00
shijian f09a898ac9 修改部分注释 2023-12-07 14:12:23 +08:00
shijian 4edcc6f0c5 添加部分注释,修复toPromise立即执行所导致的问题 2023-12-07 14:01:52 +08:00
mengxinzxz 7225dcc149 canCompare添加参数,在player/target没牌时仍视为满足条件 2023-12-07 09:08:32 +08:00
Spmario233 c5cfe7b749
Merge branch 'PR-Branch' into assetfix 2023-12-06 23:00:39 +08:00
Spmario233 baa653eb29 Update asset.js 2023-12-06 22:57:28 +08:00
shijian afbbc3cb32 删除部分无用代码 2023-12-06 22:56:09 +08:00
shijian 096e7bd964 增加异步content以及GameEvent#toPromise,郭嘉和二张作为测试 2023-12-06 19:40:10 +08:00
lieren2023 bc9c2dbd10
修复合并坐骑栏开关失效的bug 2023-12-05 14:31:14 +08:00
Spmario233 f3efb6af89 Update asset.js 2023-12-04 20:56:14 +08:00
Spmario233 05ad271d49 Update asset.js 2023-12-04 20:54:47 +08:00
Spmario233 97d328e0d6 1.10.5 metadata 2023-12-04 18:49:50 +08:00
shijian 7f89db7fb3 修改函数名称 2023-12-04 09:29:19 +08:00
shijian 1404d4666b 为其他自定义平台提供文件读写函数赋值的一种方式 2023-12-04 09:24:30 +08:00
shijian 119f28cade game#prompt和game#alert进行promise化。文件读写函数不需要考虑平台问题 2023-12-04 09:24:29 +08:00
kuangshen04 b00b6a6eda bugfix 2023-12-03 11:29:01 +08:00
Spmario233 5c9ed998b2
Merge pull request #693 from mengxinzxz/PR-Branch
新武将+欢乐成双【飞扬】+bugfix
2023-12-02 22:48:12 +08:00
Spmario233 04439d6476
Merge pull request #694 from kuangshen04/PR-Branch
苏婆:你好
2023-12-02 22:46:43 +08:00
mengxinzxz df70ec723e 添加欢乐成双四号位添加【飞扬】技能的开关 2023-12-02 10:17:41 +08:00
Spmario233 290cf2ff7f
Merge pull request #692 from nonameShijian/PR-Branch
Array#remove支持移除NaN元素
2023-12-01 23:17:20 +08:00
Spmario233 5f8447aa22
Merge pull request #690 from copcap/dev-chara
诸葛若雪;吴班调整;配音补充
2023-12-01 23:17:00 +08:00
kuangshen04 aaa5bb65e7 tempname实装 2023-12-01 23:06:06 +08:00
copcap 7002d94988
minor fix 2023-12-01 20:22:36 +08:00
copcap ae113b46d1
修复封装VCard类后部分使用非自己牌的技能的问题 2023-12-01 20:00:34 +08:00
kuangshen04 5721958458 bugfix 2023-12-01 17:17:17 +08:00
copcap c57dd29bf8
minor fix 2023-12-01 15:19:10 +08:00
copcap 571c9c70ba
bugfix 2023-12-01 14:06:49 +08:00
shijian f56ab9d857 Array#remove支持移除NaN元素 2023-12-01 09:17:15 +08:00
copcap 0bc185e202
修复联机模式下客机不能播放`xxx_backup`临时技能对应的语音的陈年老bug 2023-12-01 07:02:43 +08:00
copcap 1c9ba7a203
删除调试用的debugger 2023-12-01 06:44:11 +08:00
copcap 55aefd9c3f
调整部分技能结构 2023-12-01 06:41:08 +08:00
copcap 8d89193741
再改moveCard 2023-11-30 23:52:16 +08:00
Spmario233 bd903c9d14
Merge pull request #688 from nofficalfs/Dev-Feat-StorePremitRequest
Add Confirm to quest store permission.
2023-11-30 21:39:41 +08:00
Rintim 13b62c570c
feat: add premit request. 2023-11-30 20:12:57 +08:00
kuangshen04 5a35c57878 cnNumber扩展 2023-11-30 19:41:21 +08:00
kuangshen04 1d646c495d 实现技能语音人名和技能发动人名不一致(萌新要的左慈 2023-11-30 19:39:35 +08:00
kuangshen04 feb150bc3f trigger大改(危) 2023-11-30 19:36:53 +08:00
mengxinzxz ac7adea4b5 简化“此模式下不可用”技能修改写法并保留被清除技能的配音三参数 2023-11-29 12:50:22 +08:00
mengxinzxz 169e0e84b0 修改技能翻译可以获取模式下的分模式 2023-11-29 12:04:26 +08:00
kuangthree 0c4645acc2 新增函数,可以在某扩展加载后调用一段方法 2023-11-28 22:57:28 +08:00
Rintim 0f27b1d567
feat: add some extension-handle methods. 2023-11-27 20:51:52 +08:00
Ansolve dd74345242
refactor: use dependency inject. 2023-11-27 19:27:55 +08:00
Rintim e050c8b166
feat: provide announce time for theme change. 2023-11-27 19:16:35 +08:00
Rintim 98f180b330
pref: choose rxjs-like style to write `lib.announce`. 2023-11-27 19:15:32 +08:00
copcap 251befbe4d
minor fix 2023-11-25 07:58:53 +08:00
copcap ed17ce1fd0
为`canMoveCard`/`moveCard`增加可替换装备的参数;令`get.type`能识别`sha_`开头的卡牌名称 2023-11-25 06:16:45 +08:00
Spmario233 eb5dbf3d3a
Merge pull request #671 from MDYY1/PR-Branch
bugfix
2023-11-24 22:40:46 +08:00
MDYY1 fef30f424c bugfix 2023-11-24 19:32:29 +08:00
PZ157 11cdf9c601 修复addExtraTarget的ai问题 2023-11-24 17:17:49 +08:00
Spmario233 e05c9d2753
Merge pull request #668 from PZ157/PR-Branch
函数修改、ai优化
2023-11-24 00:32:15 +08:00
shijian a0bf1cfdee 部分代码写法优化 2023-11-23 23:16:14 +08:00
shijian 7e56e00ae2 添加显示不可枚举的属性 2023-11-23 22:54:05 +08:00
shijian d1cec2aa35 优化游戏内控制台数组类型的显示内容 2023-11-23 22:42:52 +08:00
shijian 06f1424496 优化游戏内控制台显示内容 2023-11-23 22:18:52 +08:00
shijian d8b333a995 游戏读写函数promise化:game.promises 2023-11-23 15:02:34 +08:00
shijian a146f461f0 游戏内控制台作用域优化 2023-11-23 14:33:46 +08:00
shijian 8acd060ff7 修复getAttackRange的错误 2023-11-23 13:44:50 +08:00
PZ157 3b763569ec 函数修改
filter: 数字则加减等量“手牌”再计算;
         函数则剔除不符合条件的手牌计算
add: 卡牌或牌组,类似数字
2023-11-23 11:48:31 +08:00
Spmario233 c5dd53b389
Merge pull request #660 from mengxinzxz/PR-Branch
技能效果调整+small bugfix
2023-11-22 22:58:43 +08:00
Spmario233 2f5c2320cb
Merge pull request #659 from nofficalfs/Dev-GoLikeChannel
Add `lib.channel` to give a method of message receiving.
2023-11-22 22:57:14 +08:00
Spmario233 94a339229b
Merge pull request #661 from PZ157/PR-Branch
bugfix
2023-11-22 22:56:43 +08:00
mengxinzxz 1c8c841bdd olxuanfeng的audioname2修正,添加OL界的prefix前缀 2023-11-22 10:41:13 +08:00
shijian de9d5755ec 低版本webview添加提示 2023-11-22 08:07:28 +08:00
PZ157 b52bac5f47 bugfix 2023-11-21 22:37:00 +08:00
Ansolve 1362ab457d
docs(lib): add docs for `lib.channel`. 2023-11-20 00:05:01 +08:00
Spmario233 647e6b289b
Merge pull request #658 from Tipx-L/PR-Branch
The Multiplayer Update: Part 2.
2023-11-19 23:33:02 +08:00
Spmario233 475518d7f9
Merge pull request #656 from copcap/dev-fixreflog
修复被回滚的一些内容
2023-11-19 23:32:06 +08:00
Rintim 28cc47d535
feat(lib): just add `lib.channel` which emulating channel of golang. 2023-11-19 23:25:23 +08:00
Tipx-L 8f436cdf0f Update `core-js-bundle`. 2023-11-19 01:34:41 -08:00
Tipx-L ee98aec7f9 Fix `get.modetrans`. 2023-11-19 01:25:30 -08:00
mengxinzxz 7429d47e0e 添加removeSkillLog机制,用于失去技能的播报 2023-11-19 09:24:55 +08:00
copcap e5e57f59ee
修复被回滚的内容 2023-11-19 06:30:19 +08:00
Tipx-L bd874da842 Truly support multiplayer with any capacity. 2023-11-18 06:36:09 -08:00
Tipx-L c42c184d28 Make `core-js` always available. 2023-11-18 06:36:09 -08:00
Spmario233 2b2e8885dc
Merge pull request #652 from nofficalfs/PR-PlayerPositionVituralCssImrpove
Transform `lib.init.sheet` to `game.dynamicStyle`
2023-11-18 22:16:15 +08:00
Spmario233 4279ad3b0e
Merge pull request #651 from nofficalfs/Dev-GlobalHandlerMove
Move `lib.handler` to fit position and fix its bugs.
2023-11-18 22:15:47 +08:00
Spmario233 d7e58fd410
Merge pull request #653 from copcap/dev-chara
新杀蒯祺
2023-11-18 22:15:36 +08:00
Rintim 01ca1438ae
pref(ui): trans sheet to `game.dynamicStyle`. 2023-11-18 01:51:18 +08:00
copcap c840f157f9
蒯祺 2023-11-18 01:51:07 +08:00
Rintim 899d0ceca7
pref(game): move `lib.handler` to `game.globalEventHandlers` and fix bugs. 2023-11-18 00:04:56 +08:00
Spmario233 f56a1c2b78
Merge pull request #647 from nofficalfs/PR-InitJsPromise
Add Promise-Async Methods for parts of `lib.init`
2023-11-17 22:42:05 +08:00
Spmario233 76b29d2e7f
Merge pull request #649 from mengxinzxz/PR-Branch
OL费祎
2023-11-17 22:39:46 +08:00
Spmario233 cda375f039
Merge pull request #648 from copcap/dev-chara
庞山民、乐蔡邕、曹轶;孙綝同步修改;增加部分武将原画
2023-11-17 22:39:36 +08:00
mengxinzxz 5865782281 添加特殊装备栏的废除卡牌 2023-11-17 21:40:14 +08:00
Ansolve b716d2e6ba
fix(docs:lib/init): copied `lib.init.json` error. 2023-11-16 22:40:50 +08:00
Spmario233 a35c02919d
Merge pull request #632 from nonameShijian/PR-Branch
修复网页版导出扩展弹窗的问题,修复状态栏设置失效的bug
2023-11-16 22:31:26 +08:00
Spmario233 9f45f1724a
Merge pull request #640 from nofficalfs/Dev-NewVersionPrepare
Preparation for new version.
2023-11-16 22:30:40 +08:00
Ansolve f09377e5a5
docs(lib/init): add docs for `lib.init.promises`. 2023-11-16 22:30:06 +08:00
Rintim 595ceb0168
feat(lib/init): add promise-returned methods of origin async methods 2023-11-16 22:15:09 +08:00