Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

ColliderSpellHit

Defined in: server/api.d.ts:5205

A bolt meeting a collider, as its caster’s client saw it.

readonly deflected: boolean

Defined in: server/api.d.ts:5224

Whether the collider sent the bolt on (options.deflect) instead of ending it.


readonly normal: object

Defined in: server/api.d.ts:5219

The surface’s direction at that point.

x: number

y: number

z: number


readonly position: object

Defined in: server/api.d.ts:5214

Where the bolt touched the collider, in world centimetres.

x: number

y: number

z: number


readonly spell: string

Defined in: server/api.d.ts:5209

The spell, as pvpHit names it: its record path, a server-defined spell’s id, or a mod’s own record path. Empty when the client could not tell.