---
updatedAt: 2026-09-01T16:18:40.000Z
---

Fetch the complete documentation index at: https://developers.wabbit.gg/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Modify HP

# Modify HP

Adjust or restore a user's health

## Fields

| Field               | Type                                    | Required | Description                                                    |
| ------------------- | --------------------------------------- | -------- | -------------------------------------------------------------- |
| `operation`         | enum: add \| subtract \| set \| restore | yes      | restore sets HP to the guild's default HP and needs no amount. |
| `amount`            | number (as string) or { path }          | no       | Required unless operation is 'restore'. Capped at 1,000,000.   |
| `triggerComaIfZero` | boolean                                 | no       | Defaults to true; fires the coma flow if HP would hit 0.       |
| `targetUserId`      | string or { path }                      | no       | Cross-user write target.                                       |

## Example

```json
{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "modify_hp",
  "operation": "add",
  "amount": "10",
  "triggerComaIfZero": true
}
```