Methods
CanHeal(target) → {boolean}
Whether this entity can heal the target.
Parameters:
Name | Type | Description |
---|---|---|
target |
number | The target's entity ID. |
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. |
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. |
StartHealing(target, callerIID) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
number | The target to heal. |
callerIID |
number | The IID to notify on specific events. |
Returns:
- Whether we started healing.
- Type
- boolean
StopHealing(reason)
Parameters:
Name | Type | Description |
---|---|---|
reason |
string | The reason why we stopped healing. |