Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #99 from MaaAssistantArknights/feat/copilot-schema…
Browse files Browse the repository at this point in the history
…-update

feat: 更新战斗流程协议
  • Loading branch information
AlisaAkiron authored Sep 14, 2022
2 parents 0570b7a + 388dce1 commit b45c0b7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ public class Action
public int? Kills { get; set; }
[JsonPropertyName("cost_changes")]
public int? CostChanges { get; set; }
[JsonPropertyName("cooling")]
public int? Cooling { get; set; }
[JsonPropertyName("condition_type")]
public int? ConditionType { get; set; }
[JsonPropertyName("name")]
public string? Name { get; set; }
[JsonPropertyName("location")]
Expand Down
13 changes: 13 additions & 0 deletions src/MaaCopilotServer.Resources/maa-copilot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,19 @@
"description": "Waiting until the cost changes for the amount specified, optional, 0 by default.",
"minimum": 0
},
"cooling": {
"type": "integer",
"description": "The count of operators in re-deployment cooling. -1 by default.",
"minimum": -1,
"default": -1
},
"condition_type": {
"type": "integer",
"description": "The condition (kills, cost_changes, cooling) calculation type. 0 means AND, 1 means OR. 0 by default.",
"minimum": 0,
"maximum": 1,
"default": 0
},
"name": {
"type": "string",
"description": "Operator/group name, required when `type` is one of \"Deploy (部署)\", Optional when `type` is \"Skill (技能)\" or \"Retreat (撤退)\"."
Expand Down

0 comments on commit b45c0b7

Please sign in to comment.