@cccode/fxr - v22.0.0

    Class RandomFractionModifier<T>

    Makes a property's value randomly vary by up to a given maximum fraction from the property's base value. In other words, if p is the property's base value and max is the maximum fraction, the property's modified value will be between p - p * max and p + p * max.

    Type Parameters

    Implements

    Index

    Constructors

    Properties

    seed: TypeMap.PropertyValue[T] = ...
    type: ModifierType = ModifierType.RandomFraction
    valueType: T

    Methods

    MMNEPVFCICPMFPCPTTAAATR