Commit Graph

2468 Commits

Author SHA1 Message Date
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 9e3e7e5376 Revert "inherit,group,subSkill套娃"
This reverts commit 21f66e784b.
2023-10-06 00:47:09 +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
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