Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Routine: Heal

ricochet1k edited this page Jul 1, 2012 · 6 revisions

Syntax: {entity}effect.heal

Description: Heals the specified entity by the amount calculated inside. This routine is used only as a temporary fix for issue #138, as there is no clean way to override max entity health at time of writing.

Example:

Damage:
    - 'if attacker.group.WhiteMage and attacker.wielding.BOOK':
        - 'targeteffect.heal': '1'
        - '0' # Set damage to 0.

See also: Entity Type, Group

Clone this wiki locally