campTarget beta
Function of @v12-engine/engine
ts
export declare function campTarget(world: World, entity: Entity, camp: Camp): Entity | undefined;What a creep of the camp goes for of the camp's list (Camp.aggro): the most threat, then the nearest, the targetScore hook having the last word; nothing it leaves alone for now (shun: it could not get at it, or chased it too long), cannot see or attack, or that stands past the leash. None when the list has nothing for it