Commit Graph

21 Commits

Author SHA1 Message Date
YoumuKon 21e4c65204
终结标记与界bugfix (#307)
-
正式移除了作为临时手段的-tmp标记,现在can_use和target_filter支持读取extra_data(card_filter暂时搁置)
-
规范了askForUseCard中card_name和pattern的关系,现在的格式将以pattern为主,若无pattern才会将card_name视为pattern
- 将withinDistanceLimit迁移至ActiveSkill内
- 添加了令卡牌无距离/次数限制的标记判断
- 添加放大了⑨倍的冰伤音效
- 优化了同将判断的逻辑,使其能够准确读取trueName
- 身份场主公选将后其他角色能看见主公技能(只是看见,无实际功能)
- 开局添加不存在的技能时会放出警报
- 修复了findParent在当前事件无parent时报错的bug
- 修复了人工洗牌后不刷新摸牌堆的bug
- 修复了getPile返回牌堆实例的bug
- 修复了getSkillNameList无法过滤主公技的bug
- 修复了死亡后武将牌没有圆角效果的bug
2024-01-25 03:13:57 +08:00
notify 94c1107c2e
Ui2 (#293)
小修小改,没啥新功能
2023-12-09 23:25:26 +08:00
Nyutanislavsky 5abbdc9b23
Enhancement (#292)
1. 卡牌一览中音效播放(装备牌鸽)
2. 修改游戏桌面菜单式样,增加音量
3. 卡牌使用时prompt
4. 比较角色性别是否相同
5. 修一些函数提示
6. getEventsOfScope找不到start_event直接返回
7. 应用all_card_types
8. 修改askForCard的默认返回值
9. 增加装备牌技能触发log
10. phase_state初始化
11. 额外阶段走phaseChanging
12. 亮将增加一个时机并做调整(但还是不对……)
13. 标准包和军争篇增加卡牌prompt,修改描述
14. 运用一些Util,hasSkill精简
15. 修改一些神秘英语单词,水

---------

Signed-off-by: Mechanel <nyutanislavsky@qq.com>
2023-12-09 21:57:47 +08:00
notify 8afe5122d7 在注释中大量改为使用问号 2023-12-03 19:35:14 +08:00
notify eba115a4fa
Ai(鸽之) (#289)
鸽了一点新AI
2023-12-03 18:45:25 +08:00
Nyutanislavsky 4b1c43f4c9
Enhancement (#286)
1. 头像界面更换头像和密码增加计时器
2. 武将界面增加设为头像,搜索框文字输入栏微调
3. 整理手牌将不同的pile分开
4. askForCard(s)Chosen自由prompt
5. 开大动画区分主将副将,特化语音
6. 观星框显示卡牌标记
7. 禁止打出修复
8. random_ai禁止技修复
9. 记录器整局游戏修复
10. 禁止亮将修复封杀已亮的将
2023-11-07 21:14:51 +08:00
notify 7fffdb8530 Changelog: v0.3.10 2023-10-07 23:13:17 +08:00
notify 6376b21fbb
Smart ai (未完成) (#276)
改smart-ai... 还没改完呢,先合了
暂时不在新版本上线,还有的改的,到时候写个注释说明一下
2023-10-07 23:05:27 +08:00
luazyxs d1619672a2
初步ai逻辑 (#270)
大部分修改的地方都在代码里加了注释

---------

Co-authored-by: notify <notify-ctrl@qq.com>
Co-authored-by: xxyheaven <1433191064@qq.com>
Co-authored-by: YoumuKon <38815081+YoumuKon@users.noreply.github.com>
2023-10-07 03:22:57 +08:00
notify 203736e38e
Enhancement (#263)
- smart_ai搭了个壳子
- askForPoxi
- 增加判断额外回合之法以及fix
- 修trigger
- 增加使用和打出的禁止技提示
- 修复卡牌标记,attach主动技显示为蓝色按钮
2023-09-19 14:27:54 +08:00
notify db2910d1f0
Chkout (#260)
修一堆小bug
2023-08-27 20:21:37 +08:00
RalphRad 3feda8e795
禁止技对AI生效,而且它现在会出闪了 (#255) 2023-08-25 08:10:39 +08:00
notify 0e8005601f more nil 2023-07-14 23:12:46 +08:00
YoumuKon 2ab9ad017a
堆一堆bugfix (#218)
- 重新写了固定距离计算方法,目前按先到先得处理(以先触发的技能为准)
- 距离函数在传入死人时会返回-1,一切与此相关的函数应当返回false
- 修复了自己挖的Player:canUse
- 修复了skillTimes的变量名(嗯)
- 修复了exclusived无法过滤目标的错误

---------

Co-authored-by: notify <notify-ctrl@qq.com>
2023-07-08 01:05:54 +08:00
YoumuKon 8a11690de7
无用空表Util.DummyTable化+若干bug fix+若干调整 (#189)
- 将一些作为替代选项的空表替换为Util.DummyTable
- 修复了控制失效bug
- 修复了askForCards的bug
- 为弃牌阶段弃牌禁止取消
- 谋徐盛血量变为100
- setMark追加count为0时设为nil的设定
- 各种国际化
- 观星盒追加旁边的牌堆名
2023-06-11 16:22:11 +08:00
Ho-spair a7e3ad0f19
Switch skill (#148)
- 实现转换技;
- 将特殊的标记名称注册在mark_enum.lua文件;
- 标记值在UI的显示支持解析数组;
- 将觉醒技的觉醒条件分离至canWake函数;
- 修复一系列bug;
- 在Room类新增从牌堆、弃牌堆中随机获取牌的方法。
2023-05-13 14:20:34 +08:00
notify 9a951fdbfe
Spdx license (#109)
在所有代码中添加了许可证标记头
2023-04-09 13:35:35 +08:00
notify a1ae83c562
Sphinx doc (#86)
将文档系统改成Sphinx,并增加了新CI
2023-03-26 17:32:45 +08:00
notify 79389d9444
Expand pile (#62)
* fixbug: handcards in PlayerCardBox

* fix lightning

* fix translation

* gamelogic:getcurrentevent

* exppattern and pile

* complete pile
2023-03-05 01:28:59 +08:00
notify a579cf2a59 Ci: check space and LF (#55) 2023-02-26 16:51:29 +08:00
notify 9ac89caa1f Random AI (#54)
* android: dont copy RSA key and test.lua(generated by fkp)

* remove debug code

* ai think

* fixbug: 100% cpu per thread

* init ai

* fix bug, next step is to remove all feasible

* remame vscode -> lsp

* add some lsp comment

* rewrite feasible

* Random AI

* fixbug: chooseplayer

* liuli

* move checkNoHuman to waitForAiReply

* prototype for cardLimitation skill

* add Exppattern:Parse to static.lua

* remove unnecessary static
2023-02-26 15:01:14 +08:00