xxyheaven
873d68363c
fix bug ( #337 )
...
1、给carditem增加dragging参数;
2、filterskill在mute的情况下不播放技能特效;
3、给ActiveSkill增加no_indicate参数
4、回合开始时、结束时这两个时机当前回合角色的phase设置为Player.None
5、给usecard增加noIndicate参数
2024-04-07 00:21:15 +08:00
notify
9dd4f55c86
单机热更新,以及Docker ( #336 )
...
以及emo公主的判定小卡换图
---------
Co-authored-by: seven <786852516@qq.com>
2024-04-02 01:00:10 +08:00
YoumuKon
e840a3b322
bugfix ( #328 )
...
- 为findParent添加深度限制参数(默认无限制)
- 搬运了damageByCardEffect
- 修复了ex__choose_skill
- 修复了华佗、吕蒙和古锭刀
- 添加势力映射,可以指定一个势力必须变成其他几个势力之一(需要神话再临包/OL包自行处理神将变将范围)
- askForCardsChosen界限突破,改成了基于askForPoxi的格式
- 修复了空城虚拟杀可以方天的bug
- 给强制平局添加了原因提醒
- 优化了移动牌的视觉逻辑
2024-04-02 00:56:04 +08:00
notify
c3cdb8dc50
Ai小添加 ( #320 )
...
出牌策略仍然搞不定呀
- Qml: 新增leval函数可获得lua表达式的值
- 新增AbstractRoom类 去除冗余
2024-02-17 09:46:48 +08:00
notify
3031131e1b
禁将功能改进 ( #309 )
...
RT 不影响Lua API
2024-01-26 14:02:55 +08:00
notify
be03b04ef0
小修复&Qml美化 ( #308 )
...
- 修复了虚拟牌点数相加的bug
- 修复cleaner出错直接爆炸
- QML的代码将宽度控制到80以内
2024-01-25 03:23:29 +08:00
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
92768735fa
2v2选将相关 ( #305 )
...
以及完善了移牌的log
2024-01-11 18:36:05 +08:00
Ho-spair
cec18e0614
Modify game core ( #294 )
...
- 新增船新“休整”机制;
- 修改作废逻辑,并可在当前响应读条禁用该技能(出牌阶段空闲时间点尚未完成限制);
- 修复锁视技的相关bug,其cardFilter新增标识是否为判定的参数;
- 将护甲扣减融合进体力扣减流程,为伤害流程增加“虚拟伤害”概念,为伤害流程增加“造成过伤害”标识id以供记录搜索使用;
- 为变将新增可删除副将。
---------
Co-authored-by: notify <notify-ctrl@qq.com>
2023-12-10 18:55:16 +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
9a9fc9c105
UI ( #290 )
...
杀光侧栏 只留战报一个
Qml标记,以及一个割圆demo
自由选将增加搜索功能
room:setBanner,相当于公共标记了,客户端可以Fk:currentRoom():getBanner拿(当然服务端也可)
改掉两个很蠢的命名
2023-12-06 21:07:35 +08:00
notify
8afe5122d7
在注释中大量改为使用问号
2023-12-03 19:35:14 +08:00
notify
4d7359d834
修复一些小Bug ( #279 )
2023-10-18 21:46:11 +08:00
YoumuKon
7e15ccb63e
武将牌堆和更多bugfix ( #261 )
...
- 修复了询问卡牌时会返回不符合要求的牌的bug
- 修复了摸牌阶段的skillname(游戏规则)
- 实装武将牌堆
- 剥离身份模式特有常备主逻辑
- 为资产变换添加时机
- 分离了改判时的移动
- 将canUseGeneral改为Engine所属函数
2023-09-27 21:02:22 +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
notify
607d3b010c
Enhancement ( #253 )
...
- 修复clone狮子的bug
- 支持拓展自定义游戏事件
- 修复反选拓展包时极其卡顿的bug
- 修复自订身份无法正常显示的bug
- 谋攻篇askForCard(s)Chosen
- 修复了倾国时点取消的bug
- player:broadcastSkillInvoke
- 修复客户端白名单忘记屏蔽的bug
2023-08-24 21:37:24 +08:00
notify
32844bc394
插件哟,boolean就让他默认可以为nil好不好呀
2023-08-11 03:30:59 +08:00
notify
a82b8c1b0a
Nfeature ( #243 )
...
- 15秒后其他人可以将房主踢出
- event中的从room.lua复制过来的self都规范成room
- 删了feasible的deprecate警告
- 虚空印卡
关于虚空印卡的说明:
* 印的卡id为负数,但依然属于实体卡。
* 这也就是说今后判断虚拟牌的依据是id == 0而不是 <= 0。
* 不过其实虚拟牌的id自古以来就固定是0啦,所以不用担心。
* 虚空印的卡自然只和当前运行的房间有关。
* 虚空印卡的id从-2开始,每印一张其id便减少1。
* 之所以不从-1开始是因为UI把-1认定为未知牌。Bot的玩家id也从-2开始,这是一个道理。
* 除此之外,印出的卡就如同一张普通的实体卡一样,洗入牌堆啥的都没问题,用来作其他虚拟卡的子卡也没啥问题。
* 坐等后面测试出bug吧,当然我希望直接不出bug。
2023-08-11 03:19:59 +08:00
YoumuKon
a9b5d6cd98
更多bug fix ( #232 )
...
- 修复了 #229 整出来的bug
- 修复了禁止技被绕过的bug
- 查找事件结果包括端点
---------
Co-authored-by: notify <notify-ctrl@qq.com>
2023-08-02 23:01:28 +08:00
notify
8bfe087374
遗计,默认主公,修同名替换
2023-08-02 21:39:03 +08:00
Nyutanislavsky
acda9f4eb8
Choose kingdom ( #226 )
...
1. 封装选择势力
2. 修复可以选到主公副将
---------
Signed-off-by: Mechanel <nyutanislavsky@qq.com>
2023-07-16 19:17:03 +08:00
YoumuKon
a812af8d97
bug fix和黑名单 ( #223 )
...
- 修复了旁观skill出错的bug
- 为模式和扩展包提供相互之间的黑/白名单
2023-07-14 22:17:54 +08:00
notify
c3fd8fc9a5
Bugfix ( #206 )
...
* 修cost_data
* 修cardMark,仍需自动清理措施
* 修锁视技( **重要!使用牌之前会根据锁视技重新决定使用的卡牌!!**)
2023-06-23 22:18:11 +08:00
notify
02e22024f2
Misc ( #195 )
...
- 调度器善后
- 修复可用不足警告
- 创房时可以全选或者反选
- 重连时候不可以重新开大
- 顶号
2023-06-16 13:26:02 +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
deepskybird
5a30c69085
player_doc更新 ( #168 )
...
更新文档注释,还请各位查阅。
Co-authored-by: YWSC120 <111111@163.com>
2023-06-03 23:59:04 +08:00
Ho-spair
0033cd6c07
ban generals ( #146 )
...
- 禁将功能
- 公告展示
2023-05-13 14:20:48 +08:00
Ho-spair
19a2cc5ed7
Initial kingdom choosing ( #143 )
...
- 实现副势力概念,用于应对双势力机制;
- 完善神将及拥有副势力的武将开局选择势力的机制;
- 完成势力技概念;
- 实现ViewAsSkill在响应时对使用和打出的区分。
---------
Co-authored-by: notify <notify-ctrl@qq.com>
2023-04-30 18:55:59 +08:00
notify
a09023c487
Heg ( #134 )
...
国战雏形
2023-04-23 21:10:07 +08:00
notify
90ad7fee5f
fix filterskill
2023-04-10 15:58:41 +08:00
notify
533cc1a464
Card limitation ( #111 )
...
禁止使用打出弃置
Fk.currentResponseReason
FilterSkill加player参数
2023-04-10 15:55:06 +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
4ad61cf70f
exclude self and disabled generals from same generals
2023-03-19 02:28:09 +08:00
notify
36fa1de360
Same general ( #82 )
...
同名武将替换功能
2023-03-19 02:21:45 +08:00
notify
9b185c439d
Custom Packages When Creating Room ( #76 )
...
添加了创建房间时自选拓展包的功能
2023-03-14 14:12:13 +08:00
notify
6ae86a1e3e
Gamemode ( #75 )
...
提供拓展游戏模式的接口
2023-03-14 00:12:02 +08:00
notify
cd7e4c9bd3
I18n ( #57 )
...
* rotate general name when it becomes too long
* remember x and y pos of window
* config.language, and can change translations according to language
* standard i18n (WIP)
* client translation (WIP)
* translation for standard cards
* translate skill name and adjust UI
2023-02-27 10:23:48 +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
notify
afb537a661
Merge 'standard' ( #53 )
...
* todo
* todo.md
* doc for move cards
* weapons excluding qinggang
* equip sound and emotion
* remove silence on the starting of using skill
* add audio skill for TMD equip
* fixbug: running and observing
* when PreUseCard is broken, jump to move cards to discardPile
* doc for diy
* addToPile
* viewPile (WIP)
* fix git bug
* auto update packages when md5 fail
* use thread when updating pack
* correct status() handling
* update fkp
* remove PKGBUILD since it's presented in AUR repo
* fix fkp md5 bug
* extensible qml
* set bigAnim's z to 999
* nioh sheild
* lijian
* now mod can return nil
* if dmg.nature == nil then = normal
* disable notifyUI when qWarning
* fix lijian and gender problem
2023-02-21 13:44:24 +08:00
notify
b2dfd69a16
Fixbug ( #51 )
...
* add translation for askforguanxing
* fix bug: observer will kill room that not take action
* fix bug: observe and reconnect
* fix bug: notifyCardMove
* fix bug: hegmony nullification
* fix bug: never show test generals in normal askforgeneral
* if game doesn't start, marshal() will only send simple information
2023-02-16 00:54:39 +08:00
notify
cc271bcdf8
Standard equips ( #50 )
...
* support fkp
* get default setting in qml
* correct zixing
* mark
* TODO: parse fkp in c++
* scale the drawer
* free assign
* fix free assign bug
* add submodule for official generals
* generate fkp in cpp code
* use UTF-8 in windows conhost
* use onUse for regular skill
* active skill for fkp
* add fkp function; change data for DMG and Heal
* add cancelable to askForDiscard
* don't let generals naked
* config bg and bgm
* fix exists for win
* bugfix: rewardandpunish
* fkp: vs skill
* room config
* observe
* god_salavation
* fkp: judge
* add read storage permission for android build
* remove submodule fk_official
* remove include/
* use a submodule as include directory
* libgit2
* remove debugging 'downloadNewPack'
* libgit2.dll for Windows
* rewrite system_enum, disable dangerous function
* fix bug in trigger()
* filter skill
* filter judgement card
* add about page for git2
* very basic general detail
* FKP: status skill
* libgit: android test
* libgit: build for android
* 1
* libgit2.dll
* android: load qm file after copy asset
* filter skill: if no filter skill then remove filtered card
* allow warning and critical to show a popup, and fix warnings from QML
* resource: move general audio/image to packages/
* move assets of cards
* FKP: modify
* use sqlite db to manage packages
* packman cli
* packman gui
* use Popup for error dialog
* android full screen note
* fix android ssl problem
2023-02-15 19:54:35 +08:00
notify
c6d883eccf
Standard skills ( #48 )
...
* huatuo
* biyue
* gender of player
* let tablepile smaller
* card emotions
* remove getOtherPlayers
* guicai
* skill audio
* card audio
* death audio
* bgm
* damage sound
* local bgm
* add more skill audio
* android: dont link to quickcontrol2
* android: fix ifndef
* yield only when need
* modify cpp according to clazy
* reduce malloc times
* revert yield
* qingguo
* fix back to lobby
* use compact json in cpp
* notifySkillInvoke animation
* util: string2json
* losehp; tablepile fix
* judge result animation
* add scrollbar for logedit
* add lock on waitForReply
* fix: virtual jink has no effect
* tiandu
* fix: duplicated cards when related to equiparea
* ui: disable okcancel when replying
* ui: disable invaild card when responding
* game: skill & card use history
* game: more judge on vsskill's canUse
* luoyi
* login page i18n
* i18n for server error message
* tuxi
* expand equip area when needed
* add footnote to cards from pile
* ui: only filter CanUseCard when playing
* expand equip when responding
* prompt
* prompt for askforchoice
* guanxing
* fix guanxing
* tieqi
* liuli
* doc for trigger skill
* xiaoji
* lianying
* fanjian
* rende
* add skill's subclass
* TODO: add tmd skill functions for other cards
* paoxiao
* qicai
* guose
* yiji (WIP)
2023-01-29 18:11:41 +08:00
notify
b6530eae9d
Vs skill ( #44 )
...
* vs skill concept
* unify card:clone
* virtual card
* wusheng
* exppattern
* use virtual card(WIP)
* change cardId to card
* virtual card log
* notify skill invoked
* fix coroutine bug; allow vsskill to response
* extra_data for askForUseCard
Co-authored-by: Ho-spair <linyuy@163.com>
2023-01-16 19:13:07 +08:00
notify
509cf29175
Distance skill ( #37 )
...
* global distance skill
* normal distance skill
* remove addGeneral from init.lua
* fixed distance
2023-01-04 14:21:29 +08:00
notify
7b12d82683
askForUseActiveSkill ( #26 )
...
* askForUseActiveSkill (not tested)
* askForDiscard
* askForChoosePlayers (not tested)
* add comment, update readme
2022-09-15 11:17:13 +08:00
notify
162b3af505
Use skill ( #25 )
...
* distance & snatch
* distance & snatch - clean
* fix: client.alive_players
* room:askForCardChosen(todo: snatch)
* add skill to players(uncomplete)
* ui of skill btn
* expand pile(not completed)
* Use card2 (#23 )
* snatch (todo: owner_map)
* owner_map
* remove too many snatch
* update
* call active skill's functions
* use zhiheng
* Qt6 (#24 )
* use qt6
* android compiling
* remove version number of qml import
* correct anti-sql injection; update deprecated code
* add fkparse as submodule
* link fkparse, and write simple functions
* adjust ui
* adjust layout for photos; fix qml warning
* android problem fix (partially)
* move ico
* update copy_assets
* update logic for ok/cancel btn
2022-09-14 13:01:10 +08:00
notify
5628e67a78
UI-adjust-1 ( #20 )
...
* better general card item
* translation for UI
* optimize size of general card PNGs
* make overviews 'singleton' (only create once)
* background, small bug fix
* init & lobby's roomlist
* gitignore for win deploy, fonts
2022-05-01 18:37:13 +08:00