Appearance
Pick a kite stand tile
Kite.to plans the next tile. Cardinal steps first; diagonals only when every cardinal neighbor is blocked. Does not walk or attack.
lua
local Kite = require("sdk.kite")
local hit, err = Kite.to(here, {
target = monster,
pack = pack,
min_range = 2,
attack_range = 4,
step_only = true,
})
if not hit then
print("kite failed", err)
return
end
if hit.hold then
print("already in range")
return
end
print(hit.steps and hit.steps[1], hit.score, hit.band)