Namespace ElectricDrill.AstraHealth.Events.Contexts
Classes
- HealthRatioChangedContext
Fired whenever the HP/MaxHP ratio changes — either because HP changed (AddHealth/RemoveHealth) or because MaxHP changed (RecalculateMaxHp). Provides a single reliable signal for HP-ratio-based conditions. Implements ElectricDrill.AstraRpgFramework.Contexts.IHasValueChange<T> for int where Previous/NewValue are HP percentages (0–100).
- ResurrectionContext
Contains information about an entity resurrection event. All heal-related details (target, source, healer, amounts) are accessible via ReceivedHeal, which is the result of the internal Heal(PreHealContext) call performed during resurrection.