Shots and time to kill through armour, per hit area
calculate_damageShots and time to kill through armour, per hit area. The damage calculator page's maths (https://rust.wiki/calculators/damage). Damage per hit = weapon damage x ammo
x attachment x hit-area multiplier x (1 - protection); protection of every piece covering the area is added (cap
100%), +4% per metal insert. Per zone (head, chest, legs, hands, feet): protection_pct, damage_per_hit,
shots_to_kill (null = never) and time_to_kill_s (fire rate plus reloads when the magazine runs out). Close
range only - no damage falloff; shotguns assume every pellet hits. Limb multipliers are low confidence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"weapon": "<weapon>"
},
"name": "calculate_damage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hp | No | Target health. | |
| ammo | No | Ammo name for that weapon (default: its standard ammo). | |
| suit | No | Full-body suit instead: hazmatsuit or bone.armor.suit. | |
| armour | No | Comma-separated armour and clothing the target wears (shortnames or names). Per slot: one clothing piece under one armour piece; dual pieces take both. | |
| weapon | Yes | Weapon shortname or name (guns and bows). | |
| inserts | No | Metal armour inserts per slot, `slot:n` (head, chest, legs, hands, feet; 0-3). | |
| attachment | No | Muzzle attachment: none, silencer, oilfilter, sodacan, muzzlebrake. |