EffectHandler.EffectOverTimeData
A class in Root.Township, Alta.Alchemy.
One queued effect-over-time entry on an EffectHandler: total strength, duration in seconds and the callback that applies each tick.
Constructors
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|
int Duration { get; private set; } | Number of one-second ticks. Strength is split evenly across them. |
float Strength { get; private set; } | Total amount applied over the whole duration. |
Methods
1 private and internal method
| Member | What it is |
|---|
internal void HandleUpdate(EffectHandler effectHandler, float healthPerTime) | Runs the callback for one tick with the handler, the effect and that tick's share of strength. |
Used in
Members of other types that take, return or hold a EffectOverTimeData: