StatModifier

TOCK by NullSave\Stats Cog\Scripts\Support\StatModifier.cs

Description

Stored as a collection by StatEffects, modifiers set individual modifications to a StatValue.

Properties

affectedStatGets/Sets name of StatValue to affect
AppliedValueGets calculated value to apply
effectTypeGets/Sets type of effect to use
InitializedReturns true when initialized
valueGets/Sets value for modifier
valueTargetGets/Sets target value to change
valueTypeGets/Sets type of value change to use

Methods

CloneCreates a copy of the modifier
InitializeInitializes the modifier
LoadLoad data from a stream
SaveSave data to a stream