ColliderSpellHit
Defined in: server/api.d.ts:5205
A bolt meeting a collider, as its caster’s client saw it.
Properties
Section titled “Properties”deflected
Section titled “deflected”
readonlydeflected:boolean
Defined in: server/api.d.ts:5224
Whether the collider sent the bolt on (options.deflect) instead of ending it.
normal
Section titled “normal”
readonlynormal:object
Defined in: server/api.d.ts:5219
The surface’s direction at that point.
x:
number
y:
number
z:
number
position
Section titled “position”
readonlyposition:object
Defined in: server/api.d.ts:5214
Where the bolt touched the collider, in world centimetres.
x:
number
y:
number
z:
number
readonlyspell: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.