SetAHP
Sets the amount of AHP for players.
Syntaxโ
SetAHP @players amount limit? decay? efficacy? sustain? isPersistent?
Argumentsโ
| Name | Required | Type | Description |
|---|---|---|---|
players | Yes | Player variable (e.g. @all, @classDPlayers) | |
amount | Yes | Any number | Adds this much AHP. Use a negative amount to remove AHP. |
limit | No | A number bigger or equal 0 | The upper limit of AHP. |
decay | No | Any number | AHP lost per second. Use a negative number to regenerate AHP. |
efficacy | No | A number between 0% and 100% (inclusive) | The percent of incoming damage absorbed by AHP. |
sustain | No | Duration in format #ms, #s, #m, #h (e.g. 5s or 2m) | The amount of time before the AHP begins to decay. |
isPersistent | No | bool (true or false) value | Whether or not the AHP process stays after AHP reaches 0. |
On a running serverโ
Use serhelp SetAHP to inspect the reference generated by your installed SER version.