Commit Graph

3196 Commits

Author SHA1 Message Date
shijian d6941b3774 修复async content中事件不使用await会报错的问题 2023-12-18 00:29:57 +08:00
shijian 7cade08dd9 ui.create.buttons使用DocumentFragment避免多次重渲染,一系列涉及position的函数支持传入DocumentFragment元素 2023-12-17 22:16:36 +08:00
shijian 310ad8506b 实现异步事件的debugger方法 2023-12-17 20:13:47 +08:00
shijian 8c8f8950f8 修正game.promises.prompt的类型提示 2023-12-15 09:25:47 +08:00
shijian 44e935a5ff 修复game.promises.prompt的bug 2023-12-15 09:12:57 +08:00
shijian 107602c94e 取消低版本兼容代码 2023-12-15 09:03:13 +08:00
shijian 5e06b3a615 修正异步事件的代理对象 2023-12-15 09:00:21 +08:00
mengxinzxz 27168bfc5f 新增函数chooseToGive(by kuangshen04),便于直接执行A选择把牌交给B的效果 2023-12-14 19:03:58 +08:00
mengxinzxz 6f7f765d1b 添加character[4]的tempname机制 2023-12-14 18:36:35 +08:00
mengxinzxz 71f0270a1f 回滚重造 2023-12-14 18:14:42 +08:00
mengxinzxz dd0dcc1fab small bugfix 2023-12-14 15:07:51 +08:00
mengxinzxz 5f341f10e0 small bugfix 2023-12-14 15:00:57 +08:00
mengxinzxz 3aa62f025a 添加character[4]的'tempname:'参数,便于直接给一个武将使用另一个id的武将的audioname和audioname2 2023-12-14 14:59:43 +08:00
Spmario233 e9e5b74dd0
Merge pull request #710 from mengxinzxz/PR-Branch
新服/OL新将+bugfix+函数优化
2023-12-13 20:58:30 +08:00
Spmario233 6c2946e9bb
Merge pull request #717 from lieren2023/lieren2023-patch-4
修复合并坐骑栏开关失效的bug
2023-12-13 20:57:55 +08:00
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
Ansolve 36b46f6371
fix(game): determine adding `event.step` when `event.step` is a number. 2023-11-16 18:21:02 +08:00
Ansolve c6c077b011
docs(lib): add `lib.announce` docs. 2023-11-16 18:15:54 +08:00
Rintim 933a91f9d0
feat: genContent may throw the step-like info. 2023-11-16 17:51:22 +08:00
kuangshen04 9f2edb1acc 变量名ybtype=>typeinfo 2023-11-16 09:59:26 +08:00
kuangshen04 c2777b48da 增加cardintro的显示信息(夜白原版提交 2023-11-16 09:53:40 +08:00
copcap 15d057d6f9
庞山民、乐蔡邕、曹轶;新增临时禁用技能相关方法 2023-11-16 07:01:47 +08:00
Rintim a41ccbdc1a
refactor: modify `lib.announce` to class instance. 2023-11-15 22:43:18 +08:00
Rintim 72e6f7e076
feat: add method to get core info. 2023-11-15 22:22:23 +08:00
kuangshen04 7045740450 parseSkillAudio正则小修 2023-11-14 16:53:26 +08:00
kuangshen04 943c0a3b7c tempSkills参数归一化 2023-11-14 16:50:26 +08:00
nonameShijian bf48a05fb7
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-11-14 14:58:53 +08:00
shijian acf978b8e8 修复网页版导出扩展弹窗的问题,修复状态栏设置失效的bug 2023-11-14 14:26:29 +08:00
Spmario233 34bb27e52e
Merge pull request #629 from copcap/dev-ddd
3D8新将+改将
2023-11-13 19:06:33 +08:00
copcap 3561597593
为moveCard和canMoveCard添加更多参数,用于部分移动场上的牌 2023-11-12 16:15:42 +08:00
Spmario233 b2debe610f
Merge pull request #620 from kuangshen04/PR-Branch
将无继承关系的hasOwnProperty改为in
2023-11-11 23:40:33 +08:00
Spmario233 704962ef28
Merge pull request #622 from copcap/dev-pic
bugfix;原画补充
2023-11-11 23:39:10 +08:00
copcap 5980622620
bugfix 2023-11-09 00:40:08 +08:00
Spmario233 f454e54a7d
Merge pull request #587 from nonameShijian/PR-Branch
联机模式(应用外)邀请功能, player.when和lib.init.parsex增加传递作用域的功能
2023-11-09 00:02:50 +08:00
kuangthree 7b0978d152 对GameEvent.insertAfter的参数做空值判断 2023-11-08 22:30:19 +08:00
shijian f12e3c1b6f player.when和lib.init.parsex增加传递作用域的功能 2023-11-08 09:02:22 +08:00
nonameShijian d2e04ff8a7
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-11-08 08:02:45 +08:00
kuangshen04 4aae8e4e4e 将无继承关系的hasOwnProperty改为in 2023-11-07 23:21:40 +08:00
Spmario233 020be275ed revert the return value of setBackground 2023-11-07 23:19:58 +08:00
copcap 468d29b298
自动用OL默认武将剪影代替无原画武将原画 2023-11-07 20:39:37 +08:00
Spmario233 8e23927898
Merge pull request #612 from universe-st/PR-Branch-ph
新增lib.handler,直接为事件名添加handler机制
2023-11-07 19:55:34 +08:00
Spmario233 5cd230c7d7
Merge pull request #614 from copcap/dev-chara
孙瑜;成济成倅;小程序刘伶;bug修复
2023-11-07 19:55:15 +08:00
copcap 04f9e2f132
成济成倅 2023-11-07 06:33:38 +08:00
kuangshen04 5da8b8c2dd nobracket与其他标签冲突修复 2023-11-07 02:49:17 +08:00
kuangshen04 8cddd98a5c fix some other bugs with eslint 2023-11-07 02:07:27 +08:00
kuangshen04 a4178cb2b9 fix some bugs with eslint 2023-11-06 23:22:32 +08:00
kuangshen04 8969a43b18 fix removeTrigger's duplication in Player 2023-11-06 23:04:30 +08:00
nonameShijian 87906bbffb
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-11-06 08:08:55 +08:00
copcap 54b7209c2a
调整“共同拼点”的log信息顺序 2023-11-06 01:26:41 +08:00
copcap 85c9db60ac
海外服新将调整&bug修复 2023-11-05 23:49:49 +08:00
kuangthree e066cfcaed 新增lib.handler,直接为事件名添加handler机制 2023-11-04 13:25:23 +08:00