Skip to content
HALOWERK

Gamingwerk

game action cooldown legality

Audit supplied timed ability uses against per-ability and unit-global cooldown rules.

POST https://gaming.halowerk.com/v1/game-action-cooldown-legality

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
global_cooldown_snumberYes
abilitiesarrayYes
eventsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "global_cooldown_s": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    },
    "abilities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "cooldown_s": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        "required": [
          "id",
          "cooldown_s"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "unit": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "ability": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "at": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "unit",
          "ability",
          "at"
        ],
        "additionalProperties": false
      },
      "maxItems": 500,
      "minItems": 0
    }
  },
  "required": [
    "global_cooldown_s",
    "abilities",
    "events"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "global_cooldown_s": 1,
  "abilities": [
    {
      "id": "dash",
      "cooldown_s": 5
    }
  ],
  "events": [
    {
      "unit": "unit_A",
      "ability": "dash",
      "at": 0
    },
    {
      "unit": "unit_A",
      "ability": "dash",
      "at": 2
    },
    {
      "unit": "unit_A",
      "ability": "dash",
      "at": 5
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’