Skip to content

setStatBase

setStatBase(entity, name, base): void

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

Sets a stat’s base, keeping its bounds and modifiers. A stat it has not declared starts here, unbounded.

Parameter Type
entity Entity
name string
base number

void