Skip to content

five-on-it / packages/sim/src/damage / isInvincible

Function: isInvincible() ​

isInvincible(sim, eid): boolean

Defined in: packages/sim/src/damage.ts:113

Whether an entity shrugs off every hit: an invincible character, or a vehicle whose driver is one (the debug switch that makes a player immortal).

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

boolean