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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
name |
string |
base |
number |
Returns
Section titled “Returns”void