mwg API
    Preparing search index...

    Function chainTargets

    • An arcing chain across candidates: starting from origin, each link is the nearest not-yet-visited candidate within range of the previous one, up to jumps links. A lightning arc, a contagion, anything that hops from one victim to the next rather than travelling as a projectile - the game applies its own effect per link in order.

      Parameters

      • candidates: readonly Step[]
      • origin: Step
      • jumps: number
      • range: number

      Returns Step[]