Commit Graph

284 Commits

Author SHA1 Message Date
Spmario233 1627809546 arrangeTrigger async化 2024-01-19 00:50:39 +08:00
nonameShijian 2deb535d23 去掉一个log 2024-01-19 00:40:17 +08:00
nonameShijian cd0b818cb8 修复技能报错不提示技能代码的bug 2024-01-19 00:37:31 +08:00
Spmario233 842835c521
Merge pull request #810 from nonameShijian/PR-Branch
背景音乐在不可播放时不调用play()
2024-01-18 23:31:24 +08:00
Spmario233 d644ebef21
Merge pull request #809 from kuangshen04/PR-Branch
修复联机模式没有技能语音的bug
2024-01-18 23:31:12 +08:00
nonameShijian 8047ca191c 背景音乐在不可播放时不调用play() 2024-01-18 23:23:57 +08:00
kuangshen04 6f2d0e7838 优化playAudio,之后onerror不会addVideo,以防止可能的内存泄漏 2024-01-18 23:05:40 +08:00
kuangshen04 e05e689556 修复infoFuncOL转译func语法错误的bug 2024-01-18 23:00:21 +08:00
Spmario233 80cd06f754 修复蓄谋牌在游戏记录中可见的Bug 2024-01-18 22:38:18 +08:00
Rintim 5aad83b007
fix: error handle. 2024-01-18 11:47:45 +08:00
Spmario233 0f8797e8ee fix GameEvent#untrigger 2024-01-17 22:56:20 +08:00
Spmario233 c2f859eeb1
Merge pull request #802 from nonameShijian/PR-Branch
标准包武将添加技能代码提示
2024-01-17 19:58:26 +08:00
copcap 20734cb2b4
small fix 2024-01-17 19:48:07 +08:00
copcap fd2195e1a6
江山如故·合 2024-01-17 19:39:12 +08:00
nonameShijian 997a5f070e 标准包武将添加技能代码提示 2024-01-17 00:36:15 +08:00
Spmario233 4bb713528a
Merge pull request #797 from universe-st/PR-Branch
修复技能优先级逻辑错误问题
2024-01-15 20:56:41 +08:00
Spmario233 8fc1c994ab
Merge pull request #796 from nofficalfs/Dev-Fix-Noname
Extension loading not about error.
2024-01-15 20:56:32 +08:00
kuangthree e8b60084e5 修复技能优先级逻辑错误问题 2024-01-15 20:53:12 +08:00
Rintim e63706f682
fix: ext loading error second. 2024-01-15 17:22:54 +08:00
Ansolve 147547c609
revert: all about contents. 2024-01-15 16:45:01 +08:00
Ansolve 520890762f
fix: loading extension cannot give error. 2024-01-15 16:43:28 +08:00
Ansolve cd2139edb1
fix: remove unnecessary semicolon. 2024-01-15 14:52:27 +08:00
Spmario233 7c6a5f2a64
Merge pull request #792 from Curpond/PR-Branch
增加自由选将时,自由搜索的功能
2024-01-15 14:46:52 +08:00
Ansolve 8b80deb3b3
fix: vcard without args. 2024-01-15 14:29:33 +08:00
Ansolve 2190dfe083
fix: get copy. 2024-01-15 14:27:59 +08:00
Ansolve 514751d371
fix: ext loaded failed. 2024-01-15 14:27:34 +08:00
Ansolve 826391ebba
fix: cannot edit the character. 2024-01-15 13:33:53 +08:00
kuangthree 2a978638ce 修复关羽武圣牌视为无花色BUG 2024-01-14 22:31:29 +08:00
Curpond b8d8deb5cf 增加自由选将时,自由搜索的功能 2024-01-14 21:40:53 +08:00
157 35d166a4e1 修复统率无法选将的严重bug 2024-01-14 12:39:19 +08:00
Spmario233 2c5cd401a4 蓄谋机制更新 2024-01-13 11:10:41 +08:00
Spmario233 7369c6af78
Merge pull request #780 from nofficalfs/Dev-Enhancement-Noname
fix: rebase error.
2024-01-13 10:39:55 +08:00
Spmario233 d9d84b1495
Merge pull request #781 from mengxinzxz/PR-Branch
OL曹宇,phase针对翻面机制的history判定添加
2024-01-13 10:37:56 +08:00
Spmario233 c910a69212 言笑牌 图标更新 2024-01-13 01:41:34 +08:00
mengxinzxz 509be4489f phase针对翻面的history添加Skipped参数 2024-01-13 01:03:28 +08:00
Ansolve 5fd647e297
docs: fix some question. 2024-01-13 00:59:06 +08:00
Ansolve 93d1654a16
fix: umm. 2024-01-13 00:57:30 +08:00
Ansolve 3b8eef257e
fix: rebase error. 2024-01-13 00:53:54 +08:00
Spmario233 79be76e569 “蓄谋”牌,判定区机制修改 2024-01-13 00:41:41 +08:00
Ansolve 2854e28d78
refactor: um. 2024-01-12 20:58:39 +08:00
Ansolve 0c50475296
docs: mutex. 2024-01-12 20:57:00 +08:00
Rintim b552dbfd01
pref: on error. 2024-01-12 20:51:19 +08:00
Ansolve b11c1972d8
Merge branch 'PR-Branch' into Dev-Enhancement-Noname 2024-01-12 20:30:33 +08:00
Spmario233 8931d4c357 修复get.itemtype判断按钮类型 2024-01-12 12:43:15 +08:00
Spmario233 ff10e6442e
Merge pull request #777 from copcap/dev
bugfix
2024-01-12 12:38:03 +08:00
Spmario233 bce8b75b05
Merge pull request #778 from nonameShijian/PR-Branch
获取关于promise的错误堆栈
2024-01-12 12:37:50 +08:00
shijian bcee3f1f23 修改一些jsdoc提示 2024-01-11 16:36:26 +08:00
shijian cda9e7f063 添加一些jsdoc注释 2024-01-11 16:31:31 +08:00
Ansolve f38c6e6263
fix: unrenamed. 2024-01-11 04:21:53 +08:00
Ansolve aa089a9d32
chore: rename to better name && add docs. 2024-01-11 04:19:54 +08:00
Rintim ea07727f68
feat: error handler. 2024-01-11 03:24:26 +08:00
shijian 57d08d0982 优化写法2 2024-01-11 00:35:46 +08:00
shijian c576ced96c 优化写法 2024-01-11 00:34:55 +08:00
shijian e02fb4ebb2 忘了改一句话 2024-01-11 00:28:58 +08:00
shijian f8b3c29ab8 获取关于promise的错误堆栈 2024-01-11 00:26:22 +08:00
Ansolve 0dd72eef89
fix: revert bug. 2024-01-10 23:12:23 +08:00
157 d2761c31fd 修复_status.event.filterCard传参无hasGaintag方法bug 2024-01-10 16:40:41 +08:00
copcap 945a6d8bae
bug修复 2024-01-10 16:17:41 +08:00
Rintim f4fe5406c9
fix: `replaceButton` not a button. 2024-01-10 01:11:52 +08:00
Spmario233 035a6745ea Revert "修复多余的ui.click.xxx"
This reverts commit 4c0b3b3ed4.
2024-01-09 23:46:12 +08:00
Rintim 98fc7e4aa3
fix: `get.copy`. 2024-01-09 23:16:41 +08:00
Ansolve 111998f813
fix: ? 2024-01-09 22:56:19 +08:00
Spmario233 4c0b3b3ed4 修复多余的ui.click.xxx 2024-01-09 22:50:37 +08:00
Spmario233 04fd2859a4
Merge pull request #773 from Curpond/master
修复技能中yield 一个非事件保错的问题
2024-01-08 23:51:28 +08:00
Curpond 40a8bb05fa 修改yield 非事件报错 2024-01-08 10:50:06 +08:00
Ansolve fb422165cc
fix: might be wrong. 2024-01-08 01:20:11 +08:00
Ansory Nucleus 1a49bf5943
Merge branch 'libccy:PR-Branch' into PR-Branch 2024-01-08 01:10:21 +08:00
Rintim 837f8b626f
Merge branch 'Dev-Enhancement-DivideMore' into PR-Branch. 2024-01-07 21:31:13 +08:00
Rintim 9a81cad2ab
feat: onload mutex wait. 2024-01-07 21:25:53 +08:00
kuangthree f9e44626c6 get.copy构造器添加参数 2024-01-07 15:02:29 +08:00
kuangthree e66d6778e0 修改get.copy 2024-01-07 14:51:07 +08:00
kuangthree 05d148d10e 将player、card的build方法挪动到ui.create中,以便继承 2024-01-07 13:50:34 +08:00
Spmario233 911ad85703
Merge pull request #766 from PZ157/PR-Branch
bugfix
2024-01-06 23:35:56 +08:00
Spmario233 43d1fb4394
Merge pull request #767 from nofficalfs/Dev-Enhancement-DivideMore
Fix `get.copy`
2024-01-06 23:35:46 +08:00
kuangthree 03dd4cd2b7 构造器和build虚方法分离,在create内调用build 2024-01-06 22:29:14 +08:00
157 9a2bf07ab4 bug修复
'odds'统一返回数值;
Math.log考虑非正数
2024-01-06 19:53:50 +08:00
Rintim 776cae8573
fix: clone bug. 2024-01-06 16:07:56 +08:00
Rintim a047749656
feat: `get.copy` done. 2024-01-06 02:45:07 +08:00
Rintim f5aba85f22
feat: add copy constructor. 2024-01-06 02:00:12 +08:00
Rintim e24b14b676
fix: not throw. 2024-01-06 01:38:56 +08:00
Rintim 7ae7deb1f4
fix: `get.copy`. 2024-01-06 01:38:41 +08:00
Spmario233 9c987a59c5
Merge pull request #765 from universe-st/PR-Branch
令武将默认图片可变
2024-01-05 23:49:29 +08:00
Rintim 2dde1019c4
feat: `Player#getStorage` has default value provided. 2024-01-05 03:01:53 +08:00
kuangthree f2272634a6 令武将默认图片可变 2024-01-04 22:06:21 +08:00
157 6c16aabd0b 虚拟角色防报错 2024-01-04 21:17:33 +08:00
Ansolve e5eb8894de
pref: divide `game.promises`. 2024-01-04 18:35:14 +08:00
Ansolve e03a7f1e55
pref: divide `game.dynamicStyle`. 2024-01-04 18:29:26 +08:00
Ansolve b35662018d
pref: divide `get.is`. 2024-01-04 18:17:21 +08:00
Ansolve 903ce71ad7
refactor: info improve. 2024-01-04 18:12:39 +08:00
Ansolve 19431cf8ee
revert: umm... 2024-01-04 18:09:53 +08:00
Ansolve e3c47c91f8
pref: translate to promise. 2024-01-04 16:45:00 +08:00
Ansolve eb03482831
fix: const cannot modify. 2024-01-03 21:17:19 +08:00
Ansolve 64f9764e87
fix: str replace. 2024-01-03 20:01:53 +08:00
Ansolve 6208d418c0
fix: umm. 2024-01-03 03:28:48 +08:00
Ansolve 51f3afa862
fix: parse promise error. 2024-01-03 03:26:40 +08:00
Rintim 5142b45759
fix: some question. 2024-01-03 03:22:20 +08:00
Ansolve c30e654688
fix: no electronVersion. 2024-01-03 02:32:41 +08:00
Ansory Nucleus a7a15cb21a
Merge branch 'PR-Branch' into Dev-pref-divide 2024-01-03 02:29:59 +08:00
Rintim 41238ad00c
feat: add experimental-content interface. 2024-01-03 02:24:11 +08:00
Rintim 7e648caa46
pref: onload logic rewrite. 2024-01-03 02:23:33 +08:00
Ansolve f104bcdf36
pref: divide ai. 2024-01-02 20:11:39 +08:00
shijian 711ff153b2 修复get.is.node的bug 2024-01-02 19:35:09 +08:00
shijian d566a3d20a 添加Get.is的注释 2024-01-02 19:23:33 +08:00
shijian 87ce29913d 修复左慈bug,添加Player类的typeAnnotation 2024-01-02 18:46:04 +08:00
Ansolve 08cbc34d6b
chore: export config from index. 2024-01-02 15:39:07 +08:00
Rintim 38546d0159
pref: divide gnc. 2024-01-02 14:29:02 +08:00
Rintim d55b4a76af
pref: includes. 2024-01-02 14:21:09 +08:00
Ansory Nucleus b2e1010504
Merge branch 'PR-Branch' into Dev-pref-divide 2024-01-02 14:11:09 +08:00
shijian 28c7dba845 修改history的类型名称,添加其他类型 2023-12-31 23:39:45 +08:00
shijian 9fdf573bc7 优化代码提示,codeMirror修改为esmodule 2023-12-31 23:26:10 +08:00
Rintim a93ca5e6a7
fix: onload not clearTimeout. 2023-12-31 22:01:26 +08:00
Rintim c666825da2
feat: `get.copy`. 2023-12-31 22:01:15 +08:00
Ansolve 4b3449bd27
revert: not check entry. 2023-12-31 00:44:14 +08:00
Rintim 4acae6af06
pref: remove one global resetGameTimeout. 2023-12-31 00:02:57 +08:00
Rintim be44296a87
pref: auto gen import function. 2023-12-30 23:58:05 +08:00
Ansolve 519abfacbd
pref: divide channel. 2023-12-30 23:35:29 +08:00
shijian 66c8c6cba9 废弃HTMLDivElement.prototype.animate,改为使用HTMLDivElement.prototype.addTempClass 2023-12-30 17:08:40 +08:00
shijian e235809703 修复nodews的导入问题 2023-12-30 16:45:02 +08:00
Rintim 7025291198
pref: move onload outside. 2023-12-30 14:17:06 +08:00
Ansolve 6841892dbe
fix: error file name. 2023-12-30 14:08:28 +08:00
Ansolve dacf68d0b5
fix: make sure not use new feature. 2023-12-30 00:12:56 +08:00
shijian 68c00bea3a 修改一处string.contains的调用 2023-12-30 00:04:42 +08:00
shijian d8c9b30957 Merge branch 'PR-Branch' of github.com:nonameShijian/libccy-noname-fork into PR-Branch 2023-12-29 23:54:44 +08:00
shijian f19847cea0 HTMLDivElement#animate兼容浏览器自带的animate 2023-12-29 23:33:36 +08:00
shijian 71e49f1a15 本体引用的Array#contains全部改为Array#includes,且contains提示弃用 2023-12-29 23:32:33 +08:00
Spmario233 cf21db0d5a
Merge pull request #750 from PZ157/PR-Branch
bug修复
2023-12-29 22:38:18 +08:00
157 db1b6281a7 bugfix
ui.selected.cards范围太大,不宜默认筛选
2023-12-29 22:36:58 +08:00
shijian 33f5942ffb lib.cheat.u改回兼容旧版传参2(但提示废弃) 2023-12-29 20:20:48 +08:00
shijian e28fac757a lib.cheat.u改回兼容旧版传参(但提示废弃) 2023-12-29 20:17:53 +08:00
shijian fdcdb48ee3 增加lib.cheat的提示 2023-12-29 19:22:23 +08:00
157 c42da2ac0b 更新needsToDiscard的相关调用
顺便修复武诸葛亮【智哲】牌ai
2023-12-29 15:59:41 +08:00
157 e529fbb979 优化调整needsToDiscard函数
add形参加入“额外牌”
filter作为专门代替函数
pure可返回负数
2023-12-29 11:36:51 +08:00
157 38801acdcc 为调用mayHaveShan的函数增加参数
也包括mayHaveSha
2023-12-29 09:57:38 +08:00
shijian 5b445350be 优化代码提示 2023-12-28 02:08:11 +08:00
nonameShijian 56f489f6c8
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-12-28 01:02:55 +08:00
shijian ba438ef817 重新拆分lib.element 2023-12-28 00:43:55 +08:00
shijian ea754c9642 解决与jsdoc的命名冲突 2023-12-27 23:33:07 +08:00
shijian 14cbfdc843 修改get.copy,修复一个config只有getter的问题 2023-12-27 23:22:26 +08:00
kuangshen04 e891b683ef revert .skill改弹性布局 2023-12-27 23:12:13 +08:00
Ansolve 24c428a432
pref: divide player. 2023-12-25 21:30:26 +08:00
Rintim 01c23586cf
pref: change init logic. 2023-12-25 21:05:19 +08:00
Rintim c9a8f3d6a3
revert: damn it... 2023-12-25 20:24:15 +08:00
Rintim facfe0ee0d
revert: umm... 2023-12-23 21:07:35 +08:00
Rintim f047963cc7
fix: next not skip. 2023-12-23 19:47:12 +08:00
Rintim 3b4cb81799
fix: maybe not a bug. 2023-12-23 16:03:59 +08:00
Rintim 550e026688
refactor: dvd content and contents. 2023-12-23 14:54:40 +08:00
Rintim a0f229cdf4
fix: let not output. 2023-12-23 14:43:33 +08:00
Rintim 871fb7f682
pref: move content out. 2023-12-23 14:43:19 +08:00
Rintim 4d758a9a54
feat: add support of skill for ArrayContent. 2023-12-23 02:41:08 +08:00
Rintim e0ec29c5e4
feat: add new arrayContent. 2023-12-23 02:37:14 +08:00