Commit Graph

3199 Commits

Author SHA1 Message Date
lieren2023 02989d5cf9
Add files via upload 2023-10-21 23:22:12 +08:00
lieren2023 8c5c09bf07
minor fix1 2023-10-21 23:13:09 +08:00
Spmario233 46116b5091
Merge pull request #555 from nofficalfs/Dev-DynamicStyleAdvance
Game DynamicStyle Classified and Documentified Refactor
2023-10-21 00:09:58 +08:00
Spmario233 db3f3cbe16
Merge pull request #554 from BauxiteAl/PR-Branch
修改了`$throwEmotion`及其相关的一系列函数
2023-10-21 00:09:15 +08:00
157 654393c0e6
删TODO注释 2023-10-20 11:48:16 +08:00
Rintim a5966cd533
fix: compatibleEdition supported 2023-10-20 01:39:19 +08:00
Rintim 68b8e81dad
refactor: dynamicStyle patch class. 2023-10-20 01:19:24 +08:00
Spmario233 d9ca869c81 fix some const 2023-10-19 21:58:13 +08:00
BauxiteAl 3576e46fb0 修改了$throwEmotion及与其相关的一系列函数 2023-10-19 13:40:39 +08:00
BauxiteAl c923e846db 修改了throwEmotion及其一系列函数,新增一个rotate参数让投掷表情旋转 2023-10-19 13:22:27 +08:00
Spmario233 9123425a7c 消灭lib.element遍历 2023-10-18 12:07:33 +08:00
Spmario233 638ac38f21
Merge pull request #511 from nofficalfs/PR-Enhancement-EventDebuggerPatch
支持额外类型Content的Debugger
2023-10-18 11:03:19 +08:00
Spmario233 d036108ce7
Merge pull request #550 from copcap/dev-jsrg-zhuan
江山如故·转
2023-10-18 10:55:09 +08:00
copcap b1a6cfd967
江山如故·转 2023-10-18 08:44:53 +08:00
Tipx-L 409cba569f Add methods for cards. 2023-10-17 08:49:20 -07:00
Spmario233 55f1dbf273 bugfix++ 2023-10-17 23:09:16 +08:00
Spmario233 ab87506a79 bugfix 2023-10-17 22:51:51 +08:00
Spmario233 89186ff31b 身份牌实例 2023-10-17 22:34:02 +08:00
kuangthree e7bc81b6e8 将部分player、card构造方法中部分函数抽出 2023-10-16 23:56:57 +08:00
Spmario233 f29d8a7aff
Merge pull request #546 from Tipx-L/PR-Branch
The Object-oriented Update
2023-10-16 21:29:07 +08:00
Tipx-L 31797b1f16 Optimize the user experience of joining a server in connect mode. 2023-10-16 06:13:13 -07:00
Tipx-L 7af2244485 Finish the constructor of VCard. 2023-10-15 23:42:18 -07:00
Tipx-L b5c704264c Finally fix TypeScript bugs. 2023-10-15 23:42:17 -07:00
Tipx-L 23aaa9e284 Start to add VCard class. 2023-10-15 23:41:22 -07:00
Tipx-L e0020298ab Add the ability of chain calling for events, and fix several connect mode bugs. 2023-10-15 23:41:22 -07:00
Tipx-L bc14608256 Add NodeWS class. 2023-10-15 23:38:48 -07:00
Tipx-L 8cd11aff03 Add Client class. 2023-10-15 23:38:48 -07:00
Tipx-L f914a18137 Add Button class. 2023-10-15 23:38:47 -07:00
Tipx-L 03445f5772 Add Control class. 2023-10-15 23:38:47 -07:00
Tipx-L 0e2864e9dc Add Dialog class. 2023-10-15 23:38:47 -07:00
Tipx-L aa0a8027a1 Add Card class. 2023-10-15 23:38:47 -07:00
Tipx-L 3208e381d4 Add Player class. 2023-10-15 23:38:47 -07:00
Tipx-L 2a1ec062ac Add Event class. 2023-10-15 23:38:47 -07:00
shijian 1fa14c3c7f 修正event.debugger()的判断,lib.init.parsex去除99个step的限制 2023-10-16 08:58:31 +08:00
Spmario233 9c2a6a5fdb 一大堆bugfix 2023-10-16 00:12:04 +08:00
Spmario233 55ab4bf444
Merge pull request #531 from S-N-O-R-L-A-X/PR-Branch
两个小fix
2023-10-15 22:12:56 +08:00
S-N-O-R-L-A-X 191ad9ba2c fix: replace ol_guansuo with dc_guansuo 2023-10-15 16:38:46 +08:00
copcap 9d9caf8bbd
神贾诩 2023-10-15 09:06:12 +08:00
Spmario233 3f91566a0c 移除怒气隐藏 2023-10-14 22:20:10 +08:00
Spmario233 67f73e83e4
Merge pull request #526 from copcap/dev-mougong
谋攻篇模式
2023-10-14 21:41:58 +08:00
copcap aed5e22792
谋攻篇模式 2023-10-14 21:27:05 +08:00
kola-king b1219c05d5
Merge branch 'PR-Branch' into testtttest 2023-10-13 14:22:02 -07:00
kola-king 926ce8a30f
Add files via upload 2023-10-13 10:34:48 -07:00
kola-king b27f9c4ebc
Add files via upload 2023-10-13 10:27:36 -07:00
Spmario233 c4d462ac89
Merge pull request #520 from nofficalfs/Dev-FixGetNoArgs
#514 补充修订
2023-10-13 16:09:37 +08:00
Rintim 93b2dbc0ab
perf: just expresion determined. 2023-10-13 01:32:44 +08:00
Rintim 7920763001
perf: use lambda refactor. 2023-10-13 01:25:54 +08:00
Rintim f49fc05864
fix: `get.population` returnType error. 2023-10-13 01:23:16 +08:00
shijian cdbcd188e4 修改.eslintrc.json的缩进,注释掉部分无用代码 2023-10-12 19:42:39 +08:00
Rintim 6e0364795b
fix: type hint fixed. 2023-10-12 18:28:54 +08:00
Spmario233 f667edd06f
Merge pull request #515 from nofficalfs/Dev-FixGetNoArgs
修复`get`函数存在传入类数组无`map`方式
2023-10-12 16:22:28 +08:00
Spmario233 15299819d8 坐骑栏合并机制 2023-10-12 16:21:15 +08:00
Rintim f3ba61cbb9
fix: make work must ok. 2023-10-12 16:06:07 +08:00
Rintim b120d83d43
fix: get not array.
Fix github:noname#514.
2023-10-12 13:02:01 +08:00
Spmario233 fcb204e251
Merge pull request #510 from mengxinzxz/PR-Branch
die_audio修改使其支持播放本体任意武将阵亡配音
2023-10-11 23:15:48 +08:00
Spmario233 eff8b9dc10
Merge pull request #513 from nofficalfs/PR-Enhancement-GetItemAdvance
优化`get`中函数的性能并提供一个新的函数
2023-10-11 23:14:27 +08:00
Rintim 57bda3c309
feat: use morden method. 2023-10-11 21:48:52 +08:00
Rintim 39a95d8646
feat: add `get.event<T>(key?: string): Event | T`.
Giving argument, it will return value to the key of current event.
Otherwise it will return the event itself.
2023-10-11 20:43:41 +08:00
Rintim 2dd55293d2
perf: use lambda instead of function. 2023-10-11 20:40:58 +08:00
mengxinzxz 15c065bf3d
die_audio添加播放本体任意武将阵亡配音的机制 2023-10-11 16:19:49 +08:00
Spmario233 d299123229 bugfix 2023-10-11 16:06:18 +08:00
Spmario233 c781e69408 连环 update 2023-10-11 15:39:18 +08:00
Rintim 6afbb56165
feat: support origin debugger in new-style content. 2023-10-11 14:39:05 +08:00
shijian 493266d0c3 回滚addarray 2023-10-11 09:55:57 +08:00
nonameShijian 191a704ddf
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-11 09:42:03 +08:00
shijian 9a7ac81325 game.prompt输入框停止冒泡 2023-10-11 09:41:04 +08:00
shijian 5a5f196471 content函数增加debugger功能 2023-10-11 09:31:13 +08:00
kuangthree 2566c9ce3c [BUGFIX]修复不正确调用lib.placePoppedDialog引起的问题 2023-10-10 22:28:58 +08:00
kuangthree 2debb92e61 [BUGFIX]修复上个属性配音相关PR报错问题。 2023-10-10 22:22:18 +08:00
Spmario233 351ed7892e
Merge pull request #500 from universe-st/PR-Branch-cardaudio
增加属性伤害音效逻辑、属性杀音效逻辑
2023-10-10 21:48:52 +08:00
Spmario233 e3b708cb4f
Merge pull request #502 from kuangshen04/noname-trySkillAudio
`trySkillAudio`究极大改
2023-10-10 21:47:48 +08:00
Spmario233 bc3cfea792
Merge pull request #498 from universe-st/PR-Branch
修复checkMod有概率报错的问题。
2023-10-10 21:47:31 +08:00
nonameShijian debf1edb99
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-10 18:35:04 +08:00
kuangshen04 afe8fccfe4 注释掉console的输出 2023-10-10 18:27:16 +08:00
kuangshen04 832340992d trySkillAudio究极大改 2023-10-10 17:54:42 +08:00
Spmario233 e6fa9b0b61 部分时机更改 2023-10-10 17:07:44 +08:00
Spmario233 92ba825c20 bugfix 2023-10-10 16:32:17 +08:00
kuangthree df204fee0b 增加属性伤害音效逻辑、属性杀音效逻辑 2023-10-10 08:58:18 +08:00
huanyu 2df43e2dc2
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-09 22:49:45 +08:00
kuangthree d20a4523e7 修复checkMod报错问题 2023-10-09 22:49:07 +08:00
Spmario233 90159276b8 回合事件究极大改 2023-10-09 16:12:22 +08:00
shijian 6659d861d4 addArray去重优化 2023-10-09 09:27:02 +08:00
shijian fc216fc852 修改Array.prototype.addArray 2023-10-09 08:07:02 +08:00
Spmario233 9d5b8192dc bugfix 2023-10-09 00:23:56 +08:00
Spmario233 b4f1dabbca
Merge pull request #487 from kuangshen04/PR-Branch
`Array.prototype`更改
2023-10-08 23:13:39 +08:00
kuangshen04 6dcd1d0cfe 1 2023-10-08 15:33:48 +08:00
kuangshen04 98e59a4427 fix 2023-10-08 15:27:41 +08:00
kuangshen04 27ddea0730 去空格,优化addArray,removeArray性能 2023-10-08 15:19:27 +08:00
Spmario233 2a9e2a20a9 修复拼音库bug+markSkillCharacter bug 2023-10-08 14:58:15 +08:00
Spmario233 808f0ee48b
Merge pull request #490 from nofficalfs/PR-Enhancement-SkillAudioFullPath
[Enhancement] 技能的配音文件可以直接给语音地址
2023-10-08 14:48:32 +08:00
Spmario233 381211290b
Merge pull request #486 from BauxiteAl/PR-Branch
让`cardNameLength`可输入字符串牌名直接输出牌名字数
2023-10-08 14:38:25 +08:00
Spmario233 6bce6619fb
Merge pull request #485 from nonameShijian/PR-Branch
自定义提示框执行后额外执行一次lib.placePoppedDialog
2023-10-08 14:38:03 +08:00
Spmario233 a79c064adf
Merge pull request #483 from nofficalfs/PR-Enhancement-ShowMaxhandLimitInNodeintro
[Enhancement] 在武将的`nodeintro`显示武将的手牌上限
2023-10-08 14:37:44 +08:00
Rintim 44ec5e1693
docs: add not-compelete todo. 2023-10-08 13:14:37 +08:00
Rintim c370663f08
perf: direct determination in object filter. 2023-10-08 12:49:46 +08:00
Rintim 3a493a3306
style: fix space. 2023-10-08 03:52:02 +08:00
Rintim fc77521b78
fix: `audioname2` cannot appear in `ui.click.charactercard`. 2023-10-08 03:10:38 +08:00
Rintim 9efa75c49a
feat: skill audio full path supported. 2023-10-08 02:56:12 +08:00
kuangshen04 e0f9e919c7 array.prototype 2023-10-07 23:10:54 +08:00
BauxiteAl 1d4c880157 让cardNameLength可输入字符串牌名直接输出牌名字数 2023-10-07 22:17:38 +08:00
shijian 89158ae2af 自定义提示框执行后额外执行一次lib.placePoppedDialog 2023-10-07 20:12:08 +08:00
Rintim b64b9faf5a
feat(view): show player handcardLimit in nodeintro. 2023-10-07 19:24:43 +08:00
mengxinzxz dd3f1db366
lib.filter.filterTrigger修复无法获取get.info(skill)时报错的bug 2023-10-07 17:09:29 +08:00
Spmario233 d8ffa36703
Merge pull request #479 from nofficalfs/PR-Bug-HasHistoryFilterNotExist
[Bug] 修复`Player#hasHistory`必须携带`filter`才能使用
2023-10-07 12:47:46 +08:00
Spmario233 5af7096471
bugfix (#480)
* fix 关索

* bugfix

* fix some bugs

* 联机选将bug修复
2023-10-07 12:22:43 +08:00
Rintim a8b2128537
fix: `Player#hasHistory` have not to need a filter. 2023-10-06 17:12:14 +08:00
Spmario233 96d7a749c1 v1.10.3.1 metadata 2023-10-06 00:55:17 +08:00
Spmario233 9e3e7e5376 Revert "inherit,group,subSkill套娃"
This reverts commit 21f66e784b.
2023-10-06 00:47:09 +08:00
Spmario233 efac45eaaa Update update.js 2023-10-06 00:26:52 +08:00
Spmario233 f21c9d82ea v1.10.3 2023-10-05 22:30:48 +08:00
Rintim Theopse a212b61c66
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-05 20:13:44 +08:00
Rintim e50f757d77
fix announce cache memory collection. 2023-10-05 20:10:06 +08:00
Rintim 608f396d71
add announce cache. 2023-10-05 19:58:41 +08:00
Spmario233 16dc717277
Merge pull request #471 from nofficalfs/PR-Enhancement-Path
[Enhancement] 读取完整的` path-browserify`库
2023-10-05 19:54:01 +08:00
Rintim 6d90b83840
modify announce patch. 2023-10-05 19:43:41 +08:00
Rintim 79bebc147a
make `game.js` load `path.js` instead of `path.min.js`. 2023-10-05 18:21:41 +08:00
Rintim 48f0cd2d15
add `path.js` and remove `path.min.js`. 2023-10-05 18:21:05 +08:00
Spmario233 c0e7d33606
Merge pull request #466 from universe-st/PR-Branch-PSPattern
新增lib.announce库,使用订阅/发布模式,实现扩展间解耦调用。
2023-10-05 14:59:20 +08:00
Tipx-L d67bda46f6 Add `lib.compatibleEdition`. 2023-10-04 23:04:18 -07:00
Tipx-L 882af5c6f9 Import [core-js-bundle](https://github.com/zloirock/core-js). 2023-10-04 23:04:08 -07:00
Spmario233 055ab0af58 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-10-05 13:47:50 +08:00
Spmario233 b9b038a589 给根节点的event添加事件方法 2023-10-05 13:47:48 +08:00
kuangthree 52104973b3 新增lib.announce库,使用订阅/发布模式,实现扩展间解耦调用。 2023-10-05 13:25:28 +08:00
Spmario233 d06c7ac222
Merge pull request #465 from lieren2023/lieren2023-patch-33
资料页试听阵亡配音先改回旧版
2023-10-05 13:11:40 +08:00
lieren2023 9635174f26
资料页试听阵亡配音先改回旧版 2023-10-05 13:07:03 +08:00
Spmario233 560f7965cd
Merge pull request #464 from universe-st/PR-Branch
使用缓存机制,优化了存有大量手牌时,chooseToDiscard的AI的计算速度。增加一个公用的缓存方法
2023-10-05 12:57:23 +08:00
Spmario233 c3608b7ef9 bug fixs 2023-10-05 12:53:01 +08:00
kuangthree 0232fbd7ad fix 2023-10-05 12:46:01 +08:00
kuangthree 592d748099 使用缓存机制,优化了存有大量手牌时,chooseToDiscard的AI的计算速度。增加一个公用的缓存方法 2023-10-05 12:39:23 +08:00
shijian 34bfe5c4d7 少加了一句代码 2023-10-05 01:48:04 +08:00
nonameShijian 4daf9f7c16
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-05 01:39:58 +08:00
shijian 3bc4701f89 扩展界面增加阵亡配音功能 2023-10-05 01:38:47 +08:00
shijian c430e63dc3 修改playAudio的onerror 2023-10-05 00:23:17 +08:00
shijian 18b9c34525 修复代码编辑器ui bug 2023-10-05 00:20:16 +08:00
Spmario233 f69c4a5615 "position" for guohe_copy2 and shunshou_copy2 2023-10-05 00:01:19 +08:00
Spmario233 3af933f113
Merge pull request #461 from nofficalfs/PR-Enhancement-StorageFixAdvance
[Enhancement] `Storage`系列函数直接调用`markSkill`
2023-10-04 22:46:51 +08:00
Rintim 66f42ed424
congratulate on *Kami-sama ni Natta Hi*. 2023-10-04 21:15:40 +08:00
Rintim 20bbcc2b20
add unnoticed. 2023-10-04 21:09:48 +08:00
Rintim 2dcc9f43e1
fix bug. 2023-10-04 21:02:48 +08:00
Spmario233 d3f5fdcf4e player.getEquipRange() 2023-10-04 18:50:29 +08:00
Rintim 6b41bae90d
modify logic. 2023-10-04 18:21:34 +08:00
Rintim e5eb79ca2e
let storage markable. 2023-10-04 18:06:15 +08:00
Rintim 1f15c83685
add `Player#setMark`. 2023-10-04 17:24:39 +08:00
Spmario233 f4d872df68
Merge pull request #460 from lieren2023/lieren2023-patch-32
修复关闭触屏模式时手机端长按多弹出一个介绍框的bug
2023-10-04 16:36:03 +08:00
Rintim eb0af0d3fc
fix bug. 2023-10-04 14:35:06 +08:00
lieren2023 e8e04e7e7b
修复关闭触屏模式时手机端长按多弹出一个介绍框的bug 2023-10-04 12:37:58 +08:00
Spmario233 28c26caf6c
Merge pull request #458 from xiaoas/PR-Branch
fix unwanted promise rejection & exceptions
2023-10-04 00:03:26 +08:00
Spmario233 7666846230 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-10-03 21:07:48 +08:00
Spmario233 151b058ff2 fix 孔融 2023-10-03 21:03:19 +08:00
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 7787a3ed5f v1.10.2.1 metadata 2023-09-30 02:07:00 +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 1002688570 v1.10.2.1 metadata 2023-09-30 01:00:03 +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 03731d2844 Update update.js 2023-09-28 22:01:35 +08:00
Spmario233 dbf9cb14e8 final attack! 2023-09-28 21:58:14 +08:00
Spmario233 c61c3d363a
Merge pull request #421 from lieren2023/codespace-miniature-barnacle-gg7g9rpg6p53ppg7
拼音库更新
2023-09-28 20:57:32 +08:00
Spmario233 28c542efef
Merge pull request #420 from nofficalfs/PR-Enhancement-someFunctionsAdd
[Enhancement] 添加一些函数
2023-09-28 20:56:36 +08:00
lieren2023 799675fdba
拼音库更新 2023-09-28 20:31:08 +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 6f8048f771 metadata update 2023-09-28 13:04:31 +08:00
copcap f97557425c
手杀☆周不疑;一将成名2023:陈式、费曜、孙礼、夏侯楙 2023-09-28 12:43:57 +08:00
Spmario233 c0e0ce83bc metadata update 2023-09-28 11:25: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 2a95d4748a
Merge pull request #368 from lieren2023/lieren2023-patch-26
双将禁配:如意+流矢
2023-09-21 18:43:36 +08:00
Spmario233 acef15385e
Merge pull request #367 from Tipx-L/PR-Branch
Introduction.
2023-09-21 18:43:24 +08:00
Spmario233 2c9d872a29
Merge pull request #365 from lieren2023/PR-branch
拼音库更新
2023-09-21 18:42:46 +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
lieren2023 f3cb6784e7
双将禁配:如意+流矢 2023-09-20 23:32:12 +08:00
lieren2023 665686663d
fix 2023-09-20 23:31:09 +08:00
Spmario233 cfa31f19f6 fix 折戟 2023-09-20 21:27:05 +08:00
mengxinzxz 0f642a46bf
修复回滚 2023-09-20 19:26:25 +08:00
lieren2023 7247e075c5
拼音库更新 2023-09-20 16:28:49 +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 8682cd0808 v1.10.1.0.1 metadata 2023-09-18 21:02:48 +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 f6b368d785 v1.10.1 metadata 2023-09-18 13:53:42 +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
lieren2023 9c86dcdc62
update pinyinjs.js 2023-09-18 12:06:33 +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 558d33d54d fix pinyinjs 2023-09-17 15:18:33 +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