Commit Graph

2504 Commits

Author SHA1 Message Date
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
Spmario233 34cbcd2448 Update update.js 2023-09-05 19:46:05 +08:00
Spmario233 829658c05a v1.9.126.1 metadata 2023-09-05 19:18:22 +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 78b0a78217 v1.9.126 metadata 2023-09-02 20:09: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