restoreStats
restoreStats(
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. Its bounds, and every stat the save does not name, stay as declared.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
saved |
SavedStats |
Returns
Section titled “Returns”void