feat: 点刺、后勤种子存钱 & ProcessTask 添加 Input 方法 (#11521)

* feat: 为 ProcessTask 添加文本输入功能

* feat: 点刺、后勤种子存钱

* docs: 为 Input 方法添加文档

* perf: 添加循环刷钱cd检查

* perf: werror

* perf: 改变 Input 的 int 值

* perf: 减少 AsstProxy 传参,改用 c:Binding

* chore: 界面显示和获取分离

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
This commit is contained in:
晓丶梦丶仁
2025-01-12 20:03:09 +08:00
committed by GitHub
parent 7b8d1dade0
commit ae2aaa1e6d
38 changed files with 252 additions and 15 deletions

View File

@@ -123,6 +123,11 @@ bool asst::RoguelikeTask::set_params(const json::value& params)
m_roguelike_task_ptr->set_times_limit("StageTraderInvestCancel", 0);
m_roguelike_task_ptr->set_times_limit("StageTraderLeaveConfirm", INT_MAX);
}
// 萨卡兹种子刷钱
if (theme == RoguelikeTheme::Sarkaz && params.get("start_with_seed", false)) {
m_roguelike_task_ptr->set_times_limit("Roguelike@StartExploreWithSeed", INT_MAX);
RoguelikeStageEncounter.set_event(theme, mode, "相遇", 3, 4);
}
}
else {
// 重置战斗后奖励next