Skip to content

expireStatModifiers

expireStatModifiers(world, deltaSeconds): void

Defined in: packages/engine/src/gameplay/stats/stats.ts:111

Counts down each timed modifier and drops it the step its seconds run out. Within half a step, as the round’s clock, so a modifier of one second lasts sixty steps and not sixty-one. Server: a replica, a client’s world fed from a room, leaves expiry to the room.

Parameter Type
world World
deltaSeconds number

void