Enum ChanceFunction
Determines how effect chance will function. OnCast: is checked at cast time by EntityEffectManager receiving effect - effect is rejected on failure. Custom: is always allowed by EntityEffectManager, but still generates ChanceSuccess flag on Start(). This allows custom chance handling elsewhere by either by the effect itself or elsewhere in effect back-end. A Custom chance effect can then decide to check for ChanceSuccess at any time, even do something else entirely.
Namespace: DaggerfallWorkshop.Game.MagicAndEffects
Assembly: Assembly-CSharp.dll
Syntax
public enum ChanceFunction
Fields
Name | Description |
---|---|
Custom | |
OnCast |