Table of Contents

Interface IResurrectable

Namespace
ElectricDrill.AstraHealth.Resurrection
Assembly
com.electricdrill.astra-health.Runtime.dll
public interface IResurrectable

Methods

Resurrect(PreHealContext)

Resurrects the entity using the provided PreHealContext. All heal modifiers (generic and HealSourceSO-specific) defined in the context are applied.

void Resurrect(PreHealContext preHealContext)

Parameters

preHealContext PreHealContext

The pre-heal context describing amount, source and healer for the resurrection heal.

Resurrect(Percentage)

Convenience overload. Resurrects the entity with a percentage of its maximum HP using the default resurrection source from config and no healer entity.

void Resurrect(Percentage withHpPercent)

Parameters

withHpPercent Percentage

The percentage of maximum HP to restore on resurrection (before heal modifiers).

Resurrect(long)

Convenience overload. Resurrects the entity with a base amount of HP using the default resurrection source from config and no healer entity.

void Resurrect(long withHp)

Parameters

withHp long

The base HP amount to restore on resurrection (before heal modifiers).