Skip to content
These docs reflect Contracts v0.6.0, the latest release. Older servers may differ.

Attack Distance

Progress counts only when the distance from the player to the target, in meters, is within the specified bounds.

{
"type": "AttackDistance",
"minDistance": 100,
"maxDistance": -1
}
Field Type Description
type string Exactly 'AttackDistance'
minDistance number Minimum attack distance in meters. Inclusive. -1 disables this bound.
maxDistance number Maximum attack distance in meters. Inclusive. -1 disables this bound.
  • Both bounds are inclusive, measured player-to-target in meters.
  • -1 disables a bound, so you can set only a minimum (long-range kills) or only a maximum (close-quarters), or both for a band.
  • If both bounds are set, minDistance must not exceed maxDistance.