apply_hp_change
Apply damage or healing to a combatant's hit points, accounting for temporary HP and maximum, and mark them down at zero. Returns new HP and status.
Instructions
改某 combatant 的 HP(delta<0 伤害:临时HP先抵、夹到0;delta>0 治疗:不超 max)。 到 0 标 status=down。返回新 hp + status。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | Yes | ||
| variant | No | main | |
| campaign | Yes | ||
| encounter | Yes | ||
| combatant_id | Yes |