heal
Restore HP to an adjacent damaged allied unit using a healer unit. The healer must be READY or MOVED and becomes DONE after healing. Healing amount scales with the healer's magic stat. Returns amount healed and target's updated HP.
Instructions
Mutating. Heal an adjacent allied unit. Only units with the heal ability (typically Mages) can use this. healer_id is your healing unit (must be READY or MOVED); target_id is an adjacent allied unit that is damaged. Restores HP based on the healer's magic stat. After healing, the healer's status becomes DONE for this turn. Use get_legal_actions on the healer to see which allies are valid heal targets. Returns the amount healed and the target's updated HP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| healer_id | Yes | ||
| target_id | Yes |