The documentation for AACS and the CodeEditor.
Increases the amount of health.
Name | Type | Description | Required | Default Value |
---|---|---|---|---|
Amount | Number | The amount of health to add. | ✓ | - |
1: IncreaseHealth:[20];
2: Heal:[50];
The maximum amount of health is 100. The health bar will automatically be displayed when the health is changed, provided it wasn’t already displayed.
Should the health fall to 0 or below, a the Frame with the ID GameOver
will be called, should it exist. Afterwards, the game will end.