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
preHealContextPreHealContextThe 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
withHpPercentPercentageThe 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
withHplongThe base HP amount to restore on resurrection (before heal modifiers).