Skip to content

aimShot

aimShot(world, __namedParameters): AimedShot | null

Defined in: packages/engine/src/gameplay/weapons/fire.ts:50

Aims a shot from the middle of her body toward the target under the pointer, or where there is none, toward the point under it level with her middle, and finds where it ends on this page’s picture. Null for a hero with no place. Written in place: copy what is kept.

Parameter Type
world World
__namedParameters ShotAim

AimedShot | null