Boss Leash Range Reset Distance Check
Audit actual boss displacement from explicit spawn anchor under caller strict/inclusive reset boundary; not distance from current player or hardcoded boss leash behavior.
Description
A boss leash compares current distance with a caller boundary.
A boss leash compares current distance with a caller boundary. Whether equality resets is an explicit policy.1
Enter two planar positions, nonnegative radius and boundary-reset boolean. Return Euclidean distance, signed margin and reset gate.
When to use Boss Leash Range Reset Distance Check
Use Boss Leash Range Reset Distance Check when you need to evaluate the supplied records under the calculation and evidence rules below. No path distance, obstacle handling, combat state or actual reset action is performed.
Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.
How to use Boss Leash Range Reset Distance Check and understand its results
- Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.
- Enter bossWorldPosition, spawnAnchorPosition, callerLeashRadius, callerResetWhenAtBoundary using the field table and calculation rules, then run the tool.
- Read bossDistanceFromSpawnAnchor, signedLeashMargin, callerLeashResetTriggered. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| bossWorldPosition | Boss world position | list of number | Required |
| spawnAnchorPosition | Spawn anchor position | list of number | Required |
| callerLeashRadius | Caller leash radius | number | Required |
| callerResetWhenAtBoundary | Caller reset when at boundary | boolean | Required |
Enter two planar positions, nonnegative radius and boundary-reset boolean. Return Euclidean distance, signed margin and reset gate.
margin=radius−distance; reset=distance≥radius if inclusive else distance>radius Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| bossDistanceFromSpawnAnchor | Boss distance from spawn anchor | number |
| signedLeashMargin | Signed leash margin | number |
| callerLeashResetTriggered | Caller leash reset triggered | boolean |
{
"input": {
"bossWorldPosition": [
6,
8
],
"spawnAnchorPosition": [
0,
0
],
"callerLeashRadius": 10,
"callerResetWhenAtBoundary": false
},
"output": {
"bossDistanceFromSpawnAnchor": 10,
"signedLeashMargin": 0,
"callerLeashResetTriggered": false
}
} Limitations and assumptions
No path distance, obstacle handling, combat state or actual reset action is performed.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Enemy FOV Cone Detection Angle Check: A planar field of view combines angular and range gates with caller line-of-sight evidence. A coincident target has zero angular offset. For a complementary task, use Projectile Lead Intercept Angle Estimate: Projectile interception solves for a future target position reachable at a constant projectile speed. The earliest admissible root matters.
References
-
Boss Leash Range Reset Distance Check — tool.io
Similar or alternative tools
- Enemy FOV Cone Detection Angle Check
A planar field of view combines angular and range gates with caller line-of-sight evidence. A coincident target has zero angular offset.
- Projectile Lead Intercept Angle Estimate
Projectile interception solves for a future target position reachable at a constant projectile speed. The earliest admissible root matters.