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

  1. Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.
  2. Enter bossWorldPosition, spawnAnchorPosition, callerLeashRadius, callerResetWhenAtBoundary using the field table and calculation rules, then run the tool.
  3. Read bossDistanceFromSpawnAnchor, signedLeashMargin, callerLeashResetTriggered. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. 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 fieldMeaningValue type; see rules belowRequirement
bossWorldPositionBoss world positionlist of numberRequired
spawnAnchorPositionSpawn anchor positionlist of numberRequired
callerLeashRadiusCaller leash radiusnumberRequired
callerResetWhenAtBoundaryCaller reset when at boundarybooleanRequired

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 fieldMeaningValue type
bossDistanceFromSpawnAnchorBoss distance from spawn anchornumber
signedLeashMarginSigned leash marginnumber
callerLeashResetTriggeredCaller leash reset triggeredboolean
json
{
  "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

  1. Boss Leash Range Reset Distance Check — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies