Table of Contents

Namespace ElectricDrill.AstraHealth.Experience.Strategies

Classes

DamageSourceKillExpStrategySO

Experience collection strategy that grants experience when the damage source matches a configured source. Useful for environmental damage, traps, or any other specific damage source scenarios. For example: create an "Environmental" DamageSource and assign it to grant XP when enemies die from fall damage.

DirectKillExpStrategySO

Experience collection strategy that grants experience when the collector is the dealer of the killing blow. This is the default behavior - only the entity that dealt the final damage receives experience.

FirstMatchExpStrategySO

Composite experience collection strategy that evaluates a list of strategies in order. Delegates to the first strategy that successfully collects experience. Useful for implementing fallback behavior (e.g., try direct kill first, then environmental).