restoreStats
restoreStats(
writer,entity,saved):void
Lays a save’s stats on the entity: each stat’s base where the save
holds one, and its modifiers in place of the ones it has, but for the
ones added with saved: false, which stay. Its bounds, and every stat
the save does not name, stay as declared.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority |
entity |
Entity |
saved |
SavedStats |
Returns
Section titled “Returns”void