Skip to content
HALOWERK

Gamingwerk

game loot table exact expectation

Return non-monetary virtual drop expectations and no-hit probability for independent supplied loot weights.

POST https://gaming.halowerk.com/v1/game-loot-table-exact-expectation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
weightsReferenceYes
valuesReferenceYes
rollsintegerYes
targetintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "weights": {
      "$ref": "#/$defs/s0"
    },
    "values": {
      "$ref": "#/$defs/s0"
    },
    "rolls": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    },
    "target": {
      "type": "integer",
      "minimum": 0,
      "maximum": 49
    }
  },
  "required": [
    "weights",
    "values",
    "rolls",
    "target"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:F5:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000
      },
      "maxItems": 50,
      "minItems": 1
    }
  }
}

Open original schema

Published input example

{
  "weights": [
    1,
    3
  ],
  "values": [
    10,
    0
  ],
  "rolls": 2,
  "target": 0
}

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 โ†’