restoreToFull
此内容尚不支持你的语言。
restoreToFull(
world,entity):void
Defined in: gameplay/Health.ts:92
Put an entity back to full. The other half of this seam: a respawn restores what a blow took, and neither reaches into the field itself.
max is the whole policy — there is no second notion of “full” to invent, and
a caller that wants some other number wants a rule this seam does not have.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”void