Commit Graph

2599 Commits

Author SHA1 Message Date
nonameShijian 87906bbffb
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-11-06 08:08:55 +08:00
copcap 54b7209c2a
调整“共同拼点”的log信息顺序 2023-11-06 01:26:41 +08:00
copcap 85c9db60ac
海外服新将调整&bug修复 2023-11-05 23:49:49 +08:00
kuangthree e066cfcaed 新增lib.handler,直接为事件名添加handler机制 2023-11-04 13:25:23 +08:00
copcap fc82058994
将判断是否为进攻/防御坐骑封装为函数 2023-11-04 03:49:07 +08:00
Spmario233 b243e548fe
Merge pull request #611 from copcap/dev-commoner
平民身份与年机制
2023-11-03 23:26:26 +08:00
copcap 6f1e9f90a3
更新联机房间提示 2023-11-03 17:42:18 +08:00
copcap 9ea221869c
调整缩进 2023-11-03 16:19:54 +08:00
copcap 5524237484
平民身份与年机制 2023-11-03 16:09:53 +08:00
kuangshen04 4734d47bcc fix some remove 2023-11-03 08:49:41 +08:00
shijian 70852b815f 完善联机模式(应用外)邀请功能-2 2023-10-31 08:05:54 -07:00
shijian fd9972f6f3 完善联机模式(应用外)邀请功能 2023-10-31 08:05:53 -07:00
shijian 985a64e218 联机模式(应用外)邀请功能 2023-10-31 08:05:52 -07:00
Spmario233 6443b2db9a v1.10.4 metadata 2023-10-31 21:13:30 +08:00
Spmario233 14caf50c53 bugfix 2023-10-31 20:00:20 +08:00
Spmario233 c1390119e9 bugfix 2023-10-31 19:57:01 +08:00
Spmario233 abaebb2793 修复联机创建房间不考虑动态人数问题 2023-10-31 17:37:49 +08:00
Spmario233 8204a42dc8 bugfix 2023-10-31 17:16:58 +08:00
Spmario233 84244508fd 联机模式 坐骑栏设置 2023-10-31 11:50:37 +08:00
Spmario233 ef7c248e3d Revert "调整合并坐骑栏选项至显示菜单"
This reverts commit 5778c052f4.
2023-10-31 11:47:11 +08:00
lieren2023 41ce79e2e7
帮助nonameShijian提的修复
录像菜单显示问题修复
2023-10-31 00:05:52 +08:00
lieren2023 4428b7cbf6
调整鏖战模式选项顺序(联机) 2023-10-31 00:03:15 +08:00
lieren2023 5778c052f4
调整合并坐骑栏选项至显示菜单 2023-10-30 23:09:20 +08:00
lieren2023 38ff373a93
调整鏖战模式选项顺序 2023-10-30 22:38:31 +08:00
lieren2023 5d2d3877be
修复updatePlayerPositions的注释 2023-10-30 22:33:39 +08:00
Spmario233 7c251db6ed
Merge pull request #600 from universe-st/PR-Branch-k2
fix讨逆
2023-10-29 23:29:51 +08:00
kuangthree d883bb7d2a 帮shijian PR的,fix 2023-10-29 19:32:45 +08:00
Spmario233 57c1c7c09a remove Object.hasNature 2023-10-28 22:15:52 +08:00
Spmario233 199cb93bbd
Merge pull request #596 from Tipx-L/PR-Branch
More about handlers.
2023-10-28 21:43:45 +08:00
kuangthree f470146b8c 改进两个猜测牌的AI 2023-10-28 19:38:21 +08:00
Tipx-L f2963f6178 More about handlers. 2023-10-28 03:13:23 -07:00
Spmario233 3d27ea4c28 bug fixs 2023-10-28 15:38:19 +08:00
Spmario233 6b08d70dc2 fix glichy bug 2023-10-28 15:17:12 +08:00
Spmario233 1aa712619d
Merge pull request #592 from Tipx-L/PR-Branch
One More Thing.
2023-10-28 15:07:41 +08:00
Spmario233 1ed20090a0
Merge pull request #594 from universe-st/PR-Branch-k
添加知情牌机制,辅助AI判断行动收益。
2023-10-28 15:04:49 +08:00
Spmario233 1509e50121 修改card.destroyed 2023-10-28 15:02:35 +08:00
Tipx-L 810ca75389 Ensure the compatibility, and fix the error when clicking again on a identity card. 2023-10-27 22:54:25 -07:00
Tipx-L 832cf82220 Fix `get.is.sameNature`, `get.is.differentNature`, and add `get.seatTranslation`. 2023-10-27 22:54:25 -07:00
Spmario233 ce9ecf3d7b 拆分player.init,player.reinit,player.uninit 2023-10-28 13:47:47 +08:00
Spmario233 754b7ca40c 拆分card.init和card.$init 2023-10-28 13:17:01 +08:00
kuangthree d7c845b2c3 修改知情牌的设置逻辑 2023-10-28 12:50:44 +08:00
kuangthree 9acf92d2ac 修改获得牌时的知情逻辑 2023-10-28 12:46:19 +08:00
kuangthree deb7757b88 背面朝上失去手牌后,所有手牌清空知情人 2023-10-28 12:36:12 +08:00
kuangthree 15c61886be 修改部分单词拼写 2023-10-28 11:40:24 +08:00
kuangthree 6992562ab7 添加gain的自定义知情信息 2023-10-28 11:31:48 +08:00
kuangthree f6b6f0f26c 添加知情牌机制,辅助AI 2023-10-28 11:16:18 +08:00
Spmario233 bbcc7233a2 销毁机制bug修复2 2023-10-28 01:36:06 +08:00
Spmario233 2d9c40f41c 销毁机制bug修复 2023-10-28 01:08:26 +08:00
Spmario233 e7d22b9cd1 销毁机制修改 [Experimental] 2023-10-28 00:57:08 +08:00
mengxinzxz a356872e4d
星曹仁 2023-10-27 23:31:08 +08:00
copcap e7799ed3f5
修复`ui.create.identityCard`在触屏模式的问题 2023-10-27 03:07:26 +08:00
Spmario233 ea1793c0b7 Update game.js 2023-10-26 22:53:51 +08:00
Spmario233 f5584b832a move ui.updateRoundNumber 2023-10-26 22:52:31 +08:00
Spmario233 ade93d5fe3
Merge pull request #584 from copcap/dev-number-change
调整技能描述里汉字和数字
2023-10-26 22:48:19 +08:00
Spmario233 a71817b5c1
Merge pull request #583 from Tipx-L/PR-Branch
The Multiplayer Update: Extra.
2023-10-26 22:48:07 +08:00
Spmario233 88c0a2e112
Merge pull request #580 from PZ157/PR-Branch
部分技能ai优化
2023-10-26 22:46:08 +08:00
Spmario233 fdeffbfc36
Merge pull request #579 from copcap/dev
旧神赵云;配音补充;bug修复
2023-10-26 22:45:30 +08:00
157 fb3bb3521e
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-26 22:45:25 +08:00
Spmario233 65d4f92a9f
Merge pull request #577 from kuangshen04/PR-Branch
完善trySkillAudio注释/拆分
2023-10-26 22:44:48 +08:00
157 2a7941812a
微调猜杀猜闪函数
增加形参ignore,ignore牌/牌组不参与此次猜测;
默认选择的牌(ui.selected.cards)不纳入猜测区域
2023-10-26 20:28:44 +08:00
copcap eceafca776
修复虚拟伤害能触发`damageBegin1`的时机的bug 2023-10-26 18:59:30 +08:00
copcap 57abab0295
Revert "修复导致OL彭羕/神马超等出错的bug"
This reverts commit c857ae51bd.
2023-10-26 18:56:18 +08:00
copcap d41fd31bb8
调整技能描述里汉字和数字 2023-10-26 18:44:24 +08:00
Tipx-L eee7e72992 Fix the loading screen when `lib.init.layout`. 2023-10-26 01:02:35 -07:00
Tipx-L 00072acb39 Fix `ui.click.ok` and eliminate all shorthand name usages of object initializing. 2023-10-26 01:02:35 -07:00
Tipx-L 49a0439a34 Fix and decouple `game.updateRoundNumber`. 2023-10-26 01:02:35 -07:00
shijian 2cf397da7f player.when新增vars配置,尝试修复then中箭头函数不带大括号报错我问题 2023-10-26 11:21:30 +08:00
copcap 4404cb09aa
部分重写OL吕伯奢 2023-10-26 05:24:11 +08:00
kuangshen04 65990f92d1 完善注释2 2023-10-25 18:41:53 +08:00
kuangshen04 8777d8d63e bug fix 2023-10-25 16:43:20 +08:00
kuangshen04 47526cb8b9 把trySkillAudio的分析地址部分拆分成parseSkillAudio 2023-10-25 16:06:47 +08:00
copcap 1c9fe805f0
神贾诩点不了身份牌bug修复 2023-10-25 15:27:37 +08:00
copcap c857ae51bd
修复导致OL彭羕/神马超等出错的bug 2023-10-25 02:38:54 +08:00
kuangshen04 26fb07426b 完善trySkillAudio注释 2023-10-24 14:47:27 +08:00
Spmario233 52ee2958e6
Merge pull request #574 from CatIgnore/update-changeHujia
完善护甲机制,修复护甲失效时damagepop不正确的bug
2023-10-24 12:28:42 +08:00
Spmario233 0b674dfd3e
Merge pull request #575 from mengxinzxz/PR-Branch
吕伯奢、旧(界)关羽、OL牵招(调整)、bugfix
2023-10-24 12:28:00 +08:00
Tipx-L 46dd327887 Fix `updateTransform`. 2023-10-23 21:02:37 -07:00
Tipx-L f976299a0e Optimize code and fix more bugs. 2023-10-23 20:13:23 -07:00
Tipx-L 661813cdc8 Add the handler mechanic, property operation methods, and greatly optimize stratagem mode. 2023-10-23 20:13:22 -07:00
Tipx-L 9e9283ecaf Make Kingdom War: Separatism online ready. 2023-10-23 20:13:22 -07:00
Tipx-L 9d8bf314b4 Support more players and identities. 2023-10-23 20:13:21 -07:00
Tipx-L 8e361409a4 Revert `get.itemtype`. 2023-10-23 20:13:21 -07:00
mengxinzxz ecba8d4dcc
修复模式禁用技能不影响dynamicTranslate的bug 2023-10-24 08:47:10 +08:00
CatIgnore 81413bc494
优化护甲上限逻辑
优化护甲超出上限后的获得逻辑
2023-10-24 00:33:54 +08:00
CatIgnore 4b69a510c7
完善护甲机制,修复护甲失效时damagepop不正确的bug 2023-10-23 23:38:44 +08:00
CatIgnore f6fd5259de
Update game.js 2023-10-23 23:25:59 +08:00
CatIgnore 96e5a464a9
修复护甲失效时damagepop错误的bug
修复damage函数animate部分中,定义numx时未判断角色护甲是否失效,导致之后的$damagepop即使在角色护甲失效时也计算角色护甲的bug
2023-10-22 13:17:15 +08:00
Spmario233 54cc0b2e47
Merge pull request #564 from lieren2023/codespace-ominous-tribble-qwpwr4xw5qghr5j
前缀回滚-☆SP、修改J.SP前缀,showName均改为SP
2023-10-22 12:30:09 +08:00
CatIgnore 3148fdb8a7
Update game.js 2023-10-22 12:09:50 +08:00
CatIgnore 34530c6ccf
优化代码逻辑,log时机统一提到护甲变化前 2023-10-22 11:58:33 +08:00
lieren2023 202cc07db7
Add files via upload 2023-10-22 01:03:35 +08:00
lieren2023 0f3d4a0ec2
showName均改为SP 2023-10-22 00:45:28 +08:00
CatIgnore f4aa4915f1
Update game.js 2023-10-22 00:39:28 +08:00
CatIgnore 644a534b4e
Update changeHujia
修改changeHujia函数,增加失去护甲的log,将护甲抵挡伤害的log移动至该函数
对应谋曹仁(及可能出现的谋关羽)等武将的不因伤害而失去护甲的机制
2023-10-22 00:34:21 +08:00
lieren2023 cf33f42351
Add files via upload 2023-10-21 23:51:56 +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
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