Commit Graph

2662 Commits

Author SHA1 Message Date
Kirin Xiao 937bb299a6 remove dummy promise catch 2023-10-03 09:19:42 +00:00
Kirin Xiao 22df8c5018 fix character card exceptions 2023-10-03 09:15:32 +00:00
Kirin Xiao 3a2da58add fix exceptions 2023-10-03 09:14:14 +00:00
Spmario233 0a825cc88a
Merge pull request #454 from copcap/dev-natureFix
将判断属性的方法改为`game.hasNature`
2023-10-03 16:41:13 +08:00
Spmario233 9bf4aba9b9
Merge pull request #455 from Tipx-L/PR-Branch
The Readability Update.
2023-10-03 16:39:55 +08:00
Spmario233 4b291cb03a fix listenTransition 2023-10-03 16:19:34 +08:00
Tipx-L 21f5c683c8 Cache generated object URLs, and use "startsWith" or "includes" instead. 2023-10-03 01:12:49 -07:00
Tipx-L 8ddf262593 Change update URLs. 2023-10-03 01:11:28 -07:00
copcap ad5cd13d10
将判断属性的方法改为game.hasNature 2023-10-03 15:10:29 +08:00
Spmario233 b43a346fe7 fix css 2023-10-03 12:40:48 +08:00
Spmario233 f0ee332f52 prefix修补 2023-10-03 11:16:35 +08:00
Spmario233 afd098d6c4 线下包武将前缀 2023-10-03 09:42:07 +08:00
Spmario233 c284cc7705 兼容版处理2 2023-10-03 02:16:28 +08:00
Spmario233 b2e0862f36 兼容版特化处理 2023-10-03 02:09:23 +08:00
Spmario233 951a1a0891 change "lr" to "horizontal-tb" 2023-10-03 01:16:41 +08:00
Spmario233 83ef7e7033 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-10-03 00:32:17 +08:00
Spmario233 586eee6697 修复遗漏prefix 2023-10-03 00:32:08 +08:00
Spmario233 8f3983b142
Merge pull request #447 from kuangshen04/PR-Branch
inherit,group,subSkill套娃,已完成兼容性与压力测试
2023-10-02 21:09:01 +08:00
157 6a1605b25e
增加猜杀猜闪函数
猜杀mayHaveSha
猜闪mayHaveShan
2023-10-02 17:29:24 +08:00
kuangshen04 21f66e784b inherit,group,subSkill套娃 2023-10-02 16:40:02 +08:00
Spmario233 d04957377f 完成线下武将以外的prefix 2023-10-02 13:35:32 +08:00
Spmario233 ec708c0c67
Merge pull request #446 from MDYY1/PR-Branch
bug fix
2023-10-02 12:05:49 +08:00
MDYY1 10d5a01682 bug fix 2023-10-02 08:12:53 +08:00
lucilor e7eb7aff9c
fix: bugs
* 万智牌 - 地牌改变背景失效
* 昆特牌 - 凯瑞斯【卫土】无法触发护甲抵挡效果
* 炉石传说 - 阿玛拉【守望】当目标技能被禁用时可以无限对其发动
2023-10-02 07:13:46 +08:00
Spmario233 da953811d4 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-10-01 21:38:42 +08:00
Spmario233 c3cb1cd4d0 fix 刘协主公技 2023-10-01 21:38:11 +08:00
Spmario233 0e836bb21d
Merge pull request #440 from lieren2023/lieren2023-patch-30
优化代码赋值写法(资料卡注解样式二)
2023-10-01 21:14:59 +08:00
Spmario233 71ba5c07b4 手杀 prefix 2023-10-01 21:13:49 +08:00
lieren2023 80cb8fafed
优化代码赋值写法(资料卡注解样式二) 2023-10-01 18:11:05 +08:00
Spmario233 1a5d7e92b1
Merge pull request #438 from MDYY1/PR-Branch
优化useCard,chooseUseTarget
2023-10-01 15:45:25 +08:00
Spmario233 7fae2bbb6b
Merge pull request #436 from lieren2023/lieren2023-patch-30
新增资料卡注解样式二的代码ID选项
2023-10-01 15:44:38 +08:00
Spmario233 fa3335feb0 addNature增加视为牌牌名更改 2023-10-01 15:41:40 +08:00
Spmario233 2442ff4f61 视为牌牌名修改 2023-10-01 15:38:26 +08:00
Spmario233 c2c395c76e More prefixs 2023-10-01 12:50:11 +08:00
MDYY1 754b7cf147 bug fix 2023-10-01 09:35:07 +08:00
MDYY1 56eb2e02dd 优化useCard,chooseUseTarget 2023-10-01 09:28:39 +08:00
lieren2023 a9d34493af
新增资料卡注解样式二的代码ID选项 2023-10-01 07:26:36 +08:00
Spmario233 a040b100f9 SP前缀 2023-10-01 00:45:42 +08:00
Spmario233 92e88a41ce minus fix 2023-09-30 22:07:30 +08:00
Spmario233 beb126390c
Merge pull request #433 from MDYY1/PR-Branch
为addJudgeNext添加牌的位置判断
2023-09-30 22:04:53 +08:00
梦原 1020ece0f1
更改缩进 2023-09-30 22:03:53 +08:00
Spmario233 ae5bd0ec4b 群势力边框, 新的prefix配置 2023-09-30 22:01:59 +08:00
MDYY1 9e15fa81b1 为addJudgeNext添加牌的位置判断 2023-09-30 18:36:46 +08:00
Spmario233 547dccabba lib.namePrefix, get.prefixSpan 2023-09-30 12:31:58 +08:00
Spmario233 a62407f6bd Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-09-30 11:11:08 +08:00
Spmario233 0f69767d04 角色姓名prefix机制 2023-09-30 11:11:01 +08:00
Spmario233 8b21b3f1e7
Merge pull request #430 from nonameShijian/PR-Branch
编辑器更改字体时取消动画,代码提示新增类型提示,修改并删除源码中的js提示。修复game.js变量泄露到全局的bug
2023-09-30 10:01:12 +08:00
Spmario233 ffb529a2d7 [Experimental] 给Map对象polyfill一些数组方法 2023-09-30 09:58:49 +08:00
shijian 51bf75c8ba 删除无用代码 2023-09-30 05:39:42 +08:00
shijian f4043daa54 增加了trigger,result等变量的提示,修复非开发者模式没有读取一些变量提示的bug 2023-09-30 05:36:52 +08:00
shijian 73f30d30c5 修复缩进问题 2023-09-30 05:10:54 +08:00
shijian 850f423830 编辑器样式优化 2023-09-30 05:06:57 +08:00
shijian 8642efc40b 编辑器更改字体时取消动画,代码提示新增类型提示,修改并删除源码中的js提示 2023-09-30 04:53:49 +08:00
Spmario233 53243798ad
Merge pull request #428 from nonameShijian/PR-Branch
代码编辑器修改默认字体大小,增加修改字体大小功能菜单
2023-09-30 02:05:48 +08:00
Spmario233 0ad24cf43a
Merge pull request #426 from copcap/dev-bugfix1
bug修复
2023-09-30 02:05:29 +08:00
shijian 77264d7cd6 fix bug 2023-09-30 02:04:46 +08:00
shijian d1e0022a62 优化编辑器功能 2023-09-30 02:02:35 +08:00
shijian f75c726656 代码编辑器修改默认字体大小,增加修改字体大小功能菜单 2023-09-30 01:47:49 +08:00
Spmario233 d2f5e274c4 bug fix 2 2023-09-30 01:25:15 +08:00
copcap 4f644ef45c
修一些bug 2023-09-30 01:11:28 +08:00
Spmario233 90858bc959
Merge pull request #424 from lieren2023/lieren2023-patch-29
显示武将名注解和显示技能名注解增加一种样式
2023-09-30 01:01:45 +08:00
Spmario233 001558ba17
Merge pull request #425 from nonameShijian/PR-Branch
修复获取扩展的bug,增加更新日期字段,修复扩展名过长可能导致不能点击下载扩展按钮的bug
2023-09-30 01:00:47 +08:00
Spmario233 75c1dd26c7 bug fixs 2023-09-30 00:58:01 +08:00
shijian c7988476b3 修复获取扩展的bug,增加更新日期字段,修复扩展名过长可能导致不能点击下载扩展按钮的bug 2023-09-30 00:20:54 +08:00
lieren2023 104997b1e4
显示武将名注解和显示技能名注解增加一种样式 2023-09-30 00:16:52 +08:00
lieren2023 e106e96750
新增显示角色性别和显示角色势力开关 2023-09-29 23:33:42 +08:00
Spmario233 dbf9cb14e8 final attack! 2023-09-28 21:58:14 +08:00
Spmario233 28c542efef
Merge pull request #420 from nofficalfs/PR-Enhancement-someFunctionsAdd
[Enhancement] 添加一些函数
2023-09-28 20:56:36 +08:00
Rintim 57bfb05ef5 change stl position && modify stl name to style. 2023-09-28 20:10:04 +08:00
Rintim 02bd562a45 fix bug. 2023-09-28 19:16:57 +08:00
Rintim e0dd38625b parse attributes in `linq.dom.inject`. 2023-09-28 19:13:36 +08:00
Rintim b10b449a0d add style linq generate. 2023-09-28 19:12:11 +08:00
Rintim a662ae8afa add attr linq generate. 2023-09-28 19:10:04 +08:00
Rintim b6b4d10bef add basic div creation. 2023-09-28 19:04:47 +08:00
Rintim 54964c8bd4 add `linq.dom.generate`. 2023-09-28 18:57:13 +08:00
Rintim dfa9dc49c7 add `linq.dom.inject`. 2023-09-28 18:48:55 +08:00
Rintim dd1d1ddff4 all and none filter. 2023-09-28 18:34:50 +08:00
Spmario233 900b4cddf9
Merge pull request #418 from Tipx-L/PR-Branch
Madokaaaaaaaaaa!!!!!!!
2023-09-28 17:57:52 +08:00
Spmario233 cac21cf243 乐周妃(No Image) 2023-09-28 17:54:32 +08:00
Tipx-L 73e140a2cd Revert IndexedDB version update due to some unexpected hard coded clients. 2023-09-28 02:00:52 -07:00
Tipx-L 5f0a4d446a Support "db:". 2023-09-28 00:47:18 -07:00
Tipx-L 82e626e67d Change game.playAudio. 2023-09-28 00:47:18 -07:00
Spmario233 d1cf082131 Revert "Merge pull request #405 from kuangshen04/PR-Branch"
This reverts commit 24dda1f57c, reversing
changes made to a5a397fa47.
2023-09-28 13:36:13 +08:00
Spmario233 a540c04dab
Merge pull request #412 from Tipx-L/PR-Branch
The Delta Update.
2023-09-28 03:25:29 +08:00
Spmario233 62a4d7d553
Merge pull request #411 from nofficalfs/PR-Enhancement-CreationInclude
[Enhancement] 更改`lib.creation`的原理
2023-09-28 03:23:59 +08:00
Spmario233 f4ee1bebf6
Merge pull request #409 from nonameShijian/PR-Branch
修复打开主代码报错的问题
2023-09-28 03:22:11 +08:00
Tipx-L f4ce4c0f42 Change get.is.sameNature and add get.is.differentNature. 2023-09-27 09:20:10 -07:00
Tipx-L 70448dccf3 Change group_unknown.png. 2023-09-27 09:20:09 -07:00
Tipx-L c2394b872a Use lib.path. 2023-09-27 09:20:08 -07:00
Spmario233 3e25256914 Never Ending BUGFIX 2023-09-27 22:32:41 +08:00
nonameShijian 72f1b237ef
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-09-27 21:41:50 +08:00
shijian 1ee5cc684c 修复打开主代码报错的问题 2023-09-27 21:33:20 +08:00
Spmario233 24dda1f57c
Merge pull request #405 from kuangshen04/PR-Branch
inherit更改,支持嵌套
2023-09-27 21:20:52 +08:00
shijian 82608f348c player.when添加其他时机形式 2023-09-27 19:36:55 +08:00
kuangshen04 f4e2a8230c inheit更改,支持嵌套 2023-09-27 17:04:20 +08:00
Spmario233 4f596885aa recover pengyang 2023-09-27 16:51:41 +08:00
shijian 97a8442ba4 fix startScroll == undfined,增加原型链的代码提示 2023-09-27 14:35:44 +08:00
Rintim e956795953 making creation in `lib.creation`. 2023-09-27 14:12:51 +08:00
Rintim a2cbab4a25 remove original defining property. 2023-09-27 14:10:23 +08:00
Spmario233 0ad723d2db buttonPresets, 神典韦 update 2023-09-27 13:37:20 +08:00
Spmario233 39a126b64d
Merge pull request #402 from nonameShijian/PR-Branch
修复编辑器在安卓端选中一个提示后光标回到行首的问题。增加鼠标悬浮或者触摸一个代码提示时自动选中(不补全)的功能,代码提示改为字典排序,增加手机端代码提示滚动条宽度,修复报错代码提示行数比实际行数少1的bug
2023-09-27 10:57:14 +08:00
shijian 88f08292c8 修复报错代码提示行数比实际行数少1的bug 2023-09-27 08:37:19 +08:00
shijian 929c1b5008 增加手机端代码提示滚动条宽度 2023-09-27 00:44:17 +08:00
shijian c6bbf265de 代码提示改为字典排序 2023-09-27 00:35:44 +08:00
Rintim e1af98e166 remove unneed function. 2023-09-27 00:32:58 +08:00
shijian ed5fee1517 修复编辑器在安卓端选中一个提示后光标回到行首的问题。增加鼠标悬浮或者触摸一个代码提示时自动选中(不补全)的功能 2023-09-27 00:25:11 +08:00
Rintim 33b8e4b4dc detach hook-call to game. 2023-09-27 00:23:02 +08:00
Rintim 08de74b1ab detach hook-calling to make prototype function able to run anytime. 2023-09-27 00:05:16 +08:00
Rintim 6aa4e18982 unite arguments length between prototype function and its hook. 2023-09-26 23:58:05 +08:00
Rintim 18516597bf fix end-comma error in compatible version. 2023-09-26 23:56:20 +08:00
Spmario233 cdbd24cc0a 修复语法问题 2023-09-26 23:50:16 +08:00
Spmario233 855bade66d
Merge pull request #393 from copcap/dev-natures
增加可为一张杀赋予多种属性的功能;可自定义加入新属性杀
2023-09-26 23:27:56 +08:00
shijian 2be2dd85e4 另一个编辑器函数es5 to es6 2023-09-26 22:33:08 +08:00
shijian 15fc236ffc 编辑器函数es5 to es6,修复报错问题 2023-09-26 21:06:05 +08:00
Spmario233 2f070bdcfa 界钟繇 2023-09-26 20:00:37 +08:00
Spmario233 da8eab34ec
Merge pull request #397 from nonameShijian/PR-Branch
升级CodeMirror功能
2023-09-26 17:34:15 +08:00
Spmario233 bb1df8fabd 难升米, clearMark 2023-09-26 17:33:14 +08:00
shijian d59aa0543a js关键字提示 2023-09-26 17:23:27 +08:00
nonameShijian 732f24408d
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-09-26 16:59:35 +08:00
Spmario233 81b317b177 remove unnessary distance count 2023-09-26 16:54:12 +08:00
shijian d444144928 去除全选的按钮(快捷键依旧有效) 2023-09-26 16:54:03 +08:00
shijian 658b837d74 升级codeMirror功能 2023-09-26 16:40:16 +08:00
copcap 3eb14dccad
增加可为一张杀赋予多种属性的功能;可自定义加入新属性杀;解决冲突 2023-09-26 13:00:05 +08:00
shijian 148e2b5a4e 优化codeMirror编辑器功能 2023-09-26 01:46:08 +08:00
Tipx-L de06c13619 Fix. 2023-09-26 01:05:12 +08:00
Tipx-L ccb10c6a4a Add the migration. 2023-09-25 09:39:08 -07:00
Tipx-L 20b5b13bb6 Add the migration. 2023-09-25 09:18:12 -07:00
Tipx-L 114f1f935c Deprecate "audio" and "image". 2023-09-25 08:21:49 -07:00
Tipx-L 4616c2e1d8 Finish the CSS. (Credit to https://codepen.io/P1N2O/pen/pyBNzX) 2023-09-25 08:07:47 -07:00
Tipx-L f215e72c02 Revert. 2023-09-25 07:48:58 -07:00
Tipx-L 7405d6c94d Add the ability to show code identifiers. 2023-09-25 06:57:51 -07:00
Tipx-L 7e07a65041 Follow naming conventions. 2023-09-25 06:57:50 -07:00
Tipx-L 2e1fa45917 Support audios with "db:". 2023-09-25 06:57:50 -07:00
Tipx-L a0b410e923 Add get.objectURL. 2023-09-25 06:57:50 -07:00
Tipx-L 5d6b902d51 The Database Update. 2023-09-25 06:57:50 -07:00
Spmario233 02fc64a292
Merge pull request #387 from kuangshen04/PR-Branch
修复我写的trySkillAudio中的一个sb错误
2023-09-25 21:08:32 +08:00
Spmario233 f0cc3f421e choiceFour 2023-09-25 21:07:25 +08:00
狂神 b6e72b0323
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-09-25 20:39:26 +08:00
kuangshen04 c39d0802ac eslintrc.extends改为了chrome 46 2023-09-25 20:34:29 +08:00
Spmario233 56a3a26850 revert 许攸, someInD 2023-09-25 18:16:09 +08:00
kuangshen04 100f187850 修复我写的trySkillAudio中的一个sb错误 2023-09-25 17:34:32 +08:00
Spmario233 784eb578d5
Merge pull request #384 from nofficalfs/PR-Bug-NodeFsCompat
[Bug] 修复由理电脑版的第二个兼容问题
2023-09-25 17:27:51 +08:00
shijian 3839e10605 window.onerror优化,增加显示错误代码功能 2023-09-25 14:51:43 +08:00
Rintim 922eca6f20 fix bugs. sorry to ShiJian. 2023-09-25 12:28:22 +08:00
shijian 4f7cf92fcd Fix bug,上一个commit的f**k应该改成f**king 2023-09-25 01:04:27 +08:00
shijian e663c15358 Fix the f**k problem with Rintim's catch without error parameters.添加lib.init部分函数的同步版本,优化onerror,优化HTMLDivElement.prototype.listenTransition 2023-09-25 00:54:37 +08:00
kuangshen04 917aa03102 Merge branch 'PR-Branch' of https://github.com/kuangshen04/noname into PR-Branch 2023-09-23 22:14:57 +08:00
Spmario233 f4915bc8e8
Merge pull request #373 from nofficalfs/PR-Enhancement-Storage
[Enhancement] 函数增加 | 还是和`Storage`相关的函数
2023-09-22 17:43:58 +08:00
Spmario233 3818111bdd
Merge pull request #372 from lieren2023/lieren2023-patch-27
启动页修改
2023-09-22 17:43:37 +08:00
Rintim 8f57dfd661 multi parameters. 2023-09-21 20:14:27 +08:00
Rintim 8bf10e67d3 add list contains. 2023-09-21 20:09:32 +08:00
Rintim 47f086fb45 add ability of `Player#hasStorage` 2023-09-21 19:56:13 +08:00
lieren2023 4bdd684847
Add files via upload 2023-09-21 19:36:24 +08:00
Spmario233 e5054cc520
Merge pull request #370 from lieren2023/lieren2023-patch-27
启动页修改
2023-09-21 19:13:14 +08:00
Spmario233 acef15385e
Merge pull request #367 from Tipx-L/PR-Branch
Introduction.
2023-09-21 18:43:24 +08:00
Spmario233 7fb14225b0
Merge pull request #363 from nofficalfs/PR-Bug-Parsex
[Bug] 兼容修复 | `Event#setContent`及`lib.init.parsex`接纳更多参数
2023-09-21 18:42:21 +08:00
Spmario233 7f160d4b38
Merge pull request #364 from lieren2023/lieren2023-patch-24
懒加载修复(回滚)
2023-09-21 18:42:07 +08:00
Spmario233 112b5203e1
Merge pull request #362 from mengxinzxz/PR-Branch
bugfix
2023-09-21 18:41:53 +08:00
lieren2023 97046e48bb
Add files via upload 2023-09-21 18:06:22 +08:00
mengxinzxz 6f064ed36b
characterIntro筛选修改 2023-09-21 08:22:58 +08:00
Tipx-L 536d67521a Ruby and RT. 2023-09-20 08:57:22 -07:00
Tipx-L dd5fb6d5af Add the ability for lib.element.player.damage to detect lib.element.event.baseDamage and lib.element.event.extraDamage. 2023-09-20 08:57:21 -07:00
Tipx-L 7cee261cc7 Add the ability for lib.element.player.damage to detect lib.element.event.customSource. 2023-09-20 08:57:20 -07:00
Tipx-L 9e7e5eba2c Optimize ui.click.charactercard alongside all related code. 2023-09-20 08:57:19 -07:00
Spmario233 cfa31f19f6 fix 折戟 2023-09-20 21:27:05 +08:00
mengxinzxz 0f642a46bf
修复回滚 2023-09-20 19:26:25 +08:00
lieren2023 8c0695b0ed
懒加载修复(回滚) 2023-09-20 16:25:31 +08:00
Rintim c31bccdcac observe setContent error. 2023-09-20 14:42:16 +08:00
Rintim 631e64a4f2 handle parsex. 2023-09-20 14:39:22 +08:00
mengxinzxz 5395483b60
隐匿状态解除获得主公技bug修复 2023-09-20 13:57:27 +08:00
Spmario233 8c5df88ff4
Merge pull request #358 from nofficalfs/PR-Enhancement-Storage
函数增加 | 一些跟`storage`有关的函数
2023-09-20 11:13:31 +08:00
Rintim e449eabab2 add async methods. 2023-09-19 23:09:37 +08:00
Rintim bdd031223f fix a bug. 2023-09-19 22:59:20 +08:00
Rintim 6be1fa5dcb add methods about storage. 2023-09-19 22:49:21 +08:00
Spmario233 63a6339375
Merge pull request #357 from nofficalfs/PR-Bug-AiUnableTargetZero
AI修复 | `chooseTarget`可以在“可空选”的情况下确定结果。
2023-09-19 20:14:19 +08:00
Spmario233 882f08dec4
Merge pull request #356 from lieren2023/lieren2023-patch-24
修复初始化时因懒加载不加载内置扩展的bug
2023-09-19 20:14:01 +08:00
Spmario233 f2eeeb27b0
Merge pull request #355 from mengxinzxz/PR-Branch
damage函数优化+配音修正
2023-09-19 20:13:36 +08:00
Rintim e9beb4c878 2023/09/19① | check range first like chooseCard. 2023-09-19 19:59:24 +08:00
lieren2023 b82504c5b4
修复初始化时因懒加载不加载内置扩展的bug 2023-09-19 18:51:33 +08:00
mengxinzxz 0757971ce7
delete damageBegin5 2023-09-19 16:37:03 +08:00
Spmario233 6ad3e873e8
Merge pull request #354 from nofficalfs/PR-Purify-PathLib-Not-Abort
[Purify] `path`不再报错
2023-09-19 16:15:40 +08:00
Spmario233 48aff38a5f fix undefined zoom 2023-09-19 10:56:41 +08:00
mengxinzxz 3e2e17231e
damage函数优化
添加不同伤害配音和打中护甲的配音
添加给真实伤害使用的额外特殊时机damageBegin5
2023-09-19 09:00:34 +08:00
Rintim 9a88564c0d [2023/09/19: ①] Remove `throw e`. 2023-09-19 01:45:31 +08:00
Spmario233 b1bf033c36 update sp.js 2023-09-18 20:53:48 +08:00
Spmario233 e4e16f5eb9
Merge pull request #351 from lieren2023/lieren2023-patch-22
Minor fix2
2023-09-18 20:21:04 +08:00
Spmario233 9b4ba52efa
Merge pull request #349 from nofficalfs/PR-Multi-MaybeAll
[Multi] 近期问题的尝试修复
2023-09-18 20:20:41 +08:00
lieren2023 e91a589bc8
Minor fix
调整菜单显示开关顺序
2023-09-18 19:43:28 +08:00
Rintim 01044af931 [2023/09/18: ④] Revert. 2023-09-18 19:20:25 +08:00
Rintim 0be236560a [2023/09/18: ③] 2023-09-18 19:11:25 +08:00
Rintim 6b55691d39 [2023/09/18: ③] 2023-09-18 19:11:02 +08:00
Rintim 0a2ab57ab8 [2023/09/18: ③] 2023-09-18 18:49:56 +08:00
Spmario233 e530ae82b9
Revert "chooseToMove 拖拽+动画效果,手机版无法拖拽" 2023-09-18 18:42:20 +08:00
shijian 3f3763df3e chooseToMove 拖拽+动画效果,手机版无法拖拽 2023-09-18 18:23:53 +08:00
Spmario233 9f4aaa01d3 muniu icon 2023-09-18 17:50:25 +08:00
Rintim 9ac2a0b146 [2023/09/18: ③] Add prework.
New `game.import` uses `document.currentScript` to determine the code caller.

If the script is not `game.js`, we put the result to `_status` for `game.js` to wait, otherwise return the promise directly.
2023-09-18 17:49:05 +08:00
Spmario233 76e058159f
Merge pull request #346 from nofficalfs/PR-Experimentalize-Content
[Experimentalize] `parsex`支持更多参数
2023-09-18 16:34:19 +08:00
Rintim ee0bfc60a8 [2023/09/18: ②] Handle GeneratorFunction. 2023-09-18 16:06:58 +08:00
Spmario233 b0893eb3a6
Merge pull request #344 from nonameShijian/PR-Branch
fix bug
2023-09-18 13:21:52 +08:00
Spmario233 544fab6569 Update game.js 2023-09-18 13:16:08 +08:00
shijian 5af0d87194 modify Indent 2023-09-18 13:14:56 +08:00
shijian 8c528e52c4 fix bug, modify Indent 2023-09-18 13:13:08 +08:00
shijian 2094e90cec fix bug 2023-09-18 13:07:46 +08:00
Spmario233 28eb5a10d2 update sp.js 2023-09-18 13:00:04 +08:00
Rintim c7bf5c03f2 [2023/09/18: ①] Move content handle to `lib.init.parsex`. 2023-09-18 12:55:40 +08:00
Rintim 897f993409 [2023/09/18: ①] Move content handle to `lib.init.parsex`. 2023-09-18 12:43:49 +08:00
lieren2023 0b1f5c7d19
bug fix 2023-09-18 12:22:28 +08:00
Rintim 09479829fd [2023/09/18: ①] Handle the array content. 2023-09-18 11:07:55 +08:00
Spmario233 9b08c5b684 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-09-18 10:51:46 +08:00
Spmario233 90974bf3d1
Merge pull request #342 from nofficalfs/PR-BugFix-IdentityGncNoModify
[BugFix] 一些玄学的遗留bug
2023-09-18 10:48:32 +08:00
Spmario233 bd0cfb2ba8
Merge pull request #341 from nonameShijian/PR-Branch
在初始化(新手教程)之前的菜单不进行懒加载,另添加导出扩展的私货,以及修改分享扩展后的链接地址,player.when
2023-09-18 10:48:20 +08:00
Rintim 3951791854 [2023/09/18: ①] Extend `Event#setContent`. 2023-09-18 10:37:59 +08:00
shijian cdd1403125 lib.element.player.when 2023-09-18 09:02:11 +08:00
Rintim 485c6222e0 fix async in identity. 2023-09-18 00:42:46 +08:00
Spmario233 decceeec89 minor fix 2023-09-18 00:12:51 +08:00
Spmario233 ff2c32277e dynamic range 2023-09-18 00:04:04 +08:00
Spmario233 03f21ad620 Romaji for Key characters 2023-09-17 22:36:19 +08:00
shijian 5f0a78bcd8 在初始化(新手教程)之前的菜单不进行懒加载,另添加导出扩展的私货 2023-09-17 19:49:52 +08:00
Spmario233 50028571b2 menu updates 2023-09-17 16:11:43 +08:00
Spmario233 b5678f7715
Merge pull request #340 from nofficalfs/PR-Alter-GenCoroutine
[Alter] 修改`genCoroutine`的机制
2023-09-17 15:05:07 +08:00
Spmario233 ce07a4af48 彭羕(no AI); fix get.number 2023-09-17 15:04:15 +08:00
Rintim b74aff07c6 last. 2023-09-17 11:26:56 +08:00
Rintim 238cfd8f36 compatible. 2023-09-17 11:08:53 +08:00
Rintim ac34ca2689 fix the bug. 2023-09-17 03:05:00 +08:00
Rintim e20a93d08f clean the `gnc.await`. 2023-09-17 03:00:25 +08:00
Rintim 1b01e5b08b remove comment && fix format. 2023-09-17 02:55:31 +08:00
Rintim f8b7941a16 logic parse.
Originally `gnc.await` would call `gnc.await` internally, so now merging the contents of `gnc.await` into `gnc.async` will definitely cause issues.

We will continue to change the `await` logic in `gnc.async` into a callback function, but at this point we only care about the outermost Promise. After the inner Promise finishes handling the asynchronous data, we no longer create nested Promise objects, we just call the callback function again. This also avoids potential performance losses from multi-layered Promises.
2023-09-17 02:53:28 +08:00
Rintim 31c96dd4ea determine the arg of `gnc.of` as a generator function.
`gnc.of` needs a generator function, so we check the input value to make the error clear.
2023-09-17 02:46:10 +08:00
Rintim 5893baaf9a modify `gnc.async` to `gnc.of`.
The name `gnc.async` was originally paired with `gnc.await`, intended to correspond to the `async` and `await` in` JavaScript`. However, having the same name as keywords in the standard library made the meaning of these two functions unclear on our side. The intention of `gnc.async` is to transform generator functions into `genCoroutine`, so it should contain the meaning of "creating". With simple discussion, we decided to use `of` for now to represent "creating" a `genCoroutine`.
2023-09-17 02:42:45 +08:00
Rintim 58379d5835 remove `gnc.escape`.
The original intention of `gnc.escape` was to tell `gnc.await` not to handle generator functions that have gone through this function. In fact, no one uses this function at all, because there would never be a situation where a normal function returns a generator function when `genCoroutine` is needed. Now that `gnc.await` has been removed from the project, there is even less need for `gnc.escape` to exist.
2023-09-17 02:38:05 +08:00
Rintim cfc2c8b69b move `gnc.await` content into `gnc.await`.
Originally, `gnc.await` was separated out from `gnc.async` to handle standalone `genCoroutine` generator functions. However, as the project developed, we realized this didn't make much sense and instead added unnecessary mental overhead for developers to focus on the APIs rather than the content. Therefore, we've now moved the functionality that was part of `gnc.async` back into `gnc.async`.
2023-09-17 02:33:46 +08:00
Rintim cf0bc5bef0 remove `gnc.await`
we noticed that `gnc.await` has almost no logically sound use cases in practice. We shouldn't add error handling for generator functions that haven't been transformed into `genCoroutine`. Functions that need `genCoroutine` should judge the input parameters by themselves.

By the way, this commit only remove the method without any change of the code which use `gnc.await`. In that case, there must be error in the code.
2023-09-17 02:21:21 +08:00
Spmario233 2da3a809d7 小扩表情包 2023-09-16 21:32:44 +08:00
Spmario233 c505e38447
Merge pull request #331 from copcap/dev
区分“获得”和“得到”的概念;调整起包技能效果
2023-09-14 21:15:56 +08:00
mengxinzxz 0e4f1cee7d
昂扬技标签修改
sunben→sunbenSkill
2023-09-14 20:29:26 +08:00
copcap 29ec37a01f
取消带_faq字符技能的拼音显示 2023-09-14 18:38:22 +08:00
mengxinzxz b28148abd5
昂扬技 2023-09-14 12:50:56 +08:00
Spmario233 87d5747ec8
Merge pull request #329 from nofficalfs/PR-BugFix-AsyncLoad
[BugFix] 兼容版异步等待无限加载问题
2023-09-14 11:28:25 +08:00
Rintim 31a7b69799 [2023/09/14: Inchar] wait import.
Use `yield` as `await` to wait `game.import` done.
2023-09-14 00:35:18 +08:00
Rintim 0eec9bcb51 [2023/09/14: Inchar] turn `game.importExtension` to async. 2023-09-14 00:31:18 +08:00
Rintim 9870c39857 [2023/09/14: Inchar] solve the waitever. 2023-09-14 00:29:58 +08:00
Spmario233 55fa9caba8 liunian update 2023-09-13 19:56:48 +08:00
Spmario233 5f8c320b22 game.washCard 2023-09-13 19:36:33 +08:00
Spmario233 7caa701806
Merge pull request #327 from nonameShijian/PR-Branch
视为牌图片样式属性杀兼容,设置行高
2023-09-13 19:22:54 +08:00
Spmario233 b6d7bdac42 game.cardsGotoPile 2023-09-13 19:21:30 +08:00
shijian e8de26ff60 视为牌图片样式属性杀兼容,设置行高 2023-09-13 19:09:12 +08:00
shijian 8a9a153fe8 视为牌显示的选项增加图片选项 2023-09-13 00:11:38 +08:00
shijian 4459785dfa 优化ui.create.cardTempName,变为两个参数 2023-09-12 19:53:20 +08:00
shijian 8fbd74bcb1 视为牌代码抽离为ui.create.cardTempName 2023-09-12 14:20:45 +08:00
Spmario233 4dcec776da
Merge pull request #316 from nofficalfs/PR-Purify-ImportFix
[Purify] `game.import` fused of `lib.gnc`.
2023-09-11 19:04:19 +08:00
Spmario233 406583ba67
Merge pull request #318 from nofficalfs/PR-Suggest-ExtSkill-Append-Translate
[Suggest] Extension Skill Support Append Info
2023-09-11 19:02:46 +08:00
Rintim ca39862a81 add import wait. 2023-09-11 13:22:58 +08:00
Rintim 4777678bb7 fix. 2023-09-11 12:43:05 +08:00
Rintim 17c9e6fe75 bugfix. 2023-09-11 07:39:32 +08:00
Rintim 8e2d787cf1 let `game.addCharacterPack` check guozhan characters. 2023-09-11 00:30:13 +08:00
Rintim be18fafb85 add guozhan filter array. 2023-09-10 23:53:11 +08:00
Rintim 4b5c2d0005 add append. 2023-09-10 23:36:32 +08:00
Rintim 305d96e7e5 fusion. 2023-09-10 23:20:11 +08:00
Spmario233 31e6d4553b putBack for get.cards and get.bottomCards 2023-09-10 21:59:41 +08:00
Spmario233 cc3c849fac
Merge pull request #314 from nofficalfs/PR-Experimentalize-AsyncGameImport
[Experimentalize] Asyncify `game.import`.
2023-09-10 21:35:14 +08:00
Spmario233 b653bb4b19
Merge pull request #310 from nofficalfs/PR-Purify-LibGnc
[Purify] Modify `lib.gnc`
2023-09-10 21:25:46 +08:00
Spmario233 040cd19c62
Merge pull request #308 from universe-st/PR-Branch
当character4中包含die时不添加die
2023-09-10 21:25:23 +08:00
Spmario233 edb65d8fc2
Merge pull request #305 from lieren2023/lieren2023-patch-19
资料卡显示技能名拼音、武将名拼音等信息
2023-09-10 21:24:31 +08:00
Rintim 7d130339f2 bugfix. 2023-09-10 21:21:16 +08:00
Rintim 7847ac8498 async fix. 2023-09-10 21:19:48 +08:00
Rintim e7d5a64b76 async. 2023-09-10 21:06:46 +08:00
lieren2023 9801500dce
写法改进,增加判断条件 2023-09-10 18:08:22 +08:00
Rintim 37ec12c866 add `lib.gnc.escape` 2023-09-10 16:50:28 +08:00
Rintim 3b0edf0d27 add default value. 2023-09-10 16:48:02 +08:00
Rintim 0f00fc8332 fix bugs. 2023-09-10 16:44:12 +08:00
Rintim 828b7c0ab2 fix some bugs. 2023-09-10 16:04:59 +08:00
Rintim 4594fb82cb purify lib.gnc 2023-09-10 15:58:51 +08:00
kuangthree 08a88953e6 当character4中包含die时不添加die 2023-09-10 09:07:57 +08:00
Spmario233 87479de03c Update colors and suits (maybe glichy) 2023-09-09 14:36:25 +08:00
Spmario233 a5d2293a8a tianjitu fix 2023-09-09 13:05:30 +08:00
lieren2023 4e0e743575
资料卡显示技能名拼音、武将名拼音等信息 2023-09-08 22:54:02 +08:00
Spmario233 78f6a550c4
Merge pull request #300 from mengxinzxz/PR-Branch
主公技机制修改简化+遗留问题修复
2023-09-08 18:12:49 +08:00
mengxinzxz b48ae29434
主公技机制修改
hasZhuSkill权限降低,取消模式限制,在hasZhuSkill没有对应target参数时均为true
修改玩家角色主公技在init和reinit的时候检测排除(检测函数添加isZhu2:判定是否player有isZhu属性和是否为身份/对决44/对决官渡模式)
2023-09-08 17:53:07 +08:00
Rintim 7bc90a3f3d modify name. 2023-09-08 17:38:32 +08:00
Rintim 07225dc1d2 add card filter 2023-09-08 17:36:17 +08:00
Spmario233 2e99a52909
Merge pull request #296 from nofficalfs/PR-Suggest-AddGroup-With-Hook
[Suggest] proivde game.addGroup
2023-09-08 11:52:13 +08:00
chen079 357e5599ea Update game.js 2023-09-08 10:13:38 +08:00
chen079 0b2ffbfb4a Update game.js 2023-09-08 10:13:38 +08:00
chen079 99397849a4 为damage新增'unreal'参数,表示视为伤害
如题,并修改手杀曹嵩
2023-09-08 10:13:38 +08:00
Rintim ed611433c1 purifid 2023-09-08 02:08:54 +08:00
Rintim e4e31603b5 bugfix2 2023-09-08 02:01:05 +08:00
Rintim ebb0b1b15d bugfix. 2023-09-08 02:00:36 +08:00
Rintim c0df934775 add methods. 2023-09-08 01:59:13 +08:00
Rintim 805848568d give time for extension to add hook. 2023-09-07 23:23:54 +08:00
Rintim a9d10ba774 fix compatibility. 2023-09-07 23:15:25 +08:00
Rintim 598beb4696 fix bug. 2023-09-07 23:08:37 +08:00
Rintim 8108635342 complete dynamicStyle && addGroup. 2023-09-07 23:00:55 +08:00
Rintim 1ff9beb778 add modify functions. 2023-09-07 22:43:15 +08:00
Rintim 41a06fc4a4 add dynamicStyle id. 2023-09-07 22:35:43 +08:00
Rintim 76aa1ae4c0 add dynamicStyle.update 2023-09-07 22:31:54 +08:00
Rintim d77ca4e98b add css selector linq. 2023-09-07 22:13:47 +08:00
Rintim f92614c494 add linq.css.merge 2023-09-07 20:39:35 +08:00
Rintim 5e4d323615 add basic css-string-like methods. 2023-09-07 19:00:34 +08:00
Rintim a372091dac add game.dynamicStyle 2023-09-07 18:54:22 +08:00
Rintim 1e0e18764c Merge branch 'PR-Branch' into PR-Suggest-AddGroup-With-Hook 2023-09-07 18:35:49 +08:00
Rintim db19a1822e add game.addGroup && lib.hook.addGroup. 2023-09-07 18:34:48 +08:00
Spmario233 d2a852d8af
Merge pull request #287 from mengxinzxz/PR-Branch
canSaveCard函数+整肃ai添加+针对canSave的部分技能写法调整
2023-09-07 13:38:02 +08:00
mengxinzxz 5d1915fe20
canSaveTarget函数添加,判断A是否能在B处于濒死状态时对B使用C牌 2023-09-07 12:49:44 +08:00
Tipx-L 1f946fc4bc Keep compatible. 2023-09-06 21:27:01 -07:00
Spmario233 7f25ec94f1
Merge pull request #284 from nofficalfs/PR-Node-Path
[Suggest] Support lib.path
2023-09-07 08:10:26 +08:00
Spmario233 558f194f41
Merge pull request #282 from nofficalfs/PR-genCoroutine-bugFix
[BugFix] fix genCoroutine.
2023-09-07 08:05:31 +08:00
Spmario233 1a80ea598f
Merge pull request #281 from Tipx-L/PR-Branch
Various fix.
2023-09-07 08:05:08 +08:00
Rintim a288afc29c format. 2023-09-06 22:21:37 +08:00
Rintim 21133e1cb2 add path.min.js 2023-09-06 22:16:31 +08:00
Rintim 6ece9e91f7 fix genCoroutine 2023-09-06 19:18:13 +08:00
Spmario233 86fb67a4b5
Merge pull request #277 from nofficalfs/PR-getCardNameLength-Advance
[Suggest] advancify get.cardNameLength
2023-09-06 17:40:04 +08:00
Spmario233 8601cd211d
Merge pull request #278 from nofficalfs/Purify-genCoroutine
[Purify] genCoroutine && lib.onprepare
2023-09-06 17:39:35 +08:00
Tipx-L 4d09055b97 More. 2023-09-06 01:47:53 -07:00
Rintim 87915084c7 lib.gnc 2023-09-06 16:47:47 +08:00
Tipx-L 5a20089ca5 Various fix. 2023-09-05 22:12:11 -07:00
Spmario233 585d6dab38 shownCard 2023-09-06 11:26:37 +08:00
Rintim c17a345781 remove gnc.is.* in lib. 2023-09-06 01:09:20 +08:00
Rintim f99ec24852 modify names. 2023-09-06 00:53:11 +08:00
Rintim 92504b1adf push onprepare later && add methods to determine genCoroutine. 2023-09-06 00:48:14 +08:00
Rintim 67b1b45a83 fix bugs && modify lib.onload3,4 to lib.onprepare 2023-09-05 22:40:16 +08:00
Rintim 666fac9ad0 purity genCoroutine && add lib.onload3 and onload4. 2023-09-05 21:58:39 +08:00
Rintim 6056b7aaab mk get.cardNameLength can be transformed by player 2023-09-05 20:39:32 +08:00
Tipx-L 20fd89213e Use Object.defineProperty, and Object.getOwnPropertyDescriptor to initialize instead. 2023-09-05 01:23:51 -07:00
shijian 348d10bb93 修复懒人包初次导入设置的问题 2023-09-05 15:03:10 +08:00
Tipx-L 35f0cec459 Use has?get:key instead. 2023-09-04 22:23:48 -07:00
Tipx-L a3a9540950 Add get.cardNameLength. 2023-09-04 22:18:12 -07:00
Spmario233 24e319bc1f fix 错别字 2023-09-05 08:48:01 +08:00
Spmario233 59c09fc80d
Merge pull request #268 from nofficalfs/PR-Branch
[Bug Fix] Fix abort when extension content is not function.
2023-09-05 08:42:35 +08:00
Spmario233 c9c61c0454
Merge pull request #267 from nofficalfs/PR-Experimental-coroutine
[Experimental] genCoroutine
2023-09-05 08:42:24 +08:00
Rintim 0d68c26f86 add one transform to make no one can modify origin genCoroutine. 2023-09-05 00:09:32 +08:00
Rintim f6cf169e53 determine name && add lib.onload2 2023-09-05 00:08:23 +08:00
Tipx-L fae925873a Change Yingbian prompts. 2023-09-04 07:02:32 -07:00
Tipx-L 8a785b89c6 Add lib.element.player.executeDelayCardEffect. 2023-09-04 04:44:06 -07:00
Rintim acd92a845a fix abort when extension content is not function. 2023-09-04 19:33:18 +08:00
Rintim bf746cf07d maybe determine genCoroutine. 2023-09-04 18:54:41 +08:00
Rintim 653782d7f7
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-09-04 15:57:33 +08:00
Spmario233 65463a0b62 small fix 2023-09-04 14:17:03 +08:00
Rintim 9807f5f714 unite indentation. 2023-09-04 13:12:09 +08:00
Spmario233 44d4407882
Merge pull request #263 from kuangshen04/PR-Branch
trySkillAudio更改
2023-09-04 11:11:24 +08:00
Tipx-L 19c29b4183 Fix lib.element.event.untrigger related code, and get.skillRank. 2023-09-03 20:02:15 -07:00
2832899707 542fc92db0 trySkillAudio更改 2023-09-04 10:52:00 +08:00
Tipx-L 94874588cf Fix favorite mode related code. 2023-09-03 19:22:29 -07:00
Tipx-L 29645b8414 Remove the polyfill of Array.from. 2023-09-03 18:23:01 -07:00
Tipx-L 40f91f439c Fix game.playAudio. 2023-09-03 18:20:09 -07:00
Tipx-L a46831a898 Fix get.bordergroup, and game.linexy. 2023-09-03 18:07:46 -07:00
Spmario233 5b56db02d5 fix showTimer by using transform 2023-09-04 00:34:12 +08:00
Spmario233 ccb8e0bb85 auto generate die:ext: for in-game extension 2023-09-03 21:45:06 +08:00
Spmario233 738f276db0
Merge pull request #257 from nofficalfs/PR-Branch
Support character die-audio tag && Provide failure callback for game.getFileList.
2023-09-03 20:56:22 +08:00
Spmario233 2ebf768c01
Merge pull request #255 from Tipx-L/PR-Branch
Fix lib.init.jsForExtension, and update URLs.
2023-09-03 20:52:54 +08:00
Rintim 9176641c0e let not throw err when the third arg is null. 2023-09-03 18:10:25 +08:00
Rintim 9bcedbc919 modify game.getFileList. 2023-09-03 18:06:04 +08:00
Rintim 7ba2d5e596 support die-audio tag. 2023-09-03 17:33:27 +08:00
Rintim 27415d0dad fix logical bugs && pure the code. 2023-09-03 17:00:22 +08:00
Rintim d563ba4a25 patch to support extension die-audio setting. 2023-09-03 16:52:59 +08:00
Tipx-L 9912a417e6 Fix lib.init.jsForExtension, and update URLs. 2023-09-03 00:55:24 -07:00
Tipx-L 3ba60f3049 Update game.js 2023-09-02 23:29:31 -07:00
shijian 0dfdecaf70 修复制作扩展的函数被懒加载的问题以及回滚deleteDB函数 2023-09-03 13:54:45 +08:00
shijian bcaf584bfe lib.onload支持传入GeneratorFunction以解决需要异步函数的问题 2023-09-03 02:15:24 +08:00
Spmario233 6a20717488 never ending bug fix 2023-09-02 19:40:31 +08:00
Spmario233 3f83f02193 small fix 2023-09-02 17:38:20 +08:00
Spmario233 a9d4c35397 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-09-02 17:37:15 +08:00
Spmario233 e6153cc9c8 fix Wuxie 2023-09-02 17:35:56 +08:00
shijian 9d61025278 修复懒加载菜单默认为身份模式的bug 2023-09-02 15:26:01 +08:00
Spmario233 85d578610f
Merge pull request #250 from Tipx-L/PR-Branch
Miscellaneous fix: Part 2.
2023-09-01 23:56:39 +08:00
Spmario233 dc9952fd0b a bunch of bugfix 2023-09-01 23:55:52 +08:00
Tipx-L fe45a009ae Fix the CSS, and remove the trigger limitations of lib.element.player.changeHp and game.chooseCharacter. 2023-09-01 08:45:46 -07:00
Tipx-L 2da11b90f3 Fix lib.element.player.isFriendOf. 2023-09-01 03:21:42 -07:00
Tipx-L 2f7dc5fbe7 Oops. 2023-08-30 20:54:52 -07:00
Tipx-L 52dfd5150a More line colors. 2023-08-30 09:26:56 -07:00
Tipx-L b06e462f03 Fix Yingbian and sbtongye AI. 2023-08-30 09:26:55 -07:00
Tipx-L 18cebfb44e Add compareCardShowBefore. 2023-08-30 09:26:55 -07:00
Spmario233 3edaa39011 fix controls in newlayout 2023-08-30 23:24:59 +08:00
Tipx-L 87e7bcf0e5 Further fix. 2023-08-29 02:49:27 -07:00
Tipx-L fc285396d7 Fix recasting and gifting, and deprecate lib.card[card].chongzhu. 2023-08-29 02:01:48 -07:00
Tipx-L 924a3b8d54 Fix the compatibility. 2023-08-29 01:16:42 -07:00
Tipx-L 699d11f99a Yingbian. 2023-08-29 00:14:15 -07:00
Tipx-L 6e647ca34b Fix recasting related. 2023-08-28 07:55:48 -07:00
Tipx-L fa7c63609b Add the ability to load JavaScript files for the extension in order. 2023-08-28 03:07:15 -07:00
Tipx-L 1d785b02c0 The Use of Spies. 2023-08-28 00:42:57 -07:00
Tipx-L b7578780ec Add lib.filter.ignoredHandcard. 2023-08-27 09:11:39 -07:00
Tipx-L 8516c7299c Recast. 2023-08-27 09:01:05 -07:00
kuangthree e1b905b6c4 修复问题 2023-08-27 17:14:59 +08:00
kuangthree 970ca85d49 新增lib.init.addJsForExtension方法,用于在扩展的precontent中调用,方便扩展在无名杀启动前加载需要的JS文件 2023-08-27 17:11:49 +08:00
Spmario233 8c8d097c0a groupSort for doublegroup 2023-08-26 21:20:56 +08:00
Spmario233 15fa286544 update source.js and asset.js 2023-08-26 21:07:22 +08:00
Spmario233 51122bfbc9
Merge pull request #238 from nonameShijian/PR-Branch
修复ui.create.menu的一些bug
2023-08-26 20:58:59 +08:00
Tipx-L 495a971cdc Optimize the double group related code. 2023-08-26 02:46:16 -07:00
Tipx-L 3f607d3017 Update fonts. 2023-08-25 12:25:26 -07:00
shijian 312eb48ea3 同上 2023-08-26 03:23:05 +08:00
shijian 9eebea05a9 修复ui.create.menu的一些bug 2023-08-26 03:10:03 +08:00
Tipx-L 457c69f2df Fix errors caused by undefined values. 2023-08-25 11:13:28 -07:00
Spmario233 e2d56283f8 checkMod speedup 2023-08-25 23:34:13 +08:00
Spmario233 835862f8a3 Fix type check 2023-08-25 23:12:49 +08:00
shijian bb39b6363a 修复懒加载ui.create.videoNode的bug 2023-08-25 22:56:35 +08:00
huanyu 98d7aa4534
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-08-25 22:40:40 +08:00
kuangthree fe08161875 优化孙翎鸾AI,新增临时缓存函数 2023-08-25 22:40:11 +08:00
Spmario233 c80f137f70
Merge pull request #234 from nonameShijian/PR-Branch
懒加载ui.create.menu
2023-08-25 22:38:31 +08:00
Spmario233 c1941a7531 checkHistory 2023-08-25 22:26:14 +08:00
shijian 24f5f56cca 懒加载ui.create.menu 2023-08-25 22:19:48 +08:00
Tipx-L 777ebed7d3 Catch all audio elements. 2023-08-25 04:13:42 -07:00
Tipx-L 58e2b0c39d Optimize some CSSs.
(cherry picked from commit 93b954629451a004679bc887fb44d01a2c8d8dbe)
2023-08-24 22:41:56 -07:00
Tipx-L fc0f70bc7e Optimize game.updateRoundNumber.
(cherry picked from commit f6ef195a2f901bb8311598a5887ec6f6d36479b3)
2023-08-24 22:32:49 -07:00
Tipx-L 44d95a70b7 Optimize game.asyncDraw.
(cherry picked from commit 5bec139ebd9a42cff403d0c48f6f67c7772d07ba)
2023-08-24 22:32:49 -07:00
Tipx-L 4f1dd2610c Optimize game.asyncDrawAuto.
(cherry picked from commit 2bcbcf881b5a92d72584b27204f8b5b4729de1b9)
2023-08-24 22:32:49 -07:00
Tipx-L f090e56961 Optimize game.finishSkill.
(cherry picked from commit 3c9cdfc3e560f4e87b69a5508290e024e90ffafb)
2023-08-24 22:32:48 -07:00
Tipx-L a862eb36b2 Optimize game.finishCards.
(cherry picked from commit 38f52068cb2da958b6af9aa393fae3a9f05b9569)
2023-08-24 22:32:48 -07:00
Tipx-L 043a419333 Optimize game.checkMod.
(cherry picked from commit 282d1c4bd42d6863625812cc976a988ce8fd4eb8)
2023-08-24 22:32:48 -07:00
Tipx-L 5df64d5a08 Optimize game.prepareArena.
(cherry picked from commit 6331a0fedac8a1dd5a989e695d3a2aee9f7dd71e)
2023-08-24 22:32:48 -07:00
Tipx-L 5794c7035b Optimize game.clearArena.
(cherry picked from commit f9404dacf991eb820bc71f074a2bbdf38cd71941)
2023-08-24 22:32:48 -07:00
Tipx-L bd6e3f5dcc Optimize game.clearConnect.
(cherry picked from commit be730a05759441fe88d71994128abd1f40107f6f)
2023-08-24 22:32:48 -07:00
Tipx-L a88791608d Optimize game.log.
(cherry picked from commit fdcc76c63e20aeb35a54c577a501cdcf523f30cb)
2023-08-24 22:32:48 -07:00
Tipx-L a3f91d4bd2 Optimize game.logv.
(cherry picked from commit 54fa9bf940490e8edf2727d8df50c2eab3c272d8)
2023-08-24 22:32:47 -07:00
Tipx-L 41bf403216 Optimize game.putDB.
(cherry picked from commit b622a90f06425d2d91e24fdb81472a721d4358e5)
2023-08-24 22:32:47 -07:00
Tipx-L 97db71b24b Optimize game.getDB.
(cherry picked from commit 9f72aebbbd86dff2fe99f683dedb592e1c78b810)
2023-08-24 22:32:47 -07:00
Tipx-L c16a92a24f Optimize game.deleteDB.
(cherry picked from commit 6f73878b5535787432deb583cd13c64d975c23e5)
2023-08-24 22:32:47 -07:00
Tipx-L c1367cce24 Optimize game.save.
(cherry picked from commit ee06c2d8d595136c41045687e1679b72594962df)
2023-08-24 22:32:47 -07:00
Tipx-L 61cedb172b Optimize game.showChangeLog.
(cherry picked from commit 62fdfe7fa2c58da1c9afcd82bf5b2f4931952f2b)
2023-08-24 22:32:41 -07:00
Tipx-L 3d4f04860b Optimize game.showExtensionChangeLog.
(cherry picked from commit c5eeb67e390a232b1a577d2c04a72f4119592754)
2023-08-24 22:11:50 -07:00
Tipx-L 4043bf1271 Optimize game.saveConfig.
(cherry picked from commit 3b86a39de119067bd5c2342d2050e78fc45782a5)
2023-08-24 22:11:46 -07:00
Tipx-L 76422bd9eb Optimize game.saveConfigValue.
(cherry picked from commit 55f527440f1f89139df738ea7e2539dd56a67d74)
2023-08-24 22:11:43 -07:00
Tipx-L defc586b65 Optimize game.saveExtensionConfig.
(cherry picked from commit 8dedca3c072d5ea22d83717230658ff7eb4a92e4)
2023-08-24 22:11:39 -07:00
Tipx-L 0a153bcf24 Add game.saveExtensionConfigValue.
(cherry picked from commit ee0c37fc6856458395d146996a89249cf7bee370)
2023-08-24 22:11:35 -07:00
Tipx-L 5cf7788ccb Optimize game.getExtensionConfig.
(cherry picked from commit ea243be12f87d4be0c1fcc87d6d5d53b44637cc9)
2023-08-24 22:11:32 -07:00
Tipx-L 38a8a11a02 Optimize game.clearModeConfig.
(cherry picked from commit 5e9d8d068b81e172da88032e6195bb5aad2d8a5f)
2023-08-24 22:11:28 -07:00
Tipx-L 5948ab207a Optimize game.addPlayer.
(cherry picked from commit e376bcdc6122914a2cc6f8c0880322dcea85b3b6)
2023-08-24 22:11:24 -07:00
Tipx-L 5536c0bbd9 Optimize game.addFellow.
(cherry picked from commit 5ec4bcd30c920726d2a7411de5bd8349a53ede2f)
2023-08-24 22:11:20 -07:00
Tipx-L 944cb075e3 Optimize game.triggerEnter.
(cherry picked from commit fb12fecfda619fc880ccbc0ba7b03024f1f0f990)
2023-08-24 22:11:16 -07:00
Tipx-L bbde8b2cb9 Optimize game.restorePlayer.
(cherry picked from commit 906e5d6b2c78d2837ec68eef63d093cef2da65fe)
2023-08-24 22:11:12 -07:00
Tipx-L b7ebba8f53 Optimize game.removePlayer.
(cherry picked from commit 662380e02d1e72d0867d07b0318b08b1e8066661)
2023-08-24 22:11:09 -07:00
Tipx-L 9d760011de Optimize game.replacePlayer.
(cherry picked from commit bb0f329ac931b154be0aa490d9192b92e8b68a93)
2023-08-24 22:11:05 -07:00
Tipx-L 65cb9d6172 Optimize game.arrangePlayers.
(cherry picked from commit e8dffce889b2bd9bf06e48df70fd5eb375e22802)
2023-08-24 22:11:01 -07:00
Tipx-L 940b0086d5 Optimize game.filterSkills.
(cherry picked from commit 570a9935d734c82ef986841f4ad43095053e8ddb)
2023-08-24 22:10:57 -07:00
Tipx-L b6ca7b534e Optimize game.expandSkills.
(cherry picked from commit fcc1d48119587ec9bb7a1e5f2470ee7c3dd3c1cb)
2023-08-24 22:10:53 -07:00
Tipx-L 71a801e279 Optimize game.css.
(cherry picked from commit dcf133dfaf344e56503890904293b88511896be9)
2023-08-24 22:10:50 -07:00
Tipx-L 4e66afb155 Optimize game.hasPlayer.
(cherry picked from commit 82333a3751f150f6108122a34279952d2b21d43d)
2023-08-24 22:10:45 -07:00
Tipx-L 0a544d01b3 Optimize game.hasPlayer2.
(cherry picked from commit ba85e81ecf38f41039295bcf440b1c6a89d4067e)
2023-08-24 22:10:42 -07:00
Tipx-L 674f45e8b8 Optimize game.countPlayer.
(cherry picked from commit df9c74b86040e6e576b643e8f094cec99372b397)
2023-08-24 22:10:38 -07:00
Tipx-L ed19d18f75 Optimize game.countPlayer2.
(cherry picked from commit e6af8abe7b7826bb6c7dc005f8f6c8106cc59c06)
2023-08-24 22:10:35 -07:00
Tipx-L d0e1063a9b Optimize game.findPlayer.
(cherry picked from commit 9819bceb12a930c4be2f4a189def95ba0f0568ce)
2023-08-24 22:10:29 -07:00
Tipx-L 762ea0dc6c Optimize game.findPlayer2.
(cherry picked from commit e4f85f6b5c5f95269babf777034a3b145f3d5736)
2023-08-24 22:10:25 -07:00
Tipx-L 60a1d59aa4 Optimize game.findCards.
(cherry picked from commit 7a80e7ed521bf8f54df35e715f026e91682e3164)
2023-08-24 22:10:20 -07:00
Tipx-L 57398a4ea4 Optimize game.countGroup.
(cherry picked from commit 0eac481969bcd104bf818e35889ed4fc1a0742f3)
2023-08-24 22:10:14 -07:00
Spmario233 94a3733d3e Border color, History change 2023-08-24 22:56:06 +08:00
Tipx-L fe7e5c7f44 Fix the return value type to make sure it is a boolean value. 2023-08-24 06:25:45 -07:00
Tipx-L 14f3f9bbbb Add the ability to customize the background image or music. 2023-08-23 09:17:50 -07:00
Tipx-L 357e612f8a Remove the prefix restriction of get.is.double. 2023-08-22 21:40:52 -07:00
Spmario233 96bbe319c7 孙翎鸾 AI, minus bug fix 2023-08-22 22:54:05 +08:00
Spmario233 7c5eac9734
Merge pull request #227 from Tipx-L/PR-Branch
Add the ability for lib.init.parsex to remove all comments before parsing, and fix recasting related errors.
2023-08-22 21:55:59 +08:00
Tipx-L 6b7d7915a7 Fix the name. 2023-08-22 02:23:03 -07:00
Tipx-L 0fd3a38939 Fix recasting related errors. 2023-08-22 02:17:49 -07:00