EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

heal

Restore positive HP to a living actor, capped at max_health. Does not revive.

Signature

{ amount: PositiveHitPoints, kind: "heal", target: ActorRef }

Fields

NameTypeMeaning
amountPositiveHitPointsPositive health restored, in whole hit points.
Range: 1…2147483647; Unit: hp
kind"heal"Discriminant
targetActorRefActor instance selected by the item-use target contract.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "amount": 25,
  "kind": "heal",
  "target": "a1"
}