# Shield Block Calculator

> Shield Block Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Calculates the actual damage received by a character after applying block strength (percentage) and stamina limits to incoming damage.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/shield-block-calculator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shield-block-calculator-dbdd54a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FpAY80Lp-s-TrxuAlhoFT

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability shield-block-calculator-dbdd54a9 -d '<json body>'
```

Example prompt: My character has 20 stamina, a block strength of 70%, and an enemy is hitting me for 80 damage — each point of stamina absorbs 0.5 damage. How much damage will I actually take after blocking?

## When to prefer this

Use this endpoint when building or testing RPG, action, or strategy game combat systems that include a shield-blocking mechanic with stamina constraints. Ideal for game developers, designers, or AI agents generating dynamic combat feedback where block effectiveness depends on both a damage reduction percentage and a finite stamina resource.

## Known failure modes

- Missing or invalid stamina value may cause incorrect mitigation calculations
- block_percent outside 0-1 range may produce nonsensical results
- Zero stamina_per_damage value could cause division errors
- Negative incoming_damage values may not be handled gracefully
- Non-numeric inputs will likely return a 400 or validation error

## How this service works

Shield block calculator: Estimate damage received after block strength and stamina limits.

## Output

Returns the estimated damage received after applying block percentage reduction and stamina-limited mitigation, accounting for how many points of stamina the character has and how much stamina is consumed per point of incoming damage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "stamina": {
   "type": "number",
   "default": 20
  },
  "block_percent": {
   "type": "number",
   "default": 0.7
  },
  "incoming_damage": {
   "type": "number",
   "default": 80
  },
  "stamina_per_damage": {
   "type": "number",
   "default": 0.5
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shield-block-calculator-dbdd54a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
