Class: Heal

Heal()

new Heal()

Source:

Methods

CanHeal(target) → {boolean}

Whether this entity can heal the target.
Parameters:
Name Type Description
target number The target's entity ID.
Source:
Returns:
- Whether the target can be healed.
Type
boolean

IsTargetInRange(target) → {boolean}

Parameters:
Name Type Description
target number The entity ID of the target to check.
Source:
Returns:
- Whether this entity is in range of its target.
Type
boolean

PerformHeal(data, lateness)

Heal our target entity.
Parameters:
Name Type Description
data Unused.
lateness number The offset of the actual call and when it was expected.
Source:

StartHealing(target, callerIID) → {boolean}

Parameters:
Name Type Description
target number The target to heal.
callerIID number The IID to notify on specific events.
Source:
Returns:
- Whether we started healing.
Type
boolean

StopHealing(reason)

Parameters:
Name Type Description
reason string The reason why we stopped healing.
Source: