Skip to content

five-on-it / packages/sim/src/shields / hasShield

Function: hasShield() ​

hasShield(sim, eid): boolean

Defined in: packages/sim/src/shields.ts:27

Whether a character holds a shield up now: it carries one, is on its feet, alive, on foot.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

boolean