Commit Graph

3121 Commits

Author SHA1 Message Date
Spmario233 e05c9d2753
Merge pull request #668 from PZ157/PR-Branch
函数修改、ai优化
2023-11-24 00:32:15 +08:00
shijian a0bf1cfdee 部分代码写法优化 2023-11-23 23:16:14 +08:00
shijian 7e56e00ae2 添加显示不可枚举的属性 2023-11-23 22:54:05 +08:00
shijian d1cec2aa35 优化游戏内控制台数组类型的显示内容 2023-11-23 22:42:52 +08:00
shijian 06f1424496 优化游戏内控制台显示内容 2023-11-23 22:18:52 +08:00
shijian d8b333a995 游戏读写函数promise化:game.promises 2023-11-23 15:02:34 +08:00
shijian a146f461f0 游戏内控制台作用域优化 2023-11-23 14:33:46 +08:00
shijian 8acd060ff7 修复getAttackRange的错误 2023-11-23 13:44:50 +08:00
PZ157 3b763569ec 函数修改
filter: 数字则加减等量“手牌”再计算;
         函数则剔除不符合条件的手牌计算
add: 卡牌或牌组,类似数字
2023-11-23 11:48:31 +08:00
Spmario233 c5dd53b389
Merge pull request #660 from mengxinzxz/PR-Branch
技能效果调整+small bugfix
2023-11-22 22:58:43 +08:00
Spmario233 2f5c2320cb
Merge pull request #659 from nofficalfs/Dev-GoLikeChannel
Add `lib.channel` to give a method of message receiving.
2023-11-22 22:57:14 +08:00
Spmario233 94a339229b
Merge pull request #661 from PZ157/PR-Branch
bugfix
2023-11-22 22:56:43 +08:00
mengxinzxz 1c8c841bdd olxuanfeng的audioname2修正,添加OL界的prefix前缀 2023-11-22 10:41:13 +08:00
shijian de9d5755ec 低版本webview添加提示 2023-11-22 08:07:28 +08:00
PZ157 b52bac5f47 bugfix 2023-11-21 22:37:00 +08:00
Ansolve 1362ab457d
docs(lib): add docs for `lib.channel`. 2023-11-20 00:05:01 +08:00
Spmario233 647e6b289b
Merge pull request #658 from Tipx-L/PR-Branch
The Multiplayer Update: Part 2.
2023-11-19 23:33:02 +08:00
Spmario233 475518d7f9
Merge pull request #656 from copcap/dev-fixreflog
修复被回滚的一些内容
2023-11-19 23:32:06 +08:00
Rintim 28cc47d535
feat(lib): just add `lib.channel` which emulating channel of golang. 2023-11-19 23:25:23 +08:00
Tipx-L 8f436cdf0f Update `core-js-bundle`. 2023-11-19 01:34:41 -08:00
Tipx-L ee98aec7f9 Fix `get.modetrans`. 2023-11-19 01:25:30 -08:00
mengxinzxz 7429d47e0e 添加removeSkillLog机制,用于失去技能的播报 2023-11-19 09:24:55 +08:00
copcap e5e57f59ee
修复被回滚的内容 2023-11-19 06:30:19 +08:00
Tipx-L bd874da842 Truly support multiplayer with any capacity. 2023-11-18 06:36:09 -08:00
Tipx-L c42c184d28 Make `core-js` always available. 2023-11-18 06:36:09 -08:00
Spmario233 2b2e8885dc
Merge pull request #652 from nofficalfs/PR-PlayerPositionVituralCssImrpove
Transform `lib.init.sheet` to `game.dynamicStyle`
2023-11-18 22:16:15 +08:00
Spmario233 4279ad3b0e
Merge pull request #651 from nofficalfs/Dev-GlobalHandlerMove
Move `lib.handler` to fit position and fix its bugs.
2023-11-18 22:15:47 +08:00
Spmario233 d7e58fd410
Merge pull request #653 from copcap/dev-chara
新杀蒯祺
2023-11-18 22:15:36 +08:00
Rintim 01ca1438ae
pref(ui): trans sheet to `game.dynamicStyle`. 2023-11-18 01:51:18 +08:00
copcap c840f157f9
蒯祺 2023-11-18 01:51:07 +08:00
Rintim 899d0ceca7
pref(game): move `lib.handler` to `game.globalEventHandlers` and fix bugs. 2023-11-18 00:04:56 +08:00
Spmario233 f56a1c2b78
Merge pull request #647 from nofficalfs/PR-InitJsPromise
Add Promise-Async Methods for parts of `lib.init`
2023-11-17 22:42:05 +08:00
Spmario233 76b29d2e7f
Merge pull request #649 from mengxinzxz/PR-Branch
OL费祎
2023-11-17 22:39:46 +08:00
Spmario233 cda375f039
Merge pull request #648 from copcap/dev-chara
庞山民、乐蔡邕、曹轶;孙綝同步修改;增加部分武将原画
2023-11-17 22:39:36 +08:00
mengxinzxz 5865782281 添加特殊装备栏的废除卡牌 2023-11-17 21:40:14 +08:00
Ansolve b716d2e6ba
fix(docs:lib/init): copied `lib.init.json` error. 2023-11-16 22:40:50 +08:00
Spmario233 a35c02919d
Merge pull request #632 from nonameShijian/PR-Branch
修复网页版导出扩展弹窗的问题,修复状态栏设置失效的bug
2023-11-16 22:31:26 +08:00
Spmario233 9f45f1724a
Merge pull request #640 from nofficalfs/Dev-NewVersionPrepare
Preparation for new version.
2023-11-16 22:30:40 +08:00
Ansolve f09377e5a5
docs(lib/init): add docs for `lib.init.promises`. 2023-11-16 22:30:06 +08:00
Rintim 595ceb0168
feat(lib/init): add promise-returned methods of origin async methods 2023-11-16 22:15:09 +08:00
Ansolve 36b46f6371
fix(game): determine adding `event.step` when `event.step` is a number. 2023-11-16 18:21:02 +08:00
Ansolve c6c077b011
docs(lib): add `lib.announce` docs. 2023-11-16 18:15:54 +08:00
Rintim 933a91f9d0
feat: genContent may throw the step-like info. 2023-11-16 17:51:22 +08:00
kuangshen04 9f2edb1acc 变量名ybtype=>typeinfo 2023-11-16 09:59:26 +08:00
kuangshen04 c2777b48da 增加cardintro的显示信息(夜白原版提交 2023-11-16 09:53:40 +08:00
copcap 15d057d6f9
庞山民、乐蔡邕、曹轶;新增临时禁用技能相关方法 2023-11-16 07:01:47 +08:00
Rintim a41ccbdc1a
refactor: modify `lib.announce` to class instance. 2023-11-15 22:43:18 +08:00
Rintim 72e6f7e076
feat: add method to get core info. 2023-11-15 22:22:23 +08:00
kuangshen04 7045740450 parseSkillAudio正则小修 2023-11-14 16:53:26 +08:00
kuangshen04 943c0a3b7c tempSkills参数归一化 2023-11-14 16:50:26 +08:00
nonameShijian bf48a05fb7
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-11-14 14:58:53 +08:00
shijian acf978b8e8 修复网页版导出扩展弹窗的问题,修复状态栏设置失效的bug 2023-11-14 14:26:29 +08:00
Spmario233 34bb27e52e
Merge pull request #629 from copcap/dev-ddd
3D8新将+改将
2023-11-13 19:06:33 +08:00
copcap 3561597593
为moveCard和canMoveCard添加更多参数,用于部分移动场上的牌 2023-11-12 16:15:42 +08:00
Spmario233 b2debe610f
Merge pull request #620 from kuangshen04/PR-Branch
将无继承关系的hasOwnProperty改为in
2023-11-11 23:40:33 +08:00
Spmario233 704962ef28
Merge pull request #622 from copcap/dev-pic
bugfix;原画补充
2023-11-11 23:39:10 +08:00
copcap 5980622620
bugfix 2023-11-09 00:40:08 +08:00
Spmario233 f454e54a7d
Merge pull request #587 from nonameShijian/PR-Branch
联机模式(应用外)邀请功能, player.when和lib.init.parsex增加传递作用域的功能
2023-11-09 00:02:50 +08:00
kuangthree 7b0978d152 对GameEvent.insertAfter的参数做空值判断 2023-11-08 22:30:19 +08:00
shijian f12e3c1b6f player.when和lib.init.parsex增加传递作用域的功能 2023-11-08 09:02:22 +08:00
nonameShijian d2e04ff8a7
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-11-08 08:02:45 +08:00
kuangshen04 4aae8e4e4e 将无继承关系的hasOwnProperty改为in 2023-11-07 23:21:40 +08:00
Spmario233 020be275ed revert the return value of setBackground 2023-11-07 23:19:58 +08:00
copcap 468d29b298
自动用OL默认武将剪影代替无原画武将原画 2023-11-07 20:39:37 +08:00
Spmario233 8e23927898
Merge pull request #612 from universe-st/PR-Branch-ph
新增lib.handler,直接为事件名添加handler机制
2023-11-07 19:55:34 +08:00
Spmario233 5cd230c7d7
Merge pull request #614 from copcap/dev-chara
孙瑜;成济成倅;小程序刘伶;bug修复
2023-11-07 19:55:15 +08:00
copcap 04f9e2f132
成济成倅 2023-11-07 06:33:38 +08:00
kuangshen04 5da8b8c2dd nobracket与其他标签冲突修复 2023-11-07 02:49:17 +08:00
kuangshen04 8cddd98a5c fix some other bugs with eslint 2023-11-07 02:07:27 +08:00
kuangshen04 a4178cb2b9 fix some bugs with eslint 2023-11-06 23:22:32 +08:00
kuangshen04 8969a43b18 fix removeTrigger's duplication in Player 2023-11-06 23:04:30 +08:00
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 04fae733c1
拼音库更新 2023-10-30 22:59:05 +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