Repository navigation
feat(团队监控): 支持团队Buff统计变量及倒计时文案更新 - #122
Open
wohehuoguo wants to merge 1 commit into
Open
wohehuoguo wants to merge 1 commit into
wohehuoguo wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目前数据作者可以配置逐人 Buff 提示,但无法把团队 Buff 汇总人数及计算结果直接用于现有倒计时,并在状态变化后刷新文字。本次为
tCountdown增加可选tVars,提供数据定义的查询、计算和模板变量;没有该字段的原有数据沿用原路径。改动
附六类人数展示示例:红1、红2、0、黑1、黑2、其他。隔绝优先归其他,因此红2+隔绝仅计为其他;3 层及以上也归其他。六类合计等于参与统计人数。具体 Buff ID、触发事件和时间轴均在数据中定义,插件不包含副本专用配平公式或人员分配逻辑。
配置说明:
MY_TeamMon/docs/computed-countdowns.md;示例:MY_TeamMon/docs/examples/six-state-countdown.lua。示例需接入实际事件,不是独立可导入的完整副本包。验证
git diff --check通过。lua tests/team_mon_compute.lua;PR 的 GitHub CI 将执行该测试及原有构建打包流程。待验证
尚未完成游戏内验证,包括重制版 / 缘起客户端的 Buff 可读取范围与事件同步时序。首次计算立即执行,后续事件的合并等待不保证状态已全部同步。
原生
.jx3dat导入、保存导出及在线构建 / 订阅链路仍需端到端验证;未增加可视化配置编辑界面。