Fall damage from a height or a landing speed
calculate_fall_damage[Calculators] Fall damage from a height or a landing speed. Damage = 500 x InverseLerp(15, 100, landing speed m/s), before clothing protection (BasePlayer.
ApplyFallDamageFromVelocity), plus bleeding 0.5 x the same fraction. Returns damage, bleeding, speed_ms,
height_m, safe_height_m (no damage below), lethal_height_m (100 damage), gravity_ms2 and
height_is_estimate. Speed -> damage is exact; heights assume no air resistance. Speed to damage is exact; heights for awake players are an estimate (client-side movement). Link https://rust.wiki/survival-mechanics#fall.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_fall_damage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | Landing speed in m/s (overrides height). | |
| height | No | Fall height in metres. | |
| player | No | awake (gravity estimated - awake movement runs on the client) or sleeping (the server's own fall for sleeping/wounded players, from the code). | awake |