EnvironmentalEffect<T>
An abstract class in Root.Township, Alta.Alchemy.
Legacy duration effect that does not stack: extra copies join a shared list and the effect only finishes when the last copy stops. Not used by the current effect system.
- Listed in Stats, effects, heat and liquid
- Inherits or implements
DurationEffect<T>
Constructors
| Member | What it is |
|---|---|
EnvironmentalEffect() | Creates an EnvironmentalEffect with default values. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
override void Apply(EffectHandler handler) | Stores the handler and adds this effect to its applying list. |
override bool CheckStackAllowed(T newEffect) | Adds the new copy to the applying list and refuses to stack it as its own effect. |
override void Stop() | Hands the list over to the next copy if there is one, otherwise calls Finished. |
protected virtual void Finished() | Called when the last copy stops. Empty here; subclasses put clean-up in it. |