Commit Graph

997 Commits

Author SHA1 Message Date
shijian 71e49f1a15 本体引用的Array#contains全部改为Array#includes,且contains提示弃用 2023-12-29 23:32:33 +08:00
157 0163689c92 修复【火攻】没有添加知情者的bug 2023-12-29 21:15:16 +08:00
157 6d65fae521 Revert "修复【火攻】不能正常添加知情者的bug"
This reverts commit e840997693.
2023-12-29 21:05:22 +08:00
157 e840997693 修复【火攻】不能正常添加知情者的bug 2023-12-29 20:58:58 +08:00
157 c42da2ac0b 更新needsToDiscard的相关调用
顺便修复武诸葛亮【智哲】牌ai
2023-12-29 15:59:41 +08:00
157 81385a8fe4 【文和乱武】增加态度检测 2023-12-29 14:22:31 +08:00
157 e529fbb979 优化调整needsToDiscard函数
add形参加入“额外牌”
filter作为专门代替函数
pure可返回负数
2023-12-29 11:36:51 +08:00
157 38801acdcc 为调用mayHaveShan的函数增加参数
也包括mayHaveSha
2023-12-29 09:57:38 +08:00
157 d0a3222339 增加“卡牌”draw并更新本体相关ai 2023-12-27 16:56:34 +08:00
157 936831fec4 差点儿忘了 2023-12-27 15:54:50 +08:00
157 b69f5fa7e6 优化【太平要术】ai 2023-12-27 15:53:07 +08:00
157 a81c5c5c9f 优化【文和乱武】ai 2023-12-27 08:53:29 +08:00
157 b40817bc68 bugfix 2023-12-27 08:33:20 +08:00
157 3f4b30a1e8 bugfix, ai优化 2023-12-26 22:15:32 +08:00
157 413e4e2848 优化【贞烈】【横骛】【飞扬】ai 2023-12-26 09:59:11 +08:00
157 56a77baea1 用_trueMe检查使用者是否态度不端
isMad()已在attitude里检测,故移除
2023-12-25 16:44:05 +08:00
157 475201527a 回滚【杀】ai 2023-12-25 16:11:46 +08:00
157 e4e4bf41e2 bugfix 2023-12-22 16:17:57 +08:00
157 a97983921b 优化部分负面装备ai 2023-12-21 15:50:59 +08:00
157 ef08cb6b9e 优化部分负面装备ai 2023-12-21 10:40:40 +08:00
PZ157 8df3f4d55a 少粘贴一行代码[尴尬] 2023-12-17 11:15:52 +08:00
157 a86e2e4ed7
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-12-14 20:01:50 +08:00
PZ157 b5433f71a9 优化典孙权【制衡】和【酒】ai 2023-12-10 19:07:30 +08:00
PZ157 af73425f94 Update standard.js 2023-12-08 22:11:46 +08:00
PZ157 b42df2bed3 【杀】ai 2023-12-07 16:50:04 +08:00
PZ157 719963a949 【杀】ai bug修复 2023-12-06 23:55:35 +08:00
PZ157 c692156691 以防万一 2023-12-06 15:22:56 +08:00
PZ157 a56e9aa42e bugfix 2023-12-06 15:13:15 +08:00
lieren2023 1a6ded86d4
minor fix for card 2023-12-05 19:03:36 +08:00
PZ157 92877ce163 ai优化 2023-12-04 18:09:47 +08:00
PZ157 b9d27a128a 大幅调整杀order和酒result,bug修复
杀的order时间复杂度降下来了,基本可以避免用一卡一的情况了;
同时也降低了酒的result时间复杂度
2023-12-02 15:53:47 +08:00
PZ157 49c09b49e7 杀ai 2023-11-30 22:26:45 +08:00
Spmario233 914e96b4e8
Merge pull request #679 from copcap/dev-dongzhao
修复一些bug
2023-11-27 22:05:59 +08:00
copcap b3d6288bb0
夜行衣fix 2023-11-27 09:36:25 +08:00
PZ157 ffcc086318 bugfix 2023-11-26 14:59:32 +08:00
PZ157 01f1c471f4 优化部分卡牌ai 2023-11-26 14:23:45 +08:00
copcap e11d7793de
修复声东击西AI的一个问题 2023-11-25 06:21:00 +08:00
PZ157 11cdf9c601 修复addExtraTarget的ai问题 2023-11-24 17:17:49 +08:00
PZ157 98babe6447 优化【水淹七军】ai 2023-11-23 14:53:49 +08:00
PZ157 d376cb853d bugfix 2023-11-23 13:52:14 +08:00
PZ157 2920ebf9c7 ai优化,bugfix 2023-11-15 20:20:40 +08:00
kuangthree c5ce261b0b 五谷终止条件加入牌已经被拿完的判断,以适配部分技能。 2023-11-14 22:17:16 +08:00
Spmario233 34bb27e52e
Merge pull request #629 from copcap/dev-ddd
3D8新将+改将
2023-11-13 19:06:33 +08:00
copcap 3c371ed652
fix 2023-11-12 17:16:49 +08:00
copcap a9a8e26a70
3D8新改 2023-11-12 16:16:18 +08:00
PZ157 0c84591ce7 优化【决斗】ai 2023-11-12 16:12:57 +08:00
Spmario233 6bc30e698d
Merge pull request #624 from PZ157/PR-Branch
bugfix
2023-11-11 23:40:20 +08:00
copcap b0eb2006b8
哪吒AI调整 2023-11-11 17:05:25 +08:00
PZ157 1cb08bff76 bugfix, 闪ai 2023-11-11 13:27:11 +08:00
PZ157 62aa20d6d2 优化铁索ai 2023-11-10 15:14:54 +08:00
PZ157 9fe8508423 优化拆顺逐近ai 2023-11-10 15:06:07 +08:00
PZ157 662adbdb68 再次优化【桃】ai 2023-11-10 14:07:08 +08:00
PZ157 91f91f6db5 bugfix 2023-11-09 12:36:49 +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 8cddd98a5c fix some other bugs with eslint 2023-11-07 02:07:27 +08:00
PZ157 88e7edeb77 bugfix
修复ai没有队友依旧囤桃的bug
2023-11-02 21:39:58 +08:00
PZ157 1ea3de03f1 优化屯桃ai
修复ai满血不留桃的bug
2023-11-02 13:56:57 +08:00
Spmario233 3dcaf5a615 fix syntax error caused by PZ157 2023-10-31 11:53:05 +08:00
157 184e16553e
bugfix 2023-10-30 23:21:33 +08:00
157 ca9eeb4850
Merge branch 'libccy:PR-Branch' into PR-Branch 2023-10-28 15:07:33 +08:00
157 b4fbd78ac7
bugfix,ai优化
修复【桃】ai的一些bug;
增加【过河拆桥】不无懈ai
2023-10-28 15:07:11 +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
kuangthree f6b6f0f26c 添加知情牌机制,辅助AI 2023-10-28 11:16:18 +08:00
157 2fe1d3ca64
再次微调屯桃ai 2023-10-28 00:09:52 +08:00
157 047db539d5
修复新策略ai不屯桃的bug
优化【桃】【桃园结义】ai
2023-10-27 22:22:32 +08:00
Spmario233 ade93d5fe3
Merge pull request #584 from copcap/dev-number-change
调整技能描述里汉字和数字
2023-10-26 22:48:19 +08:00
157 a0a23ec30d
bugfix 2023-10-26 22:03:19 +08:00
157 01f08eb546
调整【酒】ai 2023-10-26 20:13:21 +08:00
copcap d41fd31bb8
调整技能描述里汉字和数字 2023-10-26 18:44:24 +08:00
157 47b124a809
微调【决斗】ai
降低队友拼杀可能
2023-10-25 21:20:43 +08:00
Tipx-L 661813cdc8 Add the handler mechanic, property operation methods, and greatly optimize stratagem mode. 2023-10-23 20:13:22 -07:00
lieren2023 1269236593
minor fix
card
2023-10-23 20:25:02 +08:00
Spmario233 55f1dbf273 bugfix++ 2023-10-17 23:09:16 +08:00
Spmario233 eae6468b42
Merge pull request #529 from lieren2023/lieren2023-patch-35
minor fix for card
2023-10-15 22:08:31 +08:00
lieren2023 2a0a2ffbfb
Add files via upload 2023-10-15 21:49:17 +08:00
lieren2023 a30aa00404
Add files via upload 2023-10-15 20:23:54 +08:00
lieren2023 e072ebe293
minor fix for card 2023-10-15 16:29:56 +08:00
shijian cdbcd188e4 修改.eslintrc.json的缩进,注释掉部分无用代码 2023-10-12 19:42:39 +08:00
Howard-Zhou-77 1a3bbd6742
紧急修正:把losehp写成了loseHp 2023-10-11 14:22:45 +08:00
Howard-Zhou-77 f739a207ef
更新 yongjian.js:进一步完善了g_du_give的判断机制,现在界黄盖也会屯【毒】了 2023-10-11 14:06:20 +08:00
Spmario233 8406c27127
Merge branch 'PR-Branch' into master 2023-10-11 11:17:28 +08:00
Spmario233 126ac1282d 格式化*2 2023-10-11 11:06:27 +08:00
Howard 0d49ca0e6f 1.修复yxs_fanji的bug;2.修改全局技能g_du_give的逻辑,有usedu不给毒 2023-10-11 09:10:45 +08:00
Spmario233 9d5b8192dc bugfix 2023-10-09 00:23:56 +08:00
157 016908cc64
优化【火攻】ai 2023-10-06 10:38:54 +08:00
157 0f32a0af13
优化【桃】ai
为nokeep标签检测加入arguments
2023-10-05 17:08:30 +08:00
Spmario233 c3608b7ef9 bug fixs 2023-10-05 12:53:01 +08:00
Spmario233 eabfbb1efe Update guozhan.js 2023-10-05 00:12:21 +08:00
Spmario233 f69c4a5615 "position" for guohe_copy2 and shunshou_copy2 2023-10-05 00:01:19 +08:00
copcap ad5cd13d10
将判断属性的方法改为game.hasNature 2023-10-03 15:10:29 +08:00
BauxiteAl fac30f506f 用customArgs重新修改南蛮、万箭让其支持需额外打出一张牌响应 2023-10-02 21:27:16 +08:00
BauxiteAl 4d0987119a 修改南蛮、万箭让其支持和杀/决斗一样需要额外打出一张牌响应 2023-10-02 20:59:37 +08:00
157 c04dbe40b1
优化【丈八蛇矛】【贯石斧】ai 2023-09-30 15:28:11 +08:00
Spmario233 75c1dd26c7 bug fixs 2023-09-30 00:58:01 +08:00
mengxinzxz 653383a2fa
扇子log修复 2023-09-27 00:26:57 +08:00
copcap 3eb14dccad
增加可为一张杀赋予多种属性的功能;可自定义加入新属性杀;解决冲突 2023-09-26 13:00:05 +08:00
157 49ba956ae7
增加酒加伤标签筛选 2023-09-25 22:04:00 +08: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