Skip to main content

PoisonEffect

A class in Root.Township, Alta.Alchemy.

Effect that poisons the target over time. Only applies to targets with health.

Constructors​

MemberWhat it is
PoisonEffect()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Methods​

MemberWhat it is
override void CheckApply(EffectHandler target, float strength)Applies only if the target has a Health.
protected override void Apply(EffectHandler target, float strength)Calls the target's PoisonOverTime with the strength.