# Distance Damage Falloff Calculator

> Distance Damage Falloff 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-09-30).

Estimates the actual damage dealt to a target after applying linear falloff scaling between a weapon's effective range and maximum range.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/damage-falloff-calculator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/distance-damage-falloff-calculator-07ed85ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5n0UWEmQKrvtazjE_HI99

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 distance-damage-falloff-calculator-07ed85ef -d '<json body>'
```

Example prompt: My weapon has 100 base damage with an effective range of 20 and a max range of 100 — how much damage does it deal when the target is 60 units away, using linear falloff?

## When to prefer this

Use this endpoint when you need a quick, standardized linear damage falloff computation for game mechanics without implementing the math yourself. It's ideal for game agents, character stat tools, or game design validation tools that need per-shot or per-attack damage estimates at various distances. Prefer this over manual computation when integrating into automated balancing pipelines or when consistent falloff logic is needed across many weapon types.

## Known failure modes

- Distance exceeds max_range resulting in zero or undefined damage output
- Effective range equals max range causing division-by-zero in falloff formula
- Negative or zero values for damage, range, or distance producing invalid results
- Missing required parameters defaulting to schema defaults which may not match user intent

## How this service works

Distance damage falloff: Estimate damage after linear falloff between effective range and max range.

## Output

Returns the estimated damage value after linear falloff is applied based on the target's distance relative to the weapon's effective range and maximum range. When the target is within effective range, full damage is returned; beyond max range, damage drops to zero; between those bounds, damage scales linearly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "damage": {
   "type": "number",
   "default": 100
  },
  "distance": {
   "type": "number",
   "default": 60
  },
  "max_range": {
   "type": "number",
   "default": 100
  },
  "effective_range": {
   "type": "number",
   "default": 20
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/distance-damage-falloff-calculator-07ed85ef/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)
