Interface IHealable
Interface for entities that can be healed by a character or other source. Implement this to allow objects to receive healing.
public interface IHealable
Methods
Heal(ICharacter, int, bool, bool)
Applies healing to the entity.
int Heal(ICharacter healer, int amount, bool ignoreAchievements = false, bool periodic = false)
Parameters
healerICharacterThe character performing the healing.
amountintThe amount of healing to apply.
ignoreAchievementsboolIf true, achievement progress is not affected by this healing event.
periodicboolTrue for a heal-over-time tick. Reported as
CombatEventKind.PeriodicHealso it pairs separately from direct heals — seeIDamageable.Damage's periodic remarks.
Returns
- int
The amount the server would report for this heal — the requested amount when it had any effect, zero when it had none (dead target, empty amount, or the resource was already full). Matches the combat-event amount so a predicted label paired against the report is the same number.